GroupQuotaSubscriptionRequestStatusProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.quota.models.GroupQuotaSubscriptionRequestStatusProperties

Implements

public final class GroupQuotaSubscriptionRequestStatusProperties
implements JsonSerializable<GroupQuotaSubscriptionRequestStatusProperties>

The GroupQuotaSubscriptionRequestStatusProperties model.

Constructor Summary

Constructor Description
GroupQuotaSubscriptionRequestStatusProperties()

Creates an instance of GroupQuotaSubscriptionRequestStatusProperties class.

Method Summary

Modifier and Type Method and Description
static GroupQuotaSubscriptionRequestStatusProperties fromJson(JsonReader jsonReader)

Reads an instance of GroupQuotaSubscriptionRequestStatusProperties from the JsonReader.

RequestState provisioningState()

Get the provisioningState property: Status of this subscriptionId being associated with the GroupQuotasEntity.

OffsetDateTime requestSubmitTime()

Get the requestSubmitTime property: The request submission time.

String subscriptionId()

Get the subscriptionId property: The subscription Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GroupQuotaSubscriptionRequestStatusProperties withRequestSubmitTime(OffsetDateTime requestSubmitTime)

Set the requestSubmitTime property: The request submission time.

GroupQuotaSubscriptionRequestStatusProperties withSubscriptionId(String subscriptionId)

Set the subscriptionId property: The subscription Id.

Methods inherited from java.lang.Object

Constructor Details

GroupQuotaSubscriptionRequestStatusProperties

public GroupQuotaSubscriptionRequestStatusProperties()

Creates an instance of GroupQuotaSubscriptionRequestStatusProperties class.

Method Details

fromJson

public static GroupQuotaSubscriptionRequestStatusProperties fromJson(JsonReader jsonReader)

Reads an instance of GroupQuotaSubscriptionRequestStatusProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GroupQuotaSubscriptionRequestStatusProperties 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 GroupQuotaSubscriptionRequestStatusProperties.

provisioningState

public RequestState provisioningState()

Get the provisioningState property: Status of this subscriptionId being associated with the GroupQuotasEntity.

Returns:

the provisioningState value.

requestSubmitTime

public OffsetDateTime requestSubmitTime()

Get the requestSubmitTime property: The request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ.

Returns:

the requestSubmitTime value.

subscriptionId

public String subscriptionId()

Get the subscriptionId property: The subscription Id.

Returns:

the subscriptionId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRequestSubmitTime

public GroupQuotaSubscriptionRequestStatusProperties withRequestSubmitTime(OffsetDateTime requestSubmitTime)

Set the requestSubmitTime property: The request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ.

Parameters:

requestSubmitTime - the requestSubmitTime value to set.

Returns:

the GroupQuotaSubscriptionRequestStatusProperties object itself.

withSubscriptionId

public GroupQuotaSubscriptionRequestStatusProperties withSubscriptionId(String subscriptionId)

Set the subscriptionId property: The subscription Id.

Parameters:

subscriptionId - the subscriptionId value to set.

Returns:

the GroupQuotaSubscriptionRequestStatusProperties object itself.

Applies to