UsageListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.UsageListResult

Implements

public final class UsageListResult
implements JsonSerializable<UsageListResult>

The response containing the usage data.

Constructor Summary

Constructor Description
UsageListResult()

Creates an instance of UsageListResult class.

Method Summary

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

Reads an instance of UsageListResult from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<UsageInner> value()

Get the value property: The usage data.

Methods inherited from java.lang.Object

Constructor Details

UsageListResult

public UsageListResult()

Creates an instance of UsageListResult class.

Method Details

fromJson

public static UsageListResult fromJson(JsonReader jsonReader)

Reads an instance of UsageListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: The usage data.

Returns:

the value value.

Applies to

Azure SDK for Java

Latest