Dela via


ContinentsResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.fluent.models.ContinentsResponseInner

Implements

public final class ContinentsResponseInner
implements JsonSerializable<ContinentsResponseInner>

Continents Response.

Constructor Summary

Constructor Description
ContinentsResponseInner()

Creates an instance of ContinentsResponseInner class.

Method Summary

Modifier and Type Method and Description
List<ContinentsResponseContinentsItem> continents()

Get the continents property: The continents property.

List<ContinentsResponseCountryOrRegionsItem> countryOrRegions()

Get the countryOrRegions property: The countryOrRegions property.

static ContinentsResponseInner fromJson(JsonReader jsonReader)

Reads an instance of ContinentsResponseInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ContinentsResponseInner withContinents(List<ContinentsResponseContinentsItem> continents)

Set the continents property: The continents property.

ContinentsResponseInner withCountryOrRegions(List<ContinentsResponseCountryOrRegionsItem> countryOrRegions)

Set the countryOrRegions property: The countryOrRegions property.

Methods inherited from java.lang.Object

Constructor Details

ContinentsResponseInner

public ContinentsResponseInner()

Creates an instance of ContinentsResponseInner class.

Method Details

continents

public List continents()

Get the continents property: The continents property.

Returns:

the continents value.

countryOrRegions

public List countryOrRegions()

Get the countryOrRegions property: The countryOrRegions property.

Returns:

the countryOrRegions value.

fromJson

public static ContinentsResponseInner fromJson(JsonReader jsonReader)

Reads an instance of ContinentsResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withContinents

public ContinentsResponseInner withContinents(List continents)

Set the continents property: The continents property.

Parameters:

continents - the continents value to set.

Returns:

the ContinentsResponseInner object itself.

withCountryOrRegions

public ContinentsResponseInner withCountryOrRegions(List countryOrRegions)

Set the countryOrRegions property: The countryOrRegions property.

Parameters:

countryOrRegions - the countryOrRegions value to set.

Returns:

the ContinentsResponseInner object itself.

Applies to