Class Allocation
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.network.bandwidth.version1.Allocation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Allocation.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Detail
allotmentDetail
A bandwidth allotment detail.protected BigDecimal
amount
The amount of bandwidth allocated.protected boolean
amountSpecified
protected Hardware
billingItem
Billing item associated with this hardware allocation.protected Long
id
Internal ID associated with this allocation.protected boolean
idSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Allocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Detail
getAllotmentDetail()
BigDecimal
getAmount()
Hardware
getBillingItem()
Long
getId()
boolean
isAmountSpecified()
boolean
isIdSpecified()
void
setAllotmentDetail(Detail allotmentDetail)
void
setAmount(BigDecimal amount)
void
setBillingItem(Hardware billingItem)
void
setId(Long id)
void
unsetAmount()
void
unsetId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
allotmentDetail
@ApiProperty protected Detail allotmentDetail
A bandwidth allotment detail.
-
billingItem
@ApiProperty protected Hardware billingItem
Billing item associated with this hardware allocation.
-
amount
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal amount
The amount of bandwidth allocated.
-
amountSpecified
protected boolean amountSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
Internal ID associated with this allocation.
-
idSpecified
protected boolean idSpecified
-
-
Method Detail
-
getAllotmentDetail
public Detail getAllotmentDetail()
-
setAllotmentDetail
public void setAllotmentDetail(Detail allotmentDetail)
-
getBillingItem
public Hardware getBillingItem()
-
setBillingItem
public void setBillingItem(Hardware billingItem)
-
getAmount
public BigDecimal getAmount()
-
setAmount
public void setAmount(BigDecimal amount)
-
isAmountSpecified
public boolean isAmountSpecified()
-
unsetAmount
public void unsetAmount()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
-