Dela via


RankingsResponseTablesItem Class

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

Implements

public final class RankingsResponseTablesItem
implements JsonSerializable<RankingsResponseTablesItem>

The RankingsResponseTablesItem model.

Constructor Summary

Constructor Description
RankingsResponseTablesItem()

Creates an instance of RankingsResponseTablesItem class.

Method Summary

Modifier and Type Method and Description
List<RankingsResponseTablesPropertiesItemsItem> data()

Get the data property: The data property.

static RankingsResponseTablesItem fromJson(JsonReader jsonReader)

Reads an instance of RankingsResponseTablesItem from the JsonReader.

String ranking()

Get the ranking property: The ranking property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RankingsResponseTablesItem withData(List<RankingsResponseTablesPropertiesItemsItem> data)

Set the data property: The data property.

RankingsResponseTablesItem withRanking(String ranking)

Set the ranking property: The ranking property.

Methods inherited from java.lang.Object

Constructor Details

RankingsResponseTablesItem

public RankingsResponseTablesItem()

Creates an instance of RankingsResponseTablesItem class.

Method Details

data

public List data()

Get the data property: The data property.

Returns:

the data value.

fromJson

public static RankingsResponseTablesItem fromJson(JsonReader jsonReader)

Reads an instance of RankingsResponseTablesItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ranking

public String ranking()

Get the ranking property: The ranking property.

Returns:

the ranking value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withData

public RankingsResponseTablesItem withData(List data)

Set the data property: The data property.

Parameters:

data - the data value to set.

Returns:

the RankingsResponseTablesItem object itself.

withRanking

public RankingsResponseTablesItem withRanking(String ranking)

Set the ranking property: The ranking property.

Parameters:

ranking - the ranking value to set.

Returns:

the RankingsResponseTablesItem object itself.

Applies to