Class Items
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.product.pkg.Items
-
@ApiType("SoftLayer_Product_Package_Items") public class Items extends Entity
This data type is a cross-reference between the SoftLayer_Product_Package and the SoftLayer_Product_Item(s) that belong in the SoftLayer_Product_Package.- See Also:
- SoftLayer_Product_Package_Items
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Items.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
id
The unique identifier for this object.protected boolean
idSpecified
protected Item
item
The item to which this object belongs.protected Long
itemId
The SoftLayer_Product_Item id to which this instance of the object belongs.protected boolean
itemIdSpecified
protected Package
itemsPackage
The package to which this object belongs.protected Long
packageId
The SoftLayer_Product_Package id to which this instance of the object belongs.protected boolean
packageIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Items()
-
Method Summary
Modifier and Type Method Description String
getId()
Item
getItem()
Long
getItemId()
Package
getItemsPackage()
Long
getPackageId()
boolean
isIdSpecified()
boolean
isItemIdSpecified()
boolean
isPackageIdSpecified()
void
setId(String id)
void
setItem(Item item)
void
setItemId(Long itemId)
void
setItemsPackage(Package itemsPackage)
void
setPackageId(Long packageId)
void
unsetId()
void
unsetItemId()
void
unsetPackageId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
item
@ApiProperty protected Item item
The item to which this object belongs.
-
itemsPackage
@ApiProperty("package") protected Package itemsPackage
The package to which this object belongs.
-
id
@ApiProperty(canBeNullOrNotSet=true) protected String id
The unique identifier for this object. It is not used anywhere but in this object.
-
idSpecified
protected boolean idSpecified
-
itemId
@ApiProperty(canBeNullOrNotSet=true) protected Long itemId
The SoftLayer_Product_Item id to which this instance of the object belongs.
-
itemIdSpecified
protected boolean itemIdSpecified
-
packageId
@ApiProperty(canBeNullOrNotSet=true) protected Long packageId
The SoftLayer_Product_Package id to which this instance of the object belongs.
-
packageIdSpecified
protected boolean packageIdSpecified
-
-
Method Detail
-
getItem
public Item getItem()
-
setItem
public void setItem(Item item)
-
getItemsPackage
public Package getItemsPackage()
-
setItemsPackage
public void setItemsPackage(Package itemsPackage)
-
getId
public String getId()
-
setId
public void setId(String id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getItemId
public Long getItemId()
-
setItemId
public void setItemId(Long itemId)
-
isItemIdSpecified
public boolean isItemIdSpecified()
-
unsetItemId
public void unsetItemId()
-
getPackageId
public Long getPackageId()
-
setPackageId
public void setPackageId(Long packageId)
-
isPackageIdSpecified
public boolean isPackageIdSpecified()
-
unsetPackageId
public void unsetPackageId()
-
-