AvailableProvidersListCountry Class

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

Implements

public final class AvailableProvidersListCountry
implements JsonSerializable<AvailableProvidersListCountry>

Country details.

Method Summary

Modifier and Type Method and Description
String countryName()

Get the countryName property: The country name.

static AvailableProvidersListCountry fromJson(JsonReader jsonReader)

Reads an instance of AvailableProvidersListCountry from the JsonReader.

List<String> providers()

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

List<AvailableProvidersListState> states()

Get the states property: List of available states in the country.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

countryName

public String countryName()

Get the countryName property: The country name.

Returns:

the countryName value.

fromJson

public static AvailableProvidersListCountry fromJson(JsonReader jsonReader)

Reads an instance of AvailableProvidersListCountry from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

providers

public List<String> providers()

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

Returns:

the providers value.

states

public List<AvailableProvidersListState> states()

Get the states property: List of available states in the country.

Returns:

the states value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to