Class Allocation
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.network.bandwidth.version1.Allocation
@ApiType("SoftLayer_Network_Bandwidth_Version1_Allocation") public class Allocation extends Entity
The SoftLayer_Network_Bandwidth_Version1_Allocation data type contains general information relating to a single bandwidth allocation record.
-
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
-
Constructor Summary
Constructors Constructor Description Allocation()
-
Method Summary
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()
-
Field Details
-
allotmentDetail
A bandwidth allotment detail. -
billingItem
Billing item associated with this hardware allocation. -
amount
The amount of bandwidth allocated. -
amountSpecified
protected boolean amountSpecified -
id
Internal ID associated with this allocation. -
idSpecified
protected boolean idSpecified
-
-
Constructor Details
-
Allocation
public Allocation()
-
-
Method Details
-
getAllotmentDetail
-
setAllotmentDetail
-
getBillingItem
-
setBillingItem
-
getAmount
-
setAmount
-
isAmountSpecified
public boolean isAmountSpecified() -
unsetAmount
public void unsetAmount() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId()
-