Class Inventory
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.product.pkg.Inventory
@ApiType("SoftLayer_Product_Package_Inventory") public class Inventory extends Entity
This is deprecated.
- See Also:
- SoftLayer_Product_Package_Inventory
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Inventory.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Long
availableInventoryCount
DEPRECATED.protected boolean
availableInventoryCountSpecified
protected Package
inventoryPackage
The product package that is associated with an inventory record.protected Item
item
The product package item that is associated with an inventory record.protected Long
itemId
DEPRECATED.protected boolean
itemIdSpecified
protected Location
location
The datacenter that an inventory record is located in.protected Long
locationId
DEPRECATED.protected boolean
locationIdSpecified
protected GregorianCalendar
modifyDate
DEPRECATED.protected boolean
modifyDateSpecified
protected Long
overstockFlag
DEPRECATED.protected boolean
overstockFlagSpecified
protected Long
packageId
DEPRECATED.protected boolean
packageIdSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Inventory()
-
Method Summary
Modifier and Type Method Description Long
getAvailableInventoryCount()
Package
getInventoryPackage()
Item
getItem()
Long
getItemId()
Location
getLocation()
Long
getLocationId()
GregorianCalendar
getModifyDate()
Long
getOverstockFlag()
Long
getPackageId()
boolean
isAvailableInventoryCountSpecified()
boolean
isItemIdSpecified()
boolean
isLocationIdSpecified()
boolean
isModifyDateSpecified()
boolean
isOverstockFlagSpecified()
boolean
isPackageIdSpecified()
void
setAvailableInventoryCount(Long availableInventoryCount)
void
setInventoryPackage(Package inventoryPackage)
void
setItem(Item item)
void
setItemId(Long itemId)
void
setLocation(Location location)
void
setLocationId(Long locationId)
void
setModifyDate(GregorianCalendar modifyDate)
void
setOverstockFlag(Long overstockFlag)
void
setPackageId(Long packageId)
void
unsetAvailableInventoryCount()
void
unsetItemId()
void
unsetLocationId()
void
unsetModifyDate()
void
unsetOverstockFlag()
void
unsetPackageId()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
item
The product package item that is associated with an inventory record. -
location
The datacenter that an inventory record is located in. -
inventoryPackage
The product package that is associated with an inventory record. -
availableInventoryCount
DEPRECATED. The number of units available for purchase in inventory for a single item in a single datacenter. -
availableInventoryCountSpecified
protected boolean availableInventoryCountSpecified -
itemId
DEPRECATED. The unique identifier of the product item that an inventory record is associated with. -
itemIdSpecified
protected boolean itemIdSpecified -
locationId
DEPRECATED. The unique identifier of the datacenter that an inventory record is located in. -
locationIdSpecified
protected boolean locationIdSpecified -
modifyDate
DEPRECATED. The date that an inventory record was last updated. -
modifyDateSpecified
protected boolean modifyDateSpecified -
overstockFlag
DEPRECATED. Whether an inventory record is marked as "overstock". -
overstockFlagSpecified
protected boolean overstockFlagSpecified -
packageId
DEPRECATED. The unique identifier of the product package that an inventory record is associated with. -
packageIdSpecified
protected boolean packageIdSpecified
-
-
Constructor Details
-
Inventory
public Inventory()
-
-
Method Details
-
getItem
-
setItem
-
getLocation
-
setLocation
-
getInventoryPackage
-
setInventoryPackage
-
getAvailableInventoryCount
-
setAvailableInventoryCount
-
isAvailableInventoryCountSpecified
public boolean isAvailableInventoryCountSpecified() -
unsetAvailableInventoryCount
public void unsetAvailableInventoryCount() -
getItemId
-
setItemId
-
isItemIdSpecified
public boolean isItemIdSpecified() -
unsetItemId
public void unsetItemId() -
getLocationId
-
setLocationId
-
isLocationIdSpecified
public boolean isLocationIdSpecified() -
unsetLocationId
public void unsetLocationId() -
getModifyDate
-
setModifyDate
-
isModifyDateSpecified
public boolean isModifyDateSpecified() -
unsetModifyDate
public void unsetModifyDate() -
getOverstockFlag
-
setOverstockFlag
-
isOverstockFlagSpecified
public boolean isOverstockFlagSpecified() -
unsetOverstockFlag
public void unsetOverstockFlag() -
getPackageId
-
setPackageId
-
isPackageIdSpecified
public boolean isPackageIdSpecified() -
unsetPackageId
public void unsetPackageId()
-