AvailabilityInformation Class

  • java.lang.Object
    • com.azure.resourcemanager.edgeorder.models.AvailabilityInformation

Implements

public final class AvailabilityInformation
implements JsonSerializable<AvailabilityInformation>

Availability information of a product system.

Constructor Summary

Constructor Description
AvailabilityInformation()

Creates an instance of AvailabilityInformation class.

Method Summary

Modifier and Type Method and Description
AvailabilityStage availabilityStage()

Get the availabilityStage property: Current availability stage of the product.

DisabledReason disabledReason()

Get the disabledReason property: Reason why the product is disabled.

String disabledReasonMessage()

Get the disabledReasonMessage property: Message for why the product is disabled.

static AvailabilityInformation fromJson(JsonReader jsonReader)

Reads an instance of AvailabilityInformation from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AvailabilityInformation

public AvailabilityInformation()

Creates an instance of AvailabilityInformation class.

Method Details

availabilityStage

public AvailabilityStage availabilityStage()

Get the availabilityStage property: Current availability stage of the product. Availability stage.

Returns:

the availabilityStage value.

disabledReason

public DisabledReason disabledReason()

Get the disabledReason property: Reason why the product is disabled.

Returns:

the disabledReason value.

disabledReasonMessage

public String disabledReasonMessage()

Get the disabledReasonMessage property: Message for why the product is disabled.

Returns:

the disabledReasonMessage value.

fromJson

public static AvailabilityInformation fromJson(JsonReader jsonReader)

Reads an instance of AvailabilityInformation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AvailabilityInformation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AvailabilityInformation.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to