Class AccountLicense
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.software.AccountLicense
-
@ApiType("SoftLayer_Software_AccountLicense") public class AccountLicense extends Entity
SoftLayer_Software_AccountLicense is a class that represents software licenses that are tied only to a customer's account and not to any particular hardware, IP address, etc.- See Also:
- SoftLayer_Software_AccountLicense
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccountLicense.Mask
static interface
AccountLicense.Service
SoftLayer_Software_AccountLicense is the application class that handles a special type of Software License.static interface
AccountLicense.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The customer account this Account License belongs to.protected Long
accountId
The ID of the SoftLayer Account to which this Account License belongs to.protected boolean
accountIdSpecified
protected Item
billingItem
The billing item for a software account license.protected String
capacity
Some Account Licenses have capacity information such as CPU specified in the units key.protected boolean
capacitySpecified
protected String
key
The License Key for this specific Account License.protected boolean
keySpecified
protected Description
softwareDescription
The SoftLayer_Software_Description that this account license is for.protected String
units
The unit of measurement that an account license has the capacity of.protected boolean
unitsSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description AccountLicense()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount()
Long
getAccountId()
Item
getBillingItem()
String
getCapacity()
String
getKey()
Description
getSoftwareDescription()
String
getUnits()
boolean
isAccountIdSpecified()
boolean
isCapacitySpecified()
boolean
isKeySpecified()
boolean
isUnitsSpecified()
static AccountLicense.Service
service(ApiClient client)
void
setAccount(Account account)
void
setAccountId(Long accountId)
void
setBillingItem(Item billingItem)
void
setCapacity(String capacity)
void
setKey(String key)
void
setSoftwareDescription(Description softwareDescription)
void
setUnits(String units)
void
unsetAccountId()
void
unsetCapacity()
void
unsetKey()
void
unsetUnits()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The customer account this Account License belongs to.
-
billingItem
@ApiProperty protected Item billingItem
The billing item for a software account license.
-
softwareDescription
@ApiProperty protected Description softwareDescription
The SoftLayer_Software_Description that this account license is for.
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
The ID of the SoftLayer Account to which this Account License belongs to.
-
accountIdSpecified
protected boolean accountIdSpecified
-
capacity
@ApiProperty(canBeNullOrNotSet=true) protected String capacity
Some Account Licenses have capacity information such as CPU specified in the units key. This provides the numerical representation of the capacity of the units.
-
capacitySpecified
protected boolean capacitySpecified
-
key
@ApiProperty(canBeNullOrNotSet=true) protected String key
The License Key for this specific Account License.
-
keySpecified
protected boolean keySpecified
-
units
@ApiProperty(canBeNullOrNotSet=true) protected String units
The unit of measurement that an account license has the capacity of.
-
unitsSpecified
protected boolean unitsSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getBillingItem
public Item getBillingItem()
-
setBillingItem
public void setBillingItem(Item billingItem)
-
getSoftwareDescription
public Description getSoftwareDescription()
-
setSoftwareDescription
public void setSoftwareDescription(Description softwareDescription)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getCapacity
public String getCapacity()
-
setCapacity
public void setCapacity(String capacity)
-
isCapacitySpecified
public boolean isCapacitySpecified()
-
unsetCapacity
public void unsetCapacity()
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
isKeySpecified
public boolean isKeySpecified()
-
unsetKey
public void unsetKey()
-
getUnits
public String getUnits()
-
setUnits
public void setUnits(String units)
-
isUnitsSpecified
public boolean isUnitsSpecified()
-
unsetUnits
public void unsetUnits()
-
service
public static AccountLicense.Service service(ApiClient client)
-
-