Aracılığıyla paylaş


GroupQuotaLimit Class

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

Implements

public final class GroupQuotaLimit
implements JsonSerializable<GroupQuotaLimit>

Group Quota limit.

Constructor Summary

Constructor Description
GroupQuotaLimit()

Creates an instance of GroupQuotaLimit class.

Method Summary

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

Reads an instance of GroupQuotaLimit from the JsonReader.

GroupQuotaLimitProperties properties()

Get the properties property: Group Quota properties for the specified resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GroupQuotaLimit withProperties(GroupQuotaLimitProperties properties)

Set the properties property: Group Quota properties for the specified resource.

Methods inherited from java.lang.Object

Constructor Details

GroupQuotaLimit

public GroupQuotaLimit()

Creates an instance of GroupQuotaLimit class.

Method Details

fromJson

public static GroupQuotaLimit fromJson(JsonReader jsonReader)

Reads an instance of GroupQuotaLimit from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

properties

public GroupQuotaLimitProperties properties()

Get the properties property: Group Quota properties for the specified resource.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withProperties

public GroupQuotaLimit withProperties(GroupQuotaLimitProperties properties)

Set the properties property: Group Quota properties for the specified resource.

Parameters:

properties - the properties value to set.

Returns:

the GroupQuotaLimit object itself.

Applies to