Class ServiceInstanceMetadata
- Namespace
- OpenServiceBroker.Instances
- Assembly
- OpenServiceBroker.Model.dll
Metadata for a Service Instance.
public class ServiceInstanceMetadata : IEquatable<ServiceInstanceMetadata>
- Inheritance
-
objectServiceInstanceMetadata
- Implements
- Extension Methods
Properties
Attributes
Broker specific key-value pairs generated by the Service Broker that MAY imply behaviour changes by the Platform. The Platform SHOULD ignore attributes that it does not support.
[JsonProperty("attributes", NullValueHandling = NullValueHandling.Ignore)]
public JObject Attributes { get; set; }
Property Value
- JObject
Labels
Broker specified key-value pairs specifying attributes of Service Instances that are meaningful and relevant to Platform users, but do not directly imply behaviour changes by the Platform.
[JsonProperty("labels", NullValueHandling = NullValueHandling.Ignore)]
public JObject Labels { get; set; }
Property Value
- JObject
Methods
Equals(ServiceInstanceMetadata)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ServiceInstanceMetadata other)
Parameters
otherServiceInstanceMetadataAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.