Class Usage
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.container.network.bandwidth.version1.Usage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Usage.Mask
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimal
incomingAmount
The amount of incoming bandwidth that a server has used within the hour of the recordedDate.protected boolean
incomingAmountSpecified
protected BigDecimal
outgoingAmount
The amount of outgoing bandwidth that a server has used within the hour of the recordedDate.protected boolean
outgoingAmountSpecified
protected GregorianCalendar
recordedDate
The date and time that the bandwidth was used by a piece of hardwareprotected boolean
recordedDateSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Usage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
getIncomingAmount()
BigDecimal
getOutgoingAmount()
GregorianCalendar
getRecordedDate()
boolean
isIncomingAmountSpecified()
boolean
isOutgoingAmountSpecified()
boolean
isRecordedDateSpecified()
void
setIncomingAmount(BigDecimal incomingAmount)
void
setOutgoingAmount(BigDecimal outgoingAmount)
void
setRecordedDate(GregorianCalendar recordedDate)
void
unsetIncomingAmount()
void
unsetOutgoingAmount()
void
unsetRecordedDate()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
incomingAmount
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal incomingAmount
The amount of incoming bandwidth that a server has used within the hour of the recordedDate.
-
incomingAmountSpecified
protected boolean incomingAmountSpecified
-
outgoingAmount
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal outgoingAmount
The amount of outgoing bandwidth that a server has used within the hour of the recordedDate.
-
outgoingAmountSpecified
protected boolean outgoingAmountSpecified
-
recordedDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar recordedDate
The date and time that the bandwidth was used by a piece of hardware
-
recordedDateSpecified
protected boolean recordedDateSpecified
-
-
Method Detail
-
getIncomingAmount
public BigDecimal getIncomingAmount()
-
setIncomingAmount
public void setIncomingAmount(BigDecimal incomingAmount)
-
isIncomingAmountSpecified
public boolean isIncomingAmountSpecified()
-
unsetIncomingAmount
public void unsetIncomingAmount()
-
getOutgoingAmount
public BigDecimal getOutgoingAmount()
-
setOutgoingAmount
public void setOutgoingAmount(BigDecimal outgoingAmount)
-
isOutgoingAmountSpecified
public boolean isOutgoingAmountSpecified()
-
unsetOutgoingAmount
public void unsetOutgoingAmount()
-
getRecordedDate
public GregorianCalendar getRecordedDate()
-
setRecordedDate
public void setRecordedDate(GregorianCalendar recordedDate)
-
isRecordedDateSpecified
public boolean isRecordedDateSpecified()
-
unsetRecordedDate
public void unsetRecordedDate()
-
-