Table of Contents

Class StatusBase

Namespace
OpenServiceBroker.Errors
Assembly
OpenServiceBroker.Model.dll
public abstract class StatusBase
Inheritance
StatusBase
Derived
Inherited Members
Extension Methods

Properties

Description

A user-facing error message explaining why the request failed. If present, MUST be a non-empty string.

[JsonProperty("description")]
public string Description { get; set; }

Property Value

string

InstanceUsable

If an update or deprovisioning operation failed, this flag indicates whether or not the Service Instance is still usable. If true, the Service Instance can still be used, false otherwise. This field MUST NOT be present for errors of other operations. Defaults to true.

[JsonProperty("instance_usable", NullValueHandling = NullValueHandling.Ignore)]
public bool? InstanceUsable { get; set; }

Property Value

bool?

UpdateRepeatable

If an update operation failed, this flag indicates whether this update can be repeated or not. If true, the same update operation MAY be repeated and MAY succeed; if false, repeating the same update operation will fail again. This field MUST NOT be present for errors of other operations. Defaults to true.

[JsonProperty("update_repeatable", NullValueHandling = NullValueHandling.Ignore)]
public bool? UpdateRepeatable { get; set; }

Property Value

bool?

Methods

Equals(StatusBase)

protected bool Equals(StatusBase other)

Parameters

other StatusBase

Returns

bool

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.