Class Attribute
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.hardware.Attribute
-
- Direct Known Subclasses:
UserData
@ApiType("SoftLayer_Hardware_Attribute") public class Attribute extends Entity
The SoftLayer_Hardware_Attribute type contains general information for a hardware attribute. Hardware attributes can be assigned to specific hardware objects to describe relatively arbitrary information.- See Also:
- SoftLayer_Hardware_Attribute
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Attribute.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Type
hardwareAttributeType
The type of hardware attribute that this represents.protected Long
hardwareAttributeTypeId
The unique identifier of a hardware attribute's type.protected boolean
hardwareAttributeTypeIdSpecified
protected Long
id
A hardware attribute's unique identifier.protected boolean
idSpecified
protected String
value
A hardware 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 Type
getHardwareAttributeType()
Long
getHardwareAttributeTypeId()
Long
getId()
String
getValue()
boolean
isHardwareAttributeTypeIdSpecified()
boolean
isIdSpecified()
boolean
isValueSpecified()
void
setHardwareAttributeType(Type hardwareAttributeType)
void
setHardwareAttributeTypeId(Long hardwareAttributeTypeId)
void
setId(Long id)
void
setValue(String value)
void
unsetHardwareAttributeTypeId()
void
unsetId()
void
unsetValue()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
hardwareAttributeType
@ApiProperty protected Type hardwareAttributeType
The type of hardware attribute that this represents.
-
hardwareAttributeTypeId
@ApiProperty(canBeNullOrNotSet=true) protected Long hardwareAttributeTypeId
The unique identifier of a hardware attribute's type.
-
hardwareAttributeTypeIdSpecified
protected boolean hardwareAttributeTypeIdSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A hardware attribute's unique identifier.
-
idSpecified
protected boolean idSpecified
-
value
@ApiProperty(canBeNullOrNotSet=true) protected String value
A hardware attribute's value.
-
valueSpecified
protected boolean valueSpecified
-
-
Method Detail
-
getHardwareAttributeType
public Type getHardwareAttributeType()
-
setHardwareAttributeType
public void setHardwareAttributeType(Type hardwareAttributeType)
-
getHardwareAttributeTypeId
public Long getHardwareAttributeTypeId()
-
setHardwareAttributeTypeId
public void setHardwareAttributeTypeId(Long hardwareAttributeTypeId)
-
isHardwareAttributeTypeIdSpecified
public boolean isHardwareAttributeTypeIdSpecified()
-
unsetHardwareAttributeTypeId
public void unsetHardwareAttributeTypeId()
-
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()
-
-