AvailableProvidersListInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.AvailableProvidersListInner

Implements

public final class AvailableProvidersListInner
implements JsonSerializable<AvailableProvidersListInner>

List of available countries with details.

Constructor Summary

Constructor Description
AvailableProvidersListInner()

Creates an instance of AvailableProvidersListInner class.

Method Summary

Modifier and Type Method and Description
List<AvailableProvidersListCountry> countries()

Get the countries property: List of available countries.

static AvailableProvidersListInner fromJson(JsonReader jsonReader)

Reads an instance of AvailableProvidersListInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AvailableProvidersListInner withCountries(List<AvailableProvidersListCountry> countries)

Set the countries property: List of available countries.

Methods inherited from java.lang.Object

Constructor Details

AvailableProvidersListInner

public AvailableProvidersListInner()

Creates an instance of AvailableProvidersListInner class.

Method Details

countries

public List countries()

Get the countries property: List of available countries.

Returns:

the countries value.

fromJson

public static AvailableProvidersListInner fromJson(JsonReader jsonReader)

Reads an instance of AvailableProvidersListInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

withCountries

public AvailableProvidersListInner withCountries(List countries)

Set the countries property: List of available countries.

Parameters:

countries - the countries value to set.

Returns:

the AvailableProvidersListInner object itself.

Applies to