Dela via


RankingsResponseTablesPropertiesItemsItem Class

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

Implements

public final class RankingsResponseTablesPropertiesItemsItem
implements JsonSerializable<RankingsResponseTablesPropertiesItemsItem>

The RankingsResponseTablesPropertiesItemsItem model.

Constructor Summary

Constructor Description
RankingsResponseTablesPropertiesItemsItem()

Creates an instance of RankingsResponseTablesPropertiesItemsItem class.

Method Summary

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

Reads an instance of RankingsResponseTablesPropertiesItemsItem from the JsonReader.

List<RankingsResponseTablesPropertiesItemsMetricsItem> metrics()

Get the metrics property: The metrics property.

String name()

Get the name property: The name property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RankingsResponseTablesPropertiesItemsItem withMetrics(List<RankingsResponseTablesPropertiesItemsMetricsItem> metrics)

Set the metrics property: The metrics property.

RankingsResponseTablesPropertiesItemsItem withName(String name)

Set the name property: The name property.

Methods inherited from java.lang.Object

Constructor Details

RankingsResponseTablesPropertiesItemsItem

public RankingsResponseTablesPropertiesItemsItem()

Creates an instance of RankingsResponseTablesPropertiesItemsItem class.

Method Details

fromJson

public static RankingsResponseTablesPropertiesItemsItem fromJson(JsonReader jsonReader)

Reads an instance of RankingsResponseTablesPropertiesItemsItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

metrics

public List metrics()

Get the metrics property: The metrics property.

Returns:

the metrics value.

name

public String name()

Get the name property: The name property.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withMetrics

public RankingsResponseTablesPropertiesItemsItem withMetrics(List metrics)

Set the metrics property: The metrics property.

Parameters:

metrics - the metrics value to set.

Returns:

the RankingsResponseTablesPropertiesItemsItem object itself.

withName

public RankingsResponseTablesPropertiesItemsItem withName(String name)

Set the name property: The name property.

Parameters:

name - the name value to set.

Returns:

the RankingsResponseTablesPropertiesItemsItem object itself.

Applies to