Class Data
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.metric.tracking.object.Data
-
@ApiType("SoftLayer_Metric_Tracking_Object_Data") public class Data extends Entity
SoftLayer_Metric_Tracking_Object_Data models an individual unit of data tracked by a SoftLayer tracking object, including the type of data polled, the date it was polled at, and the counter value that was measured at polling time.- See Also:
- SoftLayer_Metric_Tracking_Object_Data
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Data.Mask
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimal
counter
The value stored for a data record.protected boolean
counterSpecified
protected GregorianCalendar
dateTime
The time a data record was stored.protected boolean
dateTimeSpecified
protected String
type
The type of data held in a record.protected boolean
typeSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Data()
-
Method Summary
Modifier and Type Method Description BigDecimal
getCounter()
GregorianCalendar
getDateTime()
String
getType()
boolean
isCounterSpecified()
boolean
isDateTimeSpecified()
boolean
isTypeSpecified()
void
setCounter(BigDecimal counter)
void
setDateTime(GregorianCalendar dateTime)
void
setType(String type)
void
unsetCounter()
void
unsetDateTime()
void
unsetType()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
counter
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal counter
The value stored for a data record.
-
counterSpecified
protected boolean counterSpecified
-
dateTime
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar dateTime
The time a data record was stored.
-
dateTimeSpecified
protected boolean dateTimeSpecified
-
type
@ApiProperty(canBeNullOrNotSet=true) protected String type
The type of data held in a record.
-
typeSpecified
protected boolean typeSpecified
-
-
Method Detail
-
getCounter
public BigDecimal getCounter()
-
setCounter
public void setCounter(BigDecimal counter)
-
isCounterSpecified
public boolean isCounterSpecified()
-
unsetCounter
public void unsetCounter()
-
getDateTime
public GregorianCalendar getDateTime()
-
setDateTime
public void setDateTime(GregorianCalendar dateTime)
-
isDateTimeSpecified
public boolean isDateTimeSpecified()
-
unsetDateTime
public void unsetDateTime()
-
getType
public String getType()
-
setType
public void setType(String type)
-
isTypeSpecified
public boolean isTypeSpecified()
-
unsetType
public void unsetType()
-
-