com.softlayer.api.service.network.lbaas.LoadBalancerMonitoringMetricDataPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.network.lbaas;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.math.BigDecimal;
/**
* SoftLayer_Network_LBaaS_LoadBalancerMonitoringMetricDataPoint is a collection of datapoints retrieved from a load balancer instance. The available metrics are: - The metric value
- The timestamp when the metric value was obtained
*
* @see SoftLayer_Network_LBaaS_LoadBalancerMonitoringMetricDataPoint
*/
@ApiType("SoftLayer_Network_LBaaS_LoadBalancerMonitoringMetricDataPoint")
public class LoadBalancerMonitoringMetricDataPoint extends Entity {
/**
* Epoch Time
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long epochTimestamp;
public Long getEpochTimestamp() {
return epochTimestamp;
}
public void setEpochTimestamp(Long epochTimestamp) {
epochTimestampSpecified = true;
this.epochTimestamp = epochTimestamp;
}
protected boolean epochTimestampSpecified;
public boolean isEpochTimestampSpecified() {
return epochTimestampSpecified;
}
public void unsetEpochTimestamp() {
epochTimestamp = null;
epochTimestampSpecified = false;
}
/**
* a value
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal value;
public BigDecimal getValue() {
return value;
}
public void setValue(BigDecimal value) {
valueSpecified = true;
this.value = value;
}
protected boolean valueSpecified;
public boolean isValueSpecified() {
return valueSpecified;
}
public void unsetValue() {
value = null;
valueSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask epochTimestamp() {
withLocalProperty("epochTimestamp");
return this;
}
public Mask value() {
withLocalProperty("value");
return this;
}
}
}