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
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Generic()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
hardwareComponentModels
@ApiProperty protected List<Model> hardwareComponentModels
A generic component model's hardware component model.
-
hardwareComponentType
@ApiProperty protected Type hardwareComponentType
A generic component model's type.
-
marketingFeatures
@ApiProperty protected MarketingFeature marketingFeatures
A list of features that a generic component model can provide.
-
capacity
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal 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
@ApiProperty(canBeNullOrNotSet=true) protected String description
A brief description for a generic component model that typically defines it's function.
-
descriptionSpecified
protected boolean descriptionSpecified
-
hardwareComponentTypeId
@ApiProperty(canBeNullOrNotSet=true) protected Long hardwareComponentTypeId
The internal identifier of the component type for a generic component model.
-
hardwareComponentTypeIdSpecified
protected boolean hardwareComponentTypeIdSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A generic component model's internal identification number.
-
idSpecified
protected boolean idSpecified
-
units
@ApiProperty(canBeNullOrNotSet=true) protected String units
The unit of measurement for the capacity of a generic component model.
-
unitsSpecified
protected boolean unitsSpecified
-
upgradePriority
@ApiProperty(canBeNullOrNotSet=true) protected Long 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
@ApiProperty protected Long hardwareComponentModelCount
A count of a generic component model's hardware component model.
-
-
Method Detail
-
getHardwareComponentType
public Type getHardwareComponentType()
-
setHardwareComponentType
public void setHardwareComponentType(Type hardwareComponentType)
-
getMarketingFeatures
public MarketingFeature getMarketingFeatures()
-
setMarketingFeatures
public void setMarketingFeatures(MarketingFeature marketingFeatures)
-
getCapacity
public BigDecimal getCapacity()
-
setCapacity
public void setCapacity(BigDecimal capacity)
-
isCapacitySpecified
public boolean isCapacitySpecified()
-
unsetCapacity
public void unsetCapacity()
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isDescriptionSpecified
public boolean isDescriptionSpecified()
-
unsetDescription
public void unsetDescription()
-
getHardwareComponentTypeId
public Long getHardwareComponentTypeId()
-
setHardwareComponentTypeId
public void setHardwareComponentTypeId(Long hardwareComponentTypeId)
-
isHardwareComponentTypeIdSpecified
public boolean isHardwareComponentTypeIdSpecified()
-
unsetHardwareComponentTypeId
public void unsetHardwareComponentTypeId()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getUnits
public String getUnits()
-
setUnits
public void setUnits(String units)
-
isUnitsSpecified
public boolean isUnitsSpecified()
-
unsetUnits
public void unsetUnits()
-
getUpgradePriority
public Long getUpgradePriority()
-
setUpgradePriority
public void setUpgradePriority(Long upgradePriority)
-
isUpgradePrioritySpecified
public boolean isUpgradePrioritySpecified()
-
unsetUpgradePriority
public void unsetUpgradePriority()
-
getHardwareComponentModelCount
public Long getHardwareComponentModelCount()
-
setHardwareComponentModelCount
public void setHardwareComponentModelCount(Long hardwareComponentModelCount)
-
-