Table of Contents

Class ServiceBindingRequest

Namespace
OpenServiceBroker.Bindings
Assembly
OpenServiceBroker.Model.dll
public class ServiceBindingRequest : IServicePlanReference, IEquatable<ServiceBindingRequest>
Inheritance
ServiceBindingRequest
Implements
Inherited Members
Extension Methods

Properties

AppGuid

GUID of an application associated with the binding to be created. If present, MUST be a non-empty string.

[JsonProperty("app_guid")]
[Obsolete("Deprecated in favor of BindResource.AppGuid")]
public string AppGuid { get; set; }

Property Value

string

BindResource

An object that contains data for Platform resources associated with the binding to be created.

[JsonProperty("bind_resource")]
public ServiceBindingResourceObject BindResource { get; set; }

Property Value

ServiceBindingResourceObject

Context

Contextual data under which the Service Binding is created.

[JsonProperty("context")]
public JObject Context { get; set; }

Property Value

JObject

Parameters

Configuration parameters for the Service Binding. Service Brokers SHOULD ensure that the client has provided valid configuration parameters and values for the operation.

[JsonProperty("parameters")]
public JObject Parameters { get; set; }

Property Value

JObject

PlanId

MUST be the ID of the plan from the service that is being used.

[JsonProperty("plan_id", Required = Required.Always)]
public string PlanId { get; set; }

Property Value

string

ServiceId

MUST be the ID of the service that is being used.

[JsonProperty("service_id", Required = Required.Always)]
public string ServiceId { get; set; }

Property Value

string

Methods

Equals(ServiceBindingRequest)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ServiceBindingRequest other)

Parameters

other ServiceBindingRequest

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.