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 Detail
-
item
@ApiProperty protected Item item
The product package item that is associated with an inventory record.
-
location
@ApiProperty protected Location location
The datacenter that an inventory record is located in.
-
inventoryPackage
@ApiProperty("package") protected Package inventoryPackage
The product package that is associated with an inventory record.
-
availableInventoryCount
@ApiProperty(canBeNullOrNotSet=true) protected Long availableInventoryCount
DEPRECATED. The number of units available for purchase in inventory for a single item in a single datacenter.
-
availableInventoryCountSpecified
protected boolean availableInventoryCountSpecified
-
itemId
@ApiProperty(canBeNullOrNotSet=true) protected Long itemId
DEPRECATED. The unique identifier of the product item that an inventory record is associated with.
-
itemIdSpecified
protected boolean itemIdSpecified
-
locationId
@ApiProperty(canBeNullOrNotSet=true) protected Long locationId
DEPRECATED. The unique identifier of the datacenter that an inventory record is located in.
-
locationIdSpecified
protected boolean locationIdSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
DEPRECATED. The date that an inventory record was last updated.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
overstockFlag
@ApiProperty(canBeNullOrNotSet=true) protected Long overstockFlag
DEPRECATED. Whether an inventory record is marked as "overstock".
-
overstockFlagSpecified
protected boolean overstockFlagSpecified
-
packageId
@ApiProperty(canBeNullOrNotSet=true) protected Long packageId
DEPRECATED. The unique identifier of the product package that an inventory record is associated with.
-
packageIdSpecified
protected boolean packageIdSpecified
-
-
Method Detail
-
getItem
public Item getItem()
-
setItem
public void setItem(Item item)
-
getLocation
public Location getLocation()
-
setLocation
public void setLocation(Location location)
-
getInventoryPackage
public Package getInventoryPackage()
-
setInventoryPackage
public void setInventoryPackage(Package inventoryPackage)
-
getAvailableInventoryCount
public Long getAvailableInventoryCount()
-
setAvailableInventoryCount
public void setAvailableInventoryCount(Long availableInventoryCount)
-
isAvailableInventoryCountSpecified
public boolean isAvailableInventoryCountSpecified()
-
unsetAvailableInventoryCount
public void unsetAvailableInventoryCount()
-
getItemId
public Long getItemId()
-
setItemId
public void setItemId(Long itemId)
-
isItemIdSpecified
public boolean isItemIdSpecified()
-
unsetItemId
public void unsetItemId()
-
getLocationId
public Long getLocationId()
-
setLocationId
public void setLocationId(Long locationId)
-
isLocationIdSpecified
public boolean isLocationIdSpecified()
-
unsetLocationId
public void unsetLocationId()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getOverstockFlag
public Long getOverstockFlag()
-
setOverstockFlag
public void setOverstockFlag(Long overstockFlag)
-
isOverstockFlagSpecified
public boolean isOverstockFlagSpecified()
-
unsetOverstockFlag
public void unsetOverstockFlag()
-
getPackageId
public Long getPackageId()
-
setPackageId
public void setPackageId(Long packageId)
-
isPackageIdSpecified
public boolean isPackageIdSpecified()
-
unsetPackageId
public void unsetPackageId()
-
-