Table of Contents

Class MaintenanceInfo

Namespace
OpenServiceBroker
Assembly
OpenServiceBroker.Model.dll

This field can be used to ensure that the end-user of a Platform is provisioning what they are expecting since maintenance information can be used to describe important information (such as the version of the operating system the Service Instance will run on).

public class MaintenanceInfo : IEquatable<MaintenanceInfo>
Inheritance
MaintenanceInfo
Implements
Inherited Members
Extension Methods

Properties

Description

This SHOULD be a string describing the impact of the maintenance update, for example, important version changes, configuration changes, default value changes, etc. The Platform MAY present this information to the user before they trigger the maintenance update.

[JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)]
public string Description { get; set; }

Property Value

string

Version

This MUST be a string conforming to a semantic version 2.0. The Platform MAY use this field to determine whether a maintenance update is available for a Service Instance.

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

Property Value

string

Methods

Equals(MaintenanceInfo)

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

public bool Equals(MaintenanceInfo other)

Parameters

other MaintenanceInfo

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.