次の方法で共有


LocationListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.subscription.models.LocationListResult

Implements

public final class LocationListResult
implements JsonSerializable<LocationListResult>

Location list operation response.

Constructor Summary

Constructor Description
LocationListResult()

Creates an instance of LocationListResult class.

Method Summary

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

Reads an instance of LocationListResult from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<LocationInner> value()

Get the value property: An array of locations.

LocationListResult withValue(List<LocationInner> value)

Set the value property: An array of locations.

Methods inherited from java.lang.Object

Constructor Details

LocationListResult

public LocationListResult()

Creates an instance of LocationListResult class.

Method Details

fromJson

public static LocationListResult fromJson(JsonReader jsonReader)

Reads an instance of LocationListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<LocationInner> value()

Get the value property: An array of locations.

Returns:

the value value.

withValue

public LocationListResult withValue(List<LocationInner> value)

Set the value property: An array of locations.

Parameters:

value - the value value to set.

Returns:

the LocationListResult object itself.

Applies to