Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.cdn;
import com.fasterxml.jackson.annotation.JsonProperty;
The RankingsResponseTablesItemDataItemMetricsItem model.
/**
* The RankingsResponseTablesItemDataItemMetricsItem model.
*/
public class RankingsResponseTablesItemDataItemMetricsItem {
The metric property.
/**
* The metric property.
*/
@JsonProperty(value = "metric")
private String metric;
The value property.
/**
* The value property.
*/
@JsonProperty(value = "value")
private Long value;
The percentage property.
/**
* The percentage property.
*/
@JsonProperty(value = "percentage")
private Double percentage;
Get the metric value.
Returns: the metric value
/**
* Get the metric value.
*
* @return the metric value
*/
public String metric() {
return this.metric;
}
Set the metric value.
Params: - metric – the metric value to set
Returns: the RankingsResponseTablesItemDataItemMetricsItem object itself.
/**
* Set the metric value.
*
* @param metric the metric value to set
* @return the RankingsResponseTablesItemDataItemMetricsItem object itself.
*/
public RankingsResponseTablesItemDataItemMetricsItem withMetric(String metric) {
this.metric = metric;
return this;
}
Get the value value.
Returns: the value value
/**
* Get the value value.
*
* @return the value value
*/
public Long value() {
return this.value;
}
Set the value value.
Params: - value – the value value to set
Returns: the RankingsResponseTablesItemDataItemMetricsItem object itself.
/**
* Set the value value.
*
* @param value the value value to set
* @return the RankingsResponseTablesItemDataItemMetricsItem object itself.
*/
public RankingsResponseTablesItemDataItemMetricsItem withValue(Long value) {
this.value = value;
return this;
}
Get the percentage value.
Returns: the percentage value
/**
* Get the percentage value.
*
* @return the percentage value
*/
public Double percentage() {
return this.percentage;
}
Set the percentage value.
Params: - percentage – the percentage value to set
Returns: the RankingsResponseTablesItemDataItemMetricsItem object itself.
/**
* Set the percentage value.
*
* @param percentage the percentage value to set
* @return the RankingsResponseTablesItemDataItemMetricsItem object itself.
*/
public RankingsResponseTablesItemDataItemMetricsItem withPercentage(Double percentage) {
this.percentage = percentage;
return this;
}
}