RankingsResponseTablesPropertiesItemsMetricsItem Class

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

Implements

public final class RankingsResponseTablesPropertiesItemsMetricsItem
implements JsonSerializable<RankingsResponseTablesPropertiesItemsMetricsItem>

The RankingsResponseTablesPropertiesItemsMetricsItem model.

Method Summary

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

Reads an instance of RankingsResponseTablesPropertiesItemsMetricsItem from the JsonReader.

String metric()

Get the metric property: The metric property.

Float percentage()

Get the percentage property: The percentage property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Long value()

Get the value property: The value property.

Methods inherited from java.lang.Object

Method Details

fromJson

public static RankingsResponseTablesPropertiesItemsMetricsItem fromJson(JsonReader jsonReader)

Reads an instance of RankingsResponseTablesPropertiesItemsMetricsItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

metric

public String metric()

Get the metric property: The metric property.

Returns:

the metric value.

percentage

public Float percentage()

Get the percentage property: The percentage property.

Returns:

the percentage value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public Long value()

Get the value property: The value property.

Returns:

the value value.

Applies to