com.softlayer.api.service.product.Item Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
The newest version!
package com.softlayer.api.service.product;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.configuration.Template;
import com.softlayer.api.service.hardware.component.model.Generic;
import com.softlayer.api.service.product.Package;
import com.softlayer.api.service.product.item.Attribute;
import com.softlayer.api.service.product.item.Bundles;
import com.softlayer.api.service.product.item.Price;
import com.softlayer.api.service.product.item.Requirement;
import com.softlayer.api.service.product.item.Rule;
import com.softlayer.api.service.product.item.policy.Assignment;
import com.softlayer.api.service.product.item.resource.Conflict;
import com.softlayer.api.service.product.item.tax.Category;
import com.softlayer.api.service.product.pkg.Inventory;
import com.softlayer.api.service.sales.presale.Event;
import com.softlayer.api.service.software.Description;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
/**
* The SoftLayer_Product_Item data type contains general information relating to a single SoftLayer product.
*
* @see SoftLayer_Product_Item
*/
@ApiType("SoftLayer_Product_Item")
public class Item extends Entity {
@ApiProperty
protected List activePresaleEvents;
public List getActivePresaleEvents() {
if (activePresaleEvents == null) {
activePresaleEvents = new ArrayList();
}
return activePresaleEvents;
}
/**
* Active usage based prices.
*/
@ApiProperty
protected List activeUsagePrices;
public List getActiveUsagePrices() {
if (activeUsagePrices == null) {
activeUsagePrices = new ArrayList();
}
return activeUsagePrices;
}
/**
* The attribute values for a product item. These are additional properties that give extra information about the product being sold.
*/
@ApiProperty
protected List attributes;
public List getAttributes() {
if (attributes == null) {
attributes = new ArrayList();
}
return attributes;
}
/**
* Attributes that govern when an item may no longer be available.
*/
@ApiProperty
protected List availabilityAttributes;
public List getAvailabilityAttributes() {
if (availabilityAttributes == null) {
availabilityAttributes = new ArrayList();
}
return availabilityAttributes;
}
/**
* An item's special billing type, if applicable.
*/
@ApiProperty
protected String billingType;
public String getBillingType() {
return billingType;
}
public void setBillingType(String billingType) {
this.billingType = billingType;
}
/**
* An item's included product item references. Some items have other items included in them that we specifically detail. They are here called Bundled Items. An example is Plesk unlimited. It as a bundled item labeled 'SiteBuilder'. These are the SoftLayer_Product_Item_Bundles objects. See the SoftLayer_Product_Item::bundleItems property for bundle of SoftLayer_Product_Item of objects.
*/
@ApiProperty
protected List bundle;
public List getBundle() {
if (bundle == null) {
bundle = new ArrayList();
}
return bundle;
}
/**
* An item's included products. Some items have other items included in them that we specifically detail. They are here called Bundled Items. An example is Plesk unlimited. It as a bundled item labeled 'SiteBuilder'. These are the SoftLayer_Product_Item objects.
*/
@ApiProperty
protected List- bundleItems;
public List
- getBundleItems() {
if (bundleItems == null) {
bundleItems = new ArrayList
- ();
}
return bundleItems;
}
/**
* When the product capacity is best described as a range, this holds the ceiling of the range.
*/
@ApiProperty
protected String capacityMaximum;
public String getCapacityMaximum() {
return capacityMaximum;
}
public void setCapacityMaximum(String capacityMaximum) {
this.capacityMaximum = capacityMaximum;
}
/**
* When the product capacity is best described as a range, this holds the floor of the range.
*/
@ApiProperty
protected String capacityMinimum;
public String getCapacityMinimum() {
return capacityMinimum;
}
public void setCapacityMinimum(String capacityMinimum) {
this.capacityMinimum = capacityMinimum;
}
/**
* This flag indicates that this product is restricted by a capacity on a related product.
*/
@ApiProperty
protected Boolean capacityRestrictedProductFlag;
public Boolean getCapacityRestrictedProductFlag() {
return capacityRestrictedProductFlag;
}
public void setCapacityRestrictedProductFlag(Boolean capacityRestrictedProductFlag) {
this.capacityRestrictedProductFlag = capacityRestrictedProductFlag;
}
/**
* An item's associated item categories.
*/
@ApiProperty
protected List
categories;
public List getCategories() {
if (categories == null) {
categories = new ArrayList();
}
return categories;
}
/**
* Some product items have configuration templates which can be used to during provisioning of that product.
*/
@ApiProperty
protected List configurationTemplates;
public List getConfigurationTemplates() {
if (configurationTemplates == null) {
configurationTemplates = new ArrayList();
}
return configurationTemplates;
}
/**
* An item's conflicts. For example, McAfee LinuxShield cannot be ordered with Windows. It was not meant for that operating system and as such is a conflict.
*/
@ApiProperty
protected List conflicts;
public List getConflicts() {
if (conflicts == null) {
conflicts = new ArrayList();
}
return conflicts;
}
/**
* This flag indicates that this product is restricted by the number of cores on the compute instance. This is deprecated. Use [[SoftLayer_Product_Item/getCapacityRestrictedProductFlag|getCapacityRestrictedProductFlag]]
*/
@ApiProperty
protected Boolean coreRestrictedItemFlag;
public Boolean getCoreRestrictedItemFlag() {
return coreRestrictedItemFlag;
}
public void setCoreRestrictedItemFlag(Boolean coreRestrictedItemFlag) {
this.coreRestrictedItemFlag = coreRestrictedItemFlag;
}
/**
* Some product items have a downgrade path. This is the first product item in the downgrade path.
*/
@ApiProperty
protected Item downgradeItem;
public Item getDowngradeItem() {
return downgradeItem;
}
public void setDowngradeItem(Item downgradeItem) {
this.downgradeItem = downgradeItem;
}
/**
* Some product items have a downgrade path. These are those product items.
*/
@ApiProperty
protected List- downgradeItems;
public List
- getDowngradeItems() {
if (downgradeItems == null) {
downgradeItems = new ArrayList
- ();
}
return downgradeItems;
}
/**
* An item's category conflicts. For example, 10 Gbps redundant network functionality cannot be ordered with a secondary GPU and as such is a conflict.
*/
@ApiProperty
protected List
globalCategoryConflicts;
public List getGlobalCategoryConflicts() {
if (globalCategoryConflicts == null) {
globalCategoryConflicts = new ArrayList();
}
return globalCategoryConflicts;
}
/**
* The generic hardware component that this item represents.
*/
@ApiProperty
protected Generic hardwareGenericComponentModel;
public Generic getHardwareGenericComponentModel() {
return hardwareGenericComponentModel;
}
public void setHardwareGenericComponentModel(Generic hardwareGenericComponentModel) {
this.hardwareGenericComponentModel = hardwareGenericComponentModel;
}
@ApiProperty
protected Boolean hideFromPortalFlag;
public Boolean getHideFromPortalFlag() {
return hideFromPortalFlag;
}
public void setHideFromPortalFlag(Boolean hideFromPortalFlag) {
this.hideFromPortalFlag = hideFromPortalFlag;
}
@ApiProperty
protected Boolean ineligibleForAccountDiscountFlag;
public Boolean getIneligibleForAccountDiscountFlag() {
return ineligibleForAccountDiscountFlag;
}
public void setIneligibleForAccountDiscountFlag(Boolean ineligibleForAccountDiscountFlag) {
this.ineligibleForAccountDiscountFlag = ineligibleForAccountDiscountFlag;
}
/**
* DEPRECATED. An item's inventory status per datacenter.
*/
@ApiProperty
protected List inventory;
public List getInventory() {
if (inventory == null) {
inventory = new ArrayList();
}
return inventory;
}
/**
* Flag to indicate the server product is engineered for a multi-server solution. (Deprecated)
*/
@ApiProperty
protected Boolean isEngineeredServerProduct;
public Boolean getIsEngineeredServerProduct() {
return isEngineeredServerProduct;
}
public void setIsEngineeredServerProduct(Boolean isEngineeredServerProduct) {
this.isEngineeredServerProduct = isEngineeredServerProduct;
}
/**
* An item's primary item category.
*/
@ApiProperty
protected com.softlayer.api.service.product.item.Category itemCategory;
public com.softlayer.api.service.product.item.Category getItemCategory() {
return itemCategory;
}
public void setItemCategory(com.softlayer.api.service.product.item.Category itemCategory) {
this.itemCategory = itemCategory;
}
@ApiProperty
protected Boolean localDiskFlag;
public Boolean getLocalDiskFlag() {
return localDiskFlag;
}
public void setLocalDiskFlag(Boolean localDiskFlag) {
this.localDiskFlag = localDiskFlag;
}
/**
* An item's location conflicts. For example, Dual Path network functionality cannot be ordered in WDC and as such is a conflict.
*/
@ApiProperty
protected List locationConflicts;
public List getLocationConflicts() {
if (locationConflicts == null) {
locationConflicts = new ArrayList();
}
return locationConflicts;
}
/**
* The minimum number of bays that support NVMe SSDs.
*/
@ApiProperty
protected Long minimumNvmeBays;
public Long getMinimumNvmeBays() {
return minimumNvmeBays;
}
public void setMinimumNvmeBays(Long minimumNvmeBays) {
this.minimumNvmeBays = minimumNvmeBays;
}
/**
* Indicates whether an item is a NVMe SSD.
*/
@ApiProperty
protected Boolean nvmeDiskFlag;
public Boolean getNvmeDiskFlag() {
return nvmeDiskFlag;
}
public void setNvmeDiskFlag(Boolean nvmeDiskFlag) {
this.nvmeDiskFlag = nvmeDiskFlag;
}
@ApiProperty
protected String objectStorageClusterGeolocationType;
public String getObjectStorageClusterGeolocationType() {
return objectStorageClusterGeolocationType;
}
public void setObjectStorageClusterGeolocationType(String objectStorageClusterGeolocationType) {
this.objectStorageClusterGeolocationType = objectStorageClusterGeolocationType;
}
@ApiProperty
protected Boolean objectStorageItemFlag;
public Boolean getObjectStorageItemFlag() {
return objectStorageItemFlag;
}
public void setObjectStorageItemFlag(Boolean objectStorageItemFlag) {
this.objectStorageItemFlag = objectStorageItemFlag;
}
@ApiProperty
protected String objectStorageServiceClass;
public String getObjectStorageServiceClass() {
return objectStorageServiceClass;
}
public void setObjectStorageServiceClass(String objectStorageServiceClass) {
this.objectStorageServiceClass = objectStorageServiceClass;
}
/**
* A collection of all the SoftLayer_Product_Package(s) in which this item exists.
*/
@ApiProperty
protected List packages;
public List getPackages() {
if (packages == null) {
packages = new ArrayList();
}
return packages;
}
/**
* The number of cores that a processor has.
*/
@ApiProperty
protected String physicalCoreCapacity;
public String getPhysicalCoreCapacity() {
return physicalCoreCapacity;
}
public void setPhysicalCoreCapacity(String physicalCoreCapacity) {
this.physicalCoreCapacity = physicalCoreCapacity;
}
@ApiProperty
protected List presaleEvents;
public List getPresaleEvents() {
if (presaleEvents == null) {
presaleEvents = new ArrayList();
}
return presaleEvents;
}
/**
* A product item's prices.
*/
@ApiProperty
protected List prices;
public List getPrices() {
if (prices == null) {
prices = new ArrayList();
}
return prices;
}
/**
* If an item must be ordered with another item, it will have a requirement item here.
*/
@ApiProperty
protected List requirements;
public List getRequirements() {
if (requirements == null) {
requirements = new ArrayList();
}
return requirements;
}
/**
* An item's rules. This includes the requirements and conflicts to resources that an item has.
*/
@ApiProperty
protected List rules;
public List getRules() {
if (rules == null) {
rules = new ArrayList();
}
return rules;
}
/**
* The SoftLayer_Software_Description tied to this item. This will only be populated for software items.
*/
@ApiProperty
protected Description softwareDescription;
public Description getSoftwareDescription() {
return softwareDescription;
}
public void setSoftwareDescription(Description softwareDescription) {
this.softwareDescription = softwareDescription;
}
/**
* An item's tax category, if applicable.
*/
@ApiProperty
protected Category taxCategory;
public Category getTaxCategory() {
return taxCategory;
}
public void setTaxCategory(Category taxCategory) {
this.taxCategory = taxCategory;
}
/**
* Third-party policy assignments for this product.
*/
@ApiProperty
protected List thirdPartyPolicyAssignments;
public List getThirdPartyPolicyAssignments() {
if (thirdPartyPolicyAssignments == null) {
thirdPartyPolicyAssignments = new ArrayList();
}
return thirdPartyPolicyAssignments;
}
/**
* The 3rd party vendor for a support subscription item. (Deprecated)
*/
@ApiProperty
protected String thirdPartySupportVendor;
public String getThirdPartySupportVendor() {
return thirdPartySupportVendor;
}
public void setThirdPartySupportVendor(String thirdPartySupportVendor) {
this.thirdPartySupportVendor = thirdPartySupportVendor;
}
/**
* The total number of physical processing cores (excluding virtual cores / hyperthreads) for this server.
*/
@ApiProperty
protected Long totalPhysicalCoreCapacity;
public Long getTotalPhysicalCoreCapacity() {
return totalPhysicalCoreCapacity;
}
public void setTotalPhysicalCoreCapacity(Long totalPhysicalCoreCapacity) {
this.totalPhysicalCoreCapacity = totalPhysicalCoreCapacity;
}
/**
* Shows the total number of cores. This is deprecated. Use [[SoftLayer_Product_Item/getCapacity|getCapacity]] for guest_core products and [[SoftLayer_Product_Item/getTotalPhysicalCoreCapacity|getTotalPhysicalCoreCapacity]] for server products
*/
@ApiProperty
protected Long totalPhysicalCoreCount;
public Long getTotalPhysicalCoreCount() {
return totalPhysicalCoreCount;
}
public void setTotalPhysicalCoreCount(Long totalPhysicalCoreCount) {
this.totalPhysicalCoreCount = totalPhysicalCoreCount;
}
/**
* The total number of processors for this server.
*/
@ApiProperty
protected Long totalProcessorCapacity;
public Long getTotalProcessorCapacity() {
return totalProcessorCapacity;
}
public void setTotalProcessorCapacity(Long totalProcessorCapacity) {
this.totalProcessorCapacity = totalProcessorCapacity;
}
/**
* Some product items have an upgrade path. This is the next product item in the upgrade path.
*/
@ApiProperty
protected Item upgradeItem;
public Item getUpgradeItem() {
return upgradeItem;
}
public void setUpgradeItem(Item upgradeItem) {
this.upgradeItem = upgradeItem;
}
/**
* Some product items have an upgrade path. These are those upgrade product items.
*/
@ApiProperty
protected List- upgradeItems;
public List
- getUpgradeItems() {
if (upgradeItems == null) {
upgradeItems = new ArrayList
- ();
}
return upgradeItems;
}
/**
* Some Product Items have capacity information such as RAM and bandwidth, and others. This provides the numerical representation of the capacity given in the description of this product item.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected BigDecimal capacity;
public BigDecimal getCapacity() {
return capacity;
}
public void setCapacity(BigDecimal capacity) {
capacitySpecified = true;
this.capacity = capacity;
}
protected boolean capacitySpecified;
public boolean isCapacitySpecified() {
return capacitySpecified;
}
public void unsetCapacity() {
capacity = null;
capacitySpecified = false;
}
/**
* A product's description
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String description;
public String getDescription() {
return description;
}
public void setDescription(String description) {
descriptionSpecified = true;
this.description = description;
}
protected boolean descriptionSpecified;
public boolean isDescriptionSpecified() {
return descriptionSpecified;
}
public void unsetDescription() {
description = null;
descriptionSpecified = false;
}
/**
* The hardware generic component model ID of the product.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long hardwareGenericComponentId;
public Long getHardwareGenericComponentId() {
return hardwareGenericComponentId;
}
public void setHardwareGenericComponentId(Long hardwareGenericComponentId) {
hardwareGenericComponentIdSpecified = true;
this.hardwareGenericComponentId = hardwareGenericComponentId;
}
protected boolean hardwareGenericComponentIdSpecified;
public boolean isHardwareGenericComponentIdSpecified() {
return hardwareGenericComponentIdSpecified;
}
public void unsetHardwareGenericComponentId() {
hardwareGenericComponentId = null;
hardwareGenericComponentIdSpecified = false;
}
/**
* A product's internal identification number
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
idSpecified = true;
this.id = id;
}
protected boolean idSpecified;
public boolean isIdSpecified() {
return idSpecified;
}
public void unsetId() {
id = null;
idSpecified = false;
}
/**
* A products tax category internal identification number
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long itemTaxCategoryId;
public Long getItemTaxCategoryId() {
return itemTaxCategoryId;
}
public void setItemTaxCategoryId(Long itemTaxCategoryId) {
itemTaxCategoryIdSpecified = true;
this.itemTaxCategoryId = itemTaxCategoryId;
}
protected boolean itemTaxCategoryIdSpecified;
public boolean isItemTaxCategoryIdSpecified() {
return itemTaxCategoryIdSpecified;
}
public void unsetItemTaxCategoryId() {
itemTaxCategoryId = null;
itemTaxCategoryIdSpecified = false;
}
/**
* A unique key name for the product.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String keyName;
public String getKeyName() {
return keyName;
}
public void setKeyName(String keyName) {
keyNameSpecified = true;
this.keyName = keyName;
}
protected boolean keyNameSpecified;
public boolean isKeyNameSpecified() {
return keyNameSpecified;
}
public void unsetKeyName() {
keyName = null;
keyNameSpecified = false;
}
/**
* Detailed product description
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String longDescription;
public String getLongDescription() {
return longDescription;
}
public void setLongDescription(String longDescription) {
longDescriptionSpecified = true;
this.longDescription = longDescription;
}
protected boolean longDescriptionSpecified;
public boolean isLongDescriptionSpecified() {
return longDescriptionSpecified;
}
public void unsetLongDescription() {
longDescription = null;
longDescriptionSpecified = false;
}
/**
* The unique identifier of the SoftLayer_Software_Description tied to this item.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long softwareDescriptionId;
public Long getSoftwareDescriptionId() {
return softwareDescriptionId;
}
public void setSoftwareDescriptionId(Long softwareDescriptionId) {
softwareDescriptionIdSpecified = true;
this.softwareDescriptionId = softwareDescriptionId;
}
protected boolean softwareDescriptionIdSpecified;
public boolean isSoftwareDescriptionIdSpecified() {
return softwareDescriptionIdSpecified;
}
public void unsetSoftwareDescriptionId() {
softwareDescriptionId = null;
softwareDescriptionIdSpecified = false;
}
/**
* The unit of measurement that a product item is measured in.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String units;
public String getUnits() {
return units;
}
public void setUnits(String units) {
unitsSpecified = true;
this.units = units;
}
protected boolean unitsSpecified;
public boolean isUnitsSpecified() {
return unitsSpecified;
}
public void unsetUnits() {
units = null;
unitsSpecified = false;
}
/**
* A products upgrade item's internal identification number
*/
@ApiProperty(canBeNullOrNotSet = true)
protected Long upgradeItemId;
public Long getUpgradeItemId() {
return upgradeItemId;
}
public void setUpgradeItemId(Long upgradeItemId) {
upgradeItemIdSpecified = true;
this.upgradeItemId = upgradeItemId;
}
protected boolean upgradeItemIdSpecified;
public boolean isUpgradeItemIdSpecified() {
return upgradeItemIdSpecified;
}
public void unsetUpgradeItemId() {
upgradeItemId = null;
upgradeItemIdSpecified = false;
}
/**
* A count of
*/
@ApiProperty
protected Long activePresaleEventCount;
public Long getActivePresaleEventCount() {
return activePresaleEventCount;
}
public void setActivePresaleEventCount(Long activePresaleEventCount) {
this.activePresaleEventCount = activePresaleEventCount;
}
/**
* A count of active usage based prices.
*/
@ApiProperty
protected Long activeUsagePriceCount;
public Long getActiveUsagePriceCount() {
return activeUsagePriceCount;
}
public void setActiveUsagePriceCount(Long activeUsagePriceCount) {
this.activeUsagePriceCount = activeUsagePriceCount;
}
/**
* A count of the attribute values for a product item. These are additional properties that give extra information about the product being sold.
*/
@ApiProperty
protected Long attributeCount;
public Long getAttributeCount() {
return attributeCount;
}
public void setAttributeCount(Long attributeCount) {
this.attributeCount = attributeCount;
}
/**
* A count of attributes that govern when an item may no longer be available.
*/
@ApiProperty
protected Long availabilityAttributeCount;
public Long getAvailabilityAttributeCount() {
return availabilityAttributeCount;
}
public void setAvailabilityAttributeCount(Long availabilityAttributeCount) {
this.availabilityAttributeCount = availabilityAttributeCount;
}
/**
* A count of an item's included product item references. Some items have other items included in them that we specifically detail. They are here called Bundled Items. An example is Plesk unlimited. It as a bundled item labeled 'SiteBuilder'. These are the SoftLayer_Product_Item_Bundles objects. See the SoftLayer_Product_Item::bundleItems property for bundle of SoftLayer_Product_Item of objects.
*/
@ApiProperty
protected Long bundleCount;
public Long getBundleCount() {
return bundleCount;
}
public void setBundleCount(Long bundleCount) {
this.bundleCount = bundleCount;
}
/**
* A count of an item's included products. Some items have other items included in them that we specifically detail. They are here called Bundled Items. An example is Plesk unlimited. It as a bundled item labeled 'SiteBuilder'. These are the SoftLayer_Product_Item objects.
*/
@ApiProperty
protected Long bundleItemCount;
public Long getBundleItemCount() {
return bundleItemCount;
}
public void setBundleItemCount(Long bundleItemCount) {
this.bundleItemCount = bundleItemCount;
}
/**
* A count of an item's associated item categories.
*/
@ApiProperty
protected Long categoryCount;
public Long getCategoryCount() {
return categoryCount;
}
public void setCategoryCount(Long categoryCount) {
this.categoryCount = categoryCount;
}
/**
* A count of some product items have configuration templates which can be used to during provisioning of that product.
*/
@ApiProperty
protected Long configurationTemplateCount;
public Long getConfigurationTemplateCount() {
return configurationTemplateCount;
}
public void setConfigurationTemplateCount(Long configurationTemplateCount) {
this.configurationTemplateCount = configurationTemplateCount;
}
/**
* A count of some product items have a downgrade path. These are those product items.
*/
@ApiProperty
protected Long downgradeItemCount;
public Long getDowngradeItemCount() {
return downgradeItemCount;
}
public void setDowngradeItemCount(Long downgradeItemCount) {
this.downgradeItemCount = downgradeItemCount;
}
/**
* A count of dEPRECATED. An item's inventory status per datacenter.
*/
@ApiProperty
protected Long inventoryCount;
public Long getInventoryCount() {
return inventoryCount;
}
public void setInventoryCount(Long inventoryCount) {
this.inventoryCount = inventoryCount;
}
/**
* A count of a collection of all the SoftLayer_Product_Package(s) in which this item exists.
*/
@ApiProperty
protected Long packageCount;
public Long getPackageCount() {
return packageCount;
}
public void setPackageCount(Long packageCount) {
this.packageCount = packageCount;
}
/**
* A count of
*/
@ApiProperty
protected Long presaleEventCount;
public Long getPresaleEventCount() {
return presaleEventCount;
}
public void setPresaleEventCount(Long presaleEventCount) {
this.presaleEventCount = presaleEventCount;
}
/**
* A count of a product item's prices.
*/
@ApiProperty
protected Long priceCount;
public Long getPriceCount() {
return priceCount;
}
public void setPriceCount(Long priceCount) {
this.priceCount = priceCount;
}
/**
* A count of an item's rules. This includes the requirements and conflicts to resources that an item has.
*/
@ApiProperty
protected Long ruleCount;
public Long getRuleCount() {
return ruleCount;
}
public void setRuleCount(Long ruleCount) {
this.ruleCount = ruleCount;
}
/**
* A count of third-party policy assignments for this product.
*/
@ApiProperty
protected Long thirdPartyPolicyAssignmentCount;
public Long getThirdPartyPolicyAssignmentCount() {
return thirdPartyPolicyAssignmentCount;
}
public void setThirdPartyPolicyAssignmentCount(Long thirdPartyPolicyAssignmentCount) {
this.thirdPartyPolicyAssignmentCount = thirdPartyPolicyAssignmentCount;
}
/**
* A count of some product items have an upgrade path. These are those upgrade product items.
*/
@ApiProperty
protected Long upgradeItemCount;
public Long getUpgradeItemCount() {
return upgradeItemCount;
}
public void setUpgradeItemCount(Long upgradeItemCount) {
this.upgradeItemCount = upgradeItemCount;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.sales.presale.Event.Mask activePresaleEvents() {
return withSubMask("activePresaleEvents", com.softlayer.api.service.sales.presale.Event.Mask.class);
}
public com.softlayer.api.service.product.item.Price.Mask activeUsagePrices() {
return withSubMask("activeUsagePrices", com.softlayer.api.service.product.item.Price.Mask.class);
}
public com.softlayer.api.service.product.item.Attribute.Mask attributes() {
return withSubMask("attributes", com.softlayer.api.service.product.item.Attribute.Mask.class);
}
public com.softlayer.api.service.product.item.Attribute.Mask availabilityAttributes() {
return withSubMask("availabilityAttributes", com.softlayer.api.service.product.item.Attribute.Mask.class);
}
public Mask billingType() {
withLocalProperty("billingType");
return this;
}
public com.softlayer.api.service.product.item.Bundles.Mask bundle() {
return withSubMask("bundle", com.softlayer.api.service.product.item.Bundles.Mask.class);
}
public Item.Mask bundleItems() {
return withSubMask("bundleItems", Item.Mask.class);
}
public Mask capacityMaximum() {
withLocalProperty("capacityMaximum");
return this;
}
public Mask capacityMinimum() {
withLocalProperty("capacityMinimum");
return this;
}
public Mask capacityRestrictedProductFlag() {
withLocalProperty("capacityRestrictedProductFlag");
return this;
}
public com.softlayer.api.service.product.item.Category.Mask categories() {
return withSubMask("categories", com.softlayer.api.service.product.item.Category.Mask.class);
}
public com.softlayer.api.service.configuration.Template.Mask configurationTemplates() {
return withSubMask("configurationTemplates", com.softlayer.api.service.configuration.Template.Mask.class);
}
public com.softlayer.api.service.product.item.resource.Conflict.Mask conflicts() {
return withSubMask("conflicts", com.softlayer.api.service.product.item.resource.Conflict.Mask.class);
}
public Mask coreRestrictedItemFlag() {
withLocalProperty("coreRestrictedItemFlag");
return this;
}
public Item.Mask downgradeItem() {
return withSubMask("downgradeItem", Item.Mask.class);
}
public Item.Mask downgradeItems() {
return withSubMask("downgradeItems", Item.Mask.class);
}
public com.softlayer.api.service.product.item.resource.Conflict.Mask globalCategoryConflicts() {
return withSubMask("globalCategoryConflicts", com.softlayer.api.service.product.item.resource.Conflict.Mask.class);
}
public com.softlayer.api.service.hardware.component.model.Generic.Mask hardwareGenericComponentModel() {
return withSubMask("hardwareGenericComponentModel", com.softlayer.api.service.hardware.component.model.Generic.Mask.class);
}
public Mask hideFromPortalFlag() {
withLocalProperty("hideFromPortalFlag");
return this;
}
public Mask ineligibleForAccountDiscountFlag() {
withLocalProperty("ineligibleForAccountDiscountFlag");
return this;
}
public com.softlayer.api.service.product.pkg.Inventory.Mask inventory() {
return withSubMask("inventory", com.softlayer.api.service.product.pkg.Inventory.Mask.class);
}
public Mask isEngineeredServerProduct() {
withLocalProperty("isEngineeredServerProduct");
return this;
}
public com.softlayer.api.service.product.item.Category.Mask itemCategory() {
return withSubMask("itemCategory", com.softlayer.api.service.product.item.Category.Mask.class);
}
public Mask localDiskFlag() {
withLocalProperty("localDiskFlag");
return this;
}
public com.softlayer.api.service.product.item.resource.Conflict.Mask locationConflicts() {
return withSubMask("locationConflicts", com.softlayer.api.service.product.item.resource.Conflict.Mask.class);
}
public Mask minimumNvmeBays() {
withLocalProperty("minimumNvmeBays");
return this;
}
public Mask nvmeDiskFlag() {
withLocalProperty("nvmeDiskFlag");
return this;
}
public Mask objectStorageClusterGeolocationType() {
withLocalProperty("objectStorageClusterGeolocationType");
return this;
}
public Mask objectStorageItemFlag() {
withLocalProperty("objectStorageItemFlag");
return this;
}
public Mask objectStorageServiceClass() {
withLocalProperty("objectStorageServiceClass");
return this;
}
public Package.Mask packages() {
return withSubMask("packages", Package.Mask.class);
}
public Mask physicalCoreCapacity() {
withLocalProperty("physicalCoreCapacity");
return this;
}
public com.softlayer.api.service.sales.presale.Event.Mask presaleEvents() {
return withSubMask("presaleEvents", com.softlayer.api.service.sales.presale.Event.Mask.class);
}
public com.softlayer.api.service.product.item.Price.Mask prices() {
return withSubMask("prices", com.softlayer.api.service.product.item.Price.Mask.class);
}
public com.softlayer.api.service.product.item.Requirement.Mask requirements() {
return withSubMask("requirements", com.softlayer.api.service.product.item.Requirement.Mask.class);
}
public com.softlayer.api.service.product.item.Rule.Mask rules() {
return withSubMask("rules", com.softlayer.api.service.product.item.Rule.Mask.class);
}
public com.softlayer.api.service.software.Description.Mask softwareDescription() {
return withSubMask("softwareDescription", com.softlayer.api.service.software.Description.Mask.class);
}
public com.softlayer.api.service.product.item.tax.Category.Mask taxCategory() {
return withSubMask("taxCategory", com.softlayer.api.service.product.item.tax.Category.Mask.class);
}
public com.softlayer.api.service.product.item.policy.Assignment.Mask thirdPartyPolicyAssignments() {
return withSubMask("thirdPartyPolicyAssignments", com.softlayer.api.service.product.item.policy.Assignment.Mask.class);
}
public Mask thirdPartySupportVendor() {
withLocalProperty("thirdPartySupportVendor");
return this;
}
public Mask totalPhysicalCoreCapacity() {
withLocalProperty("totalPhysicalCoreCapacity");
return this;
}
public Mask totalPhysicalCoreCount() {
withLocalProperty("totalPhysicalCoreCount");
return this;
}
public Mask totalProcessorCapacity() {
withLocalProperty("totalProcessorCapacity");
return this;
}
public Item.Mask upgradeItem() {
return withSubMask("upgradeItem", Item.Mask.class);
}
public Item.Mask upgradeItems() {
return withSubMask("upgradeItems", Item.Mask.class);
}
public Mask capacity() {
withLocalProperty("capacity");
return this;
}
public Mask description() {
withLocalProperty("description");
return this;
}
public Mask hardwareGenericComponentId() {
withLocalProperty("hardwareGenericComponentId");
return this;
}
public Mask id() {
withLocalProperty("id");
return this;
}
public Mask itemTaxCategoryId() {
withLocalProperty("itemTaxCategoryId");
return this;
}
public Mask keyName() {
withLocalProperty("keyName");
return this;
}
public Mask longDescription() {
withLocalProperty("longDescription");
return this;
}
public Mask softwareDescriptionId() {
withLocalProperty("softwareDescriptionId");
return this;
}
public Mask units() {
withLocalProperty("units");
return this;
}
public Mask upgradeItemId() {
withLocalProperty("upgradeItemId");
return this;
}
public Mask activePresaleEventCount() {
withLocalProperty("activePresaleEventCount");
return this;
}
public Mask activeUsagePriceCount() {
withLocalProperty("activeUsagePriceCount");
return this;
}
public Mask attributeCount() {
withLocalProperty("attributeCount");
return this;
}
public Mask availabilityAttributeCount() {
withLocalProperty("availabilityAttributeCount");
return this;
}
public Mask bundleCount() {
withLocalProperty("bundleCount");
return this;
}
public Mask bundleItemCount() {
withLocalProperty("bundleItemCount");
return this;
}
public Mask categoryCount() {
withLocalProperty("categoryCount");
return this;
}
public Mask configurationTemplateCount() {
withLocalProperty("configurationTemplateCount");
return this;
}
public Mask downgradeItemCount() {
withLocalProperty("downgradeItemCount");
return this;
}
public Mask inventoryCount() {
withLocalProperty("inventoryCount");
return this;
}
public Mask packageCount() {
withLocalProperty("packageCount");
return this;
}
public Mask presaleEventCount() {
withLocalProperty("presaleEventCount");
return this;
}
public Mask priceCount() {
withLocalProperty("priceCount");
return this;
}
public Mask ruleCount() {
withLocalProperty("ruleCount");
return this;
}
public Mask thirdPartyPolicyAssignmentCount() {
withLocalProperty("thirdPartyPolicyAssignmentCount");
return this;
}
public Mask upgradeItemCount() {
withLocalProperty("upgradeItemCount");
return this;
}
}
}