Class Asset

Direct Known Subclasses:
Guest, Hardware

@ApiType("SoftLayer_Scale_Asset")
public class Asset
extends Entity
The base asset of a scale group. Assets are fixed, non-volatile units of a scale group. They are pinned to the group and will not be automatically added or removed. Their primary purpose is to provide information for the policies to use to determine when to scale members.
See Also:
SoftLayer_Scale_Asset
  • Field Details

    • scaleGroup

      @ApiProperty protected Group scaleGroup
      The group this asset belongs to.
    • createDate

      @ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
      When this asset was created.
    • createDateSpecified

      protected boolean createDateSpecified
    • deleteFlag

      @ApiProperty(canBeNullOrNotSet=true) protected Boolean deleteFlag
      When set and true any edit that happens on this object, be it calling edit on this directly or setting as a child while editing a parent object, will end up being a deletion.
    • deleteFlagSpecified

      protected boolean deleteFlagSpecified
    • id

      @ApiProperty(canBeNullOrNotSet=true) protected Long id
      An asset's internal identifier.
    • idSpecified

      protected boolean idSpecified
    • scaleGroupId

      @ApiProperty(canBeNullOrNotSet=true) protected Long scaleGroupId
      The identifier of the group this asset belongs to.
    • scaleGroupIdSpecified

      protected boolean scaleGroupIdSpecified
  • Constructor Details

    • Asset

      public Asset()
  • Method Details

    • getScaleGroup

      public Group getScaleGroup()
    • setScaleGroup

      public void setScaleGroup​(Group scaleGroup)
    • getCreateDate

      public GregorianCalendar getCreateDate()
    • setCreateDate

      public void setCreateDate​(GregorianCalendar createDate)
    • isCreateDateSpecified

      public boolean isCreateDateSpecified()
    • unsetCreateDate

      public void unsetCreateDate()
    • getDeleteFlag

      public Boolean getDeleteFlag()
    • setDeleteFlag

      public void setDeleteFlag​(Boolean deleteFlag)
    • isDeleteFlagSpecified

      public boolean isDeleteFlagSpecified()
    • unsetDeleteFlag

      public void unsetDeleteFlag()
    • getId

      public Long getId()
    • setId

      public void setId​(Long id)
    • isIdSpecified

      public boolean isIdSpecified()
    • unsetId

      public void unsetId()
    • getScaleGroupId

      public Long getScaleGroupId()
    • setScaleGroupId

      public void setScaleGroupId​(Long scaleGroupId)
    • isScaleGroupIdSpecified

      public boolean isScaleGroupIdSpecified()
    • unsetScaleGroupId

      public void unsetScaleGroupId()
    • asService

      public Asset.Service asService​(ApiClient client)
    • service

      public static Asset.Service service​(ApiClient client)
    • service

      public static Asset.Service service​(ApiClient client, Long id)