ServiceObjectiveListResult Class

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

Implements

public final class ServiceObjectiveListResult
implements JsonSerializable<ServiceObjectiveListResult>

Represents the response to a get database service objectives request.

Constructor Summary

Constructor Description
ServiceObjectiveListResult()

Creates an instance of ServiceObjectiveListResult class.

Method Summary

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

Reads an instance of ServiceObjectiveListResult from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ServiceObjectiveInner> value()

Get the value property: The list of database service objectives.

ServiceObjectiveListResult withValue(List<ServiceObjectiveInner> value)

Set the value property: The list of database service objectives.

Methods inherited from java.lang.Object

Constructor Details

ServiceObjectiveListResult

public ServiceObjectiveListResult()

Creates an instance of ServiceObjectiveListResult class.

Method Details

fromJson

public static ServiceObjectiveListResult fromJson(JsonReader jsonReader)

Reads an instance of ServiceObjectiveListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServiceObjectiveListResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<ServiceObjectiveInner> value()

Get the value property: The list of database service objectives.

Returns:

the value value.

withValue

public ServiceObjectiveListResult withValue(List<ServiceObjectiveInner> value)

Set the value property: The list of database service objectives.

Parameters:

value - the value value to set.

Returns:

the ServiceObjectiveListResult object itself.

Applies to