SqlDatabaseListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.models.SqlDatabaseListResult

Implements

public final class SqlDatabaseListResult
implements JsonSerializable<SqlDatabaseListResult>

The List operation response, that contains the SQL databases and their properties.

Constructor Summary

Constructor Description
SqlDatabaseListResult()

Creates an instance of SqlDatabaseListResult class.

Method Summary

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

Reads an instance of SqlDatabaseListResult from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SqlDatabaseGetResultsInner> value()

Get the value property: List of SQL databases and their properties.

Methods inherited from java.lang.Object

Constructor Details

SqlDatabaseListResult

public SqlDatabaseListResult()

Creates an instance of SqlDatabaseListResult class.

Method Details

fromJson

public static SqlDatabaseListResult fromJson(JsonReader jsonReader)

Reads an instance of SqlDatabaseListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<SqlDatabaseGetResultsInner> value()

Get the value property: List of SQL databases and their properties.

Returns:

the value value.

Applies to