AvailableProvidersListState Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.AvailableProvidersListState

Implements

public final class AvailableProvidersListState
implements JsonSerializable<AvailableProvidersListState>

State details.

Method Summary

Modifier and Type Method and Description
List<AvailableProvidersListCity> cities()

Get the cities property: List of available cities or towns in the state.

static AvailableProvidersListState fromJson(JsonReader jsonReader)

Reads an instance of AvailableProvidersListState from the JsonReader.

List<String> providers()

Get the providers property: A list of Internet service providers.

String stateName()

Get the stateName property: The state name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

cities

public List<AvailableProvidersListCity> cities()

Get the cities property: List of available cities or towns in the state.

Returns:

the cities value.

fromJson

public static AvailableProvidersListState fromJson(JsonReader jsonReader)

Reads an instance of AvailableProvidersListState from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

providers

public List<String> providers()

Get the providers property: A list of Internet service providers.

Returns:

the providers value.

stateName

public String stateName()

Get the stateName property: The state name.

Returns:

the stateName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to