Class Generic
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.hardware.component.model.Generic
@ApiType("SoftLayer_Hardware_Component_Model_Generic") public class Generic extends Entity
The SoftLayer_Hardware_Component_Model_Generic data type contains general information relating to a single SoftLayer generic component model. A generic component model represents a non-vendor specific representation of a hardware component. Frequently SoftLayer utilizes components from various vendors in the servers they provision. For Example: Several different vendors produce 6GB DDR2 memory. The generic component model for the 6GB stick of RAM encompasses every instance of this component regardless of make and model.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Generic.Mask
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimal
capacity
A generic component model's capacity.protected boolean
capacitySpecified
protected String
description
A brief description for a generic component model that typically defines it's function.protected boolean
descriptionSpecified
protected Long
hardwareComponentModelCount
A count of a generic component model's hardware component model.protected List<Model>
hardwareComponentModels
A generic component model's hardware component model.protected Type
hardwareComponentType
A generic component model's type.protected Long
hardwareComponentTypeId
The internal identifier of the component type for a generic component model.protected boolean
hardwareComponentTypeIdSpecified
protected Long
id
A generic component model's internal identification number.protected boolean
idSpecified
protected MarketingFeature
marketingFeatures
A list of features that a generic component model can provide.protected String
units
The unit of measurement for the capacity of a generic component model.protected boolean
unitsSpecified
protected Long
upgradePriority
A generic component model's upgrade priority.protected boolean
upgradePrioritySpecified
-
Constructor Summary
Constructors Constructor Description Generic()
-
Method Summary
-
Field Details
-
hardwareComponentModels
A generic component model's hardware component model. -
hardwareComponentType
A generic component model's type. -
marketingFeatures
A list of features that a generic component model can provide. -
capacity
A generic component model's capacity. The capacity of a generic component model depends on the model itself. For Example: Hard drives have a capacity that reflects the amount of data that hard drive can store. -
capacitySpecified
protected boolean capacitySpecified -
description
A brief description for a generic component model that typically defines it's function. -
descriptionSpecified
protected boolean descriptionSpecified -
hardwareComponentTypeId
The internal identifier of the component type for a generic component model. -
hardwareComponentTypeIdSpecified
protected boolean hardwareComponentTypeIdSpecified -
id
A generic component model's internal identification number. -
idSpecified
protected boolean idSpecified -
units
The unit of measurement for the capacity of a generic component model. -
unitsSpecified
protected boolean unitsSpecified -
upgradePriority
A generic component model's upgrade priority. The upgrade priority indicates the order a generic component model should be considered over other generic component models. A higher number indicates that a generic component model receives a higher upgrade preference in comparison to a generic component model with a lower priority number. -
upgradePrioritySpecified
protected boolean upgradePrioritySpecified -
hardwareComponentModelCount
A count of a generic component model's hardware component model.
-
-
Constructor Details
-
Generic
public Generic()
-
-
Method Details
-
getHardwareComponentModels
-
getHardwareComponentType
-
setHardwareComponentType
-
getMarketingFeatures
-
setMarketingFeatures
-
getCapacity
-
setCapacity
-
isCapacitySpecified
public boolean isCapacitySpecified() -
unsetCapacity
public void unsetCapacity() -
getDescription
-
setDescription
-
isDescriptionSpecified
public boolean isDescriptionSpecified() -
unsetDescription
public void unsetDescription() -
getHardwareComponentTypeId
-
setHardwareComponentTypeId
-
isHardwareComponentTypeIdSpecified
public boolean isHardwareComponentTypeIdSpecified() -
unsetHardwareComponentTypeId
public void unsetHardwareComponentTypeId() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getUnits
-
setUnits
-
isUnitsSpecified
public boolean isUnitsSpecified() -
unsetUnits
public void unsetUnits() -
getUpgradePriority
-
setUpgradePriority
-
isUpgradePrioritySpecified
public boolean isUpgradePrioritySpecified() -
unsetUpgradePriority
public void unsetUpgradePriority() -
getHardwareComponentModelCount
-
setHardwareComponentModelCount
-