public final class RankingsResponseTablesPropertiesItemsMetricsItem extends Object
| Constructor and Description |
|---|
RankingsResponseTablesPropertiesItemsMetricsItem() |
| Modifier and Type | Method and Description |
|---|---|
String |
metric()
Get the metric property: The metric property.
|
Float |
percentage()
Get the percentage property: The percentage property.
|
void |
validate()
Validates the instance.
|
Long |
value()
Get the value property: The value property.
|
RankingsResponseTablesPropertiesItemsMetricsItem |
withMetric(String metric)
Set the metric property: The metric property.
|
RankingsResponseTablesPropertiesItemsMetricsItem |
withPercentage(Float percentage)
Set the percentage property: The percentage property.
|
RankingsResponseTablesPropertiesItemsMetricsItem |
withValue(Long value)
Set the value property: The value property.
|
public RankingsResponseTablesPropertiesItemsMetricsItem()
public String metric()
public RankingsResponseTablesPropertiesItemsMetricsItem withMetric(String metric)
metric - the metric value to set.public Long value()
public RankingsResponseTablesPropertiesItemsMetricsItem withValue(Long value)
value - the value value to set.public Float percentage()
public RankingsResponseTablesPropertiesItemsMetricsItem withPercentage(Float percentage)
percentage - the percentage value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.