مشاركة عبر


DatabaseUsageListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.DatabaseUsageListResult

Implements

public final class DatabaseUsageListResult
implements JsonSerializable<DatabaseUsageListResult>

A list of database usage metrics.

Constructor Summary

Constructor Description
DatabaseUsageListResult()

Creates an instance of DatabaseUsageListResult class.

Method Summary

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

Reads an instance of DatabaseUsageListResult from the JsonReader.

String nextLink()

Get the nextLink property: Link to retrieve next page of results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<DatabaseUsageInner> value()

Get the value property: Array of results.

Methods inherited from java.lang.Object

Constructor Details

DatabaseUsageListResult

public DatabaseUsageListResult()

Creates an instance of DatabaseUsageListResult class.

Method Details

fromJson

public static DatabaseUsageListResult fromJson(JsonReader jsonReader)

Reads an instance of DatabaseUsageListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Link to retrieve next page of results.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<DatabaseUsageInner> value()

Get the value property: Array of results.

Returns:

the value value.

Applies to