Dela via


ContinentsResponseContinentsItem Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.ContinentsResponseContinentsItem

Implements

public final class ContinentsResponseContinentsItem
implements JsonSerializable<ContinentsResponseContinentsItem>

The ContinentsResponseContinentsItem model.

Constructor Summary

Constructor Description
ContinentsResponseContinentsItem()

Creates an instance of ContinentsResponseContinentsItem class.

Method Summary

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

Reads an instance of ContinentsResponseContinentsItem from the JsonReader.

String id()

Get the id property: The id property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ContinentsResponseContinentsItem withId(String id)

Set the id property: The id property.

Methods inherited from java.lang.Object

Constructor Details

ContinentsResponseContinentsItem

public ContinentsResponseContinentsItem()

Creates an instance of ContinentsResponseContinentsItem class.

Method Details

fromJson

public static ContinentsResponseContinentsItem fromJson(JsonReader jsonReader)

Reads an instance of ContinentsResponseContinentsItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The id property.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public ContinentsResponseContinentsItem withId(String id)

Set the id property: The id property.

Parameters:

id - the id value to set.

Returns:

the ContinentsResponseContinentsItem object itself.

Applies to