Class Rule


  • @ApiType("SoftLayer_Product_Item_Rule")
    public class Rule
    extends Entity
    The item rule data type represents a rule that must be followed when the item assigned to the rule is ordered. The type and operation applied to the resources of the rule will affect how the rule is checked during ordering.
    See Also:
    SoftLayer_Product_Item_Rule
    • Constructor Detail

      • Rule

        public Rule()
    • Method Detail

      • getItem

        public Item getItem()
      • setItem

        public void setItem​(Item item)
      • getItemCategoryResources

        public List<Category> getItemCategoryResources()
      • getItemResources

        public List<Item> getItemResources()
      • getLocationResources

        public List<Location> getLocationResources()
      • getRulePackage

        public Package getRulePackage()
      • setRulePackage

        public void setRulePackage​(Package rulePackage)
      • getPermissionResources

        public List<Permission> getPermissionResources()
      • getType

        public Type getType()
      • setType

        public void setType​(Type type)
      • getItemId

        public Long getItemId()
      • setItemId

        public void setItemId​(Long itemId)
      • isItemIdSpecified

        public boolean isItemIdSpecified()
      • unsetItemId

        public void unsetItemId()
      • getMessage

        public String getMessage()
      • setMessage

        public void setMessage​(String message)
      • isMessageSpecified

        public boolean isMessageSpecified()
      • unsetMessage

        public void unsetMessage()
      • getOperation

        public String getOperation()
      • setOperation

        public void setOperation​(String operation)
      • isOperationSpecified

        public boolean isOperationSpecified()
      • unsetOperation

        public void unsetOperation()
      • getPackageId

        public Long getPackageId()
      • setPackageId

        public void setPackageId​(Long packageId)
      • isPackageIdSpecified

        public boolean isPackageIdSpecified()
      • unsetPackageId

        public void unsetPackageId()
      • getTypeId

        public Long getTypeId()
      • setTypeId

        public void setTypeId​(Long typeId)
      • isTypeIdSpecified

        public boolean isTypeIdSpecified()
      • unsetTypeId

        public void unsetTypeId()
      • getItemCategoryResourceCount

        public Long getItemCategoryResourceCount()
      • setItemCategoryResourceCount

        public void setItemCategoryResourceCount​(Long itemCategoryResourceCount)
      • getItemResourceCount

        public Long getItemResourceCount()
      • setItemResourceCount

        public void setItemResourceCount​(Long itemResourceCount)
      • getLocationResourceCount

        public Long getLocationResourceCount()
      • setLocationResourceCount

        public void setLocationResourceCount​(Long locationResourceCount)
      • getPermissionResourceCount

        public Long getPermissionResourceCount()
      • setPermissionResourceCount

        public void setPermissionResourceCount​(Long permissionResourceCount)
      • getResourceCount

        public Long getResourceCount()
      • setResourceCount

        public void setResourceCount​(Long resourceCount)