Class Attribute
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.account.Attribute
-
@ApiType("SoftLayer_Account_Attribute") public class Attribute extends Entity
Many SoftLayer customer accounts have individual attributes assigned to them that describe features or special features for that account, such as special pricing, account statuses, and ordering instructions. The SoftLayer_Account_Attribute data type contains information relating to a single SoftLayer_Account attribute.- See Also:
- SoftLayer_Account_Attribute
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Attribute.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The SoftLayer customer account that has an attribute.protected Type
accountAttributeType
The type of attribute assigned to a SoftLayer customer account.protected Long
accountAttributeTypeId
The internal identifier of the type of attribute that a SoftLayer customer account attribute belongs to.protected boolean
accountAttributeTypeIdSpecified
protected Long
accountId
The internal identifier of the SoftLayer customer account that is assigned an account attribute.protected boolean
accountIdSpecified
protected Long
id
A SoftLayer customer account attribute's internal identifier.protected boolean
idSpecified
protected String
value
A SoftLayer account attribute's value.protected boolean
valueSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Attribute()
-
Method Summary
Modifier and Type Method Description Account
getAccount()
Type
getAccountAttributeType()
Long
getAccountAttributeTypeId()
Long
getAccountId()
Long
getId()
String
getValue()
boolean
isAccountAttributeTypeIdSpecified()
boolean
isAccountIdSpecified()
boolean
isIdSpecified()
boolean
isValueSpecified()
void
setAccount(Account account)
void
setAccountAttributeType(Type accountAttributeType)
void
setAccountAttributeTypeId(Long accountAttributeTypeId)
void
setAccountId(Long accountId)
void
setId(Long id)
void
setValue(String value)
void
unsetAccountAttributeTypeId()
void
unsetAccountId()
void
unsetId()
void
unsetValue()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The SoftLayer customer account that has an attribute.
-
accountAttributeType
@ApiProperty protected Type accountAttributeType
The type of attribute assigned to a SoftLayer customer account.
-
accountAttributeTypeId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountAttributeTypeId
The internal identifier of the type of attribute that a SoftLayer customer account attribute belongs to.
-
accountAttributeTypeIdSpecified
protected boolean accountAttributeTypeIdSpecified
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
The internal identifier of the SoftLayer customer account that is assigned an account attribute.
-
accountIdSpecified
protected boolean accountIdSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A SoftLayer customer account attribute's internal identifier.
-
idSpecified
protected boolean idSpecified
-
value
@ApiProperty(canBeNullOrNotSet=true) protected String value
A SoftLayer account attribute's value.
-
valueSpecified
protected boolean valueSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getAccountAttributeType
public Type getAccountAttributeType()
-
setAccountAttributeType
public void setAccountAttributeType(Type accountAttributeType)
-
getAccountAttributeTypeId
public Long getAccountAttributeTypeId()
-
setAccountAttributeTypeId
public void setAccountAttributeTypeId(Long accountAttributeTypeId)
-
isAccountAttributeTypeIdSpecified
public boolean isAccountAttributeTypeIdSpecified()
-
unsetAccountAttributeTypeId
public void unsetAccountAttributeTypeId()
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
isValueSpecified
public boolean isValueSpecified()
-
unsetValue
public void unsetValue()
-
-