Table of Contents

Class ServiceInstanceUpdateRequest

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

Properties

Context

Contextual data under which the Service Instance is created.

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

Property Value

JObject

PlanId

If present, MUST be the ID of a Plan from the service that has been requested. If this field is not present in the request message, then the Service Broker MUST NOT change the plan of the instance as a result of this request.

[JsonProperty("plan_id")]
public override string PlanId { get; set; }

Property Value

string

PreviousValues

Information about the Service Instance prior to the update.

[JsonProperty("previous_values")]
public ServiceInstancePreviousValues PreviousValues { get; set; }

Property Value

ServiceInstancePreviousValues

Methods

Equals(ServiceInstanceUpdateRequest)

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

public bool Equals(ServiceInstanceUpdateRequest other)

Parameters

other ServiceInstanceUpdateRequest

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.