@ApiType("SoftLayer_Product_Package_Type")
public class Type
extends Entity
The [[SoftLayer_Product_Package_Type]] object indicates the type for a service offering (package). The type can be used to filter packages. For example, if you are looking for the package representing virtual servers, you can filter on the type's key name of '''VIRTUAL_SERVER_INSTANCE'''. For bare metal servers by core or CPU, filter on '''BARE_METAL_CORE''' or '''BARE_METAL_CPU''', respectively.
See Also:
SoftLayer_Product_Package_Type
  • Field Details

    • packages

      @ApiProperty protected List<Package> packages
      All the packages associated with the given package type.
    • id

      @ApiProperty(canBeNullOrNotSet=true) protected Long id
      The package type's unique identifier.
    • idSpecified

      protected boolean idSpecified
    • keyName

      @ApiProperty(canBeNullOrNotSet=true) protected String keyName
      The unique key name of the package type. Use this value when filtering.
    • keyNameSpecified

      protected boolean keyNameSpecified
    • name

      @ApiProperty(canBeNullOrNotSet=true) protected String name
      The name of the package type.
    • nameSpecified

      protected boolean nameSpecified
    • packageCount

      @ApiProperty protected Long packageCount
      A count of all the packages associated with the given package type.
  • Constructor Details

    • Type

      public Type()
  • Method Details

    • getPackages

      public List<Package> getPackages()
    • getId

      public Long getId()
    • setId

      public void setId​(Long id)
    • isIdSpecified

      public boolean isIdSpecified()
    • unsetId

      public void unsetId()
    • getKeyName

      public String getKeyName()
    • setKeyName

      public void setKeyName​(String keyName)
    • isKeyNameSpecified

      public boolean isKeyNameSpecified()
    • unsetKeyName

      public void unsetKeyName()
    • getName

      public String getName()
    • setName

      public void setName​(String name)
    • isNameSpecified

      public boolean isNameSpecified()
    • unsetName

      public void unsetName()
    • getPackageCount

      public Long getPackageCount()
    • setPackageCount

      public void setPackageCount​(Long packageCount)
    • asService

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

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

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