Class Attribute
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.product.pkg.preset.Attribute
@ApiType("SoftLayer_Product_Package_Preset_Attribute") public class Attribute extends Entity
Package preset attributes contain supplementary information for a package preset.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Attribute.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Type
attributeType
protected Long
attributeTypeId
The internal identifier of the type of attribute that a pacakge preset attribute belongs to.protected boolean
attributeTypeIdSpecified
protected Long
id
A package preset attribute's internal identifier.protected boolean
idSpecified
protected Preset
preset
protected Long
presetId
The internal identifier of the package preset an attribute belongs to.protected boolean
presetIdSpecified
protected String
value
A package preset's attribute value.protected boolean
valueSpecified
-
Constructor Summary
Constructors Constructor Description Attribute()
-
Method Summary
Modifier and Type Method Description Type
getAttributeType()
Long
getAttributeTypeId()
Long
getId()
Preset
getPreset()
Long
getPresetId()
String
getValue()
boolean
isAttributeTypeIdSpecified()
boolean
isIdSpecified()
boolean
isPresetIdSpecified()
boolean
isValueSpecified()
void
setAttributeType(Type attributeType)
void
setAttributeTypeId(Long attributeTypeId)
void
setId(Long id)
void
setPreset(Preset preset)
void
setPresetId(Long presetId)
void
setValue(String value)
void
unsetAttributeTypeId()
void
unsetId()
void
unsetPresetId()
void
unsetValue()
-
Field Details
-
attributeType
-
preset
-
attributeTypeId
The internal identifier of the type of attribute that a pacakge preset attribute belongs to. -
attributeTypeIdSpecified
protected boolean attributeTypeIdSpecified -
id
A package preset attribute's internal identifier. -
idSpecified
protected boolean idSpecified -
presetId
The internal identifier of the package preset an attribute belongs to. -
presetIdSpecified
protected boolean presetIdSpecified -
value
A package preset's attribute value. -
valueSpecified
protected boolean valueSpecified
-
-
Constructor Details
-
Attribute
public Attribute()
-
-
Method Details
-
getAttributeType
-
setAttributeType
-
getPreset
-
setPreset
-
getAttributeTypeId
-
setAttributeTypeId
-
isAttributeTypeIdSpecified
public boolean isAttributeTypeIdSpecified() -
unsetAttributeTypeId
public void unsetAttributeTypeId() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getPresetId
-
setPresetId
-
isPresetIdSpecified
public boolean isPresetIdSpecified() -
unsetPresetId
public void unsetPresetId() -
getValue
-
setValue
-
isValueSpecified
public boolean isValueSpecified() -
unsetValue
public void unsetValue()
-