Class Attribute
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.hardware.component.model.generic.Attribute
-
@ApiType("SoftLayer_Hardware_Component_Model_Generic_Attribute") public class Attribute extends Entity
The SoftLayer_Hardware_Component_Model_Generic_Attribute data type contains information relating to a single SoftLayer generic component model. Generic component model attributes can hold any information to describe functionality of the model. For Example: The number of cores that a processor has.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Attribute.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Generic
hardwareGenericComponentModel
An attributes generic component model.protected String
value
A generic component model 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 Generic
getHardwareGenericComponentModel()
String
getValue()
boolean
isValueSpecified()
void
setHardwareGenericComponentModel(Generic hardwareGenericComponentModel)
void
setValue(String value)
void
unsetValue()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
hardwareGenericComponentModel
@ApiProperty protected Generic hardwareGenericComponentModel
An attributes generic component model.
-
value
@ApiProperty(canBeNullOrNotSet=true) protected String value
A generic component model attribute's value.
-
valueSpecified
protected boolean valueSpecified
-
-
Method Detail
-
getHardwareGenericComponentModel
public Generic getHardwareGenericComponentModel()
-
setHardwareGenericComponentModel
public void setHardwareGenericComponentModel(Generic hardwareGenericComponentModel)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
isValueSpecified
public boolean isValueSpecified()
-
unsetValue
public void unsetValue()
-
-