Aracılığıyla paylaş


LimitJsonObject Class

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

Implements

public class LimitJsonObject
implements JsonSerializable<LimitJsonObject>

LimitJson abstract class.

Constructor Summary

Constructor Description
LimitJsonObject()

Creates an instance of LimitJsonObject class.

Method Summary

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

Reads an instance of LimitJsonObject from the JsonReader.

LimitType limitObjectType()

Get the limitObjectType property: The limit object type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

LimitJsonObject

public LimitJsonObject()

Creates an instance of LimitJsonObject class.

Method Details

fromJson

public static LimitJsonObject fromJson(JsonReader jsonReader)

Reads an instance of LimitJsonObject from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

limitObjectType

public LimitType limitObjectType()

Get the limitObjectType property: The limit object type.

Returns:

the limitObjectType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to