Class 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.
    See Also:
    SoftLayer_Hardware_Component_Model_Generic
    • 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
      • 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
      • idSpecified

        protected boolean idSpecified
      • 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.
    • Constructor Detail

      • Generic

        public Generic()
    • Method Detail

      • getHardwareComponentModels

        public List<Model> getHardwareComponentModels()
      • getHardwareComponentType

        public Type getHardwareComponentType()
      • setHardwareComponentType

        public void setHardwareComponentType​(Type hardwareComponentType)
      • setMarketingFeatures

        public void setMarketingFeatures​(MarketingFeature marketingFeatures)
      • 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)