Class Group
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.product.pkg.item.category.Group
-
@ApiType("SoftLayer_Product_Package_Item_Category_Group") public class Group extends Entity
This class is used to organize categories for a service offering. A service offering (usually) contains multiple categories (e.g., server, os, disk0, ram). This class allows us to organize the prices into related item category groups.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Group.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Category
category
protected Package
groupPackage
protected Long
itemCategoryId
The item category id associated with this group.protected boolean
itemCategoryIdSpecified
protected Long
packageId
The service offering id associated with this group.protected boolean
packageIdSpecified
protected Long
priceCount
A count ofprotected List<Price>
prices
protected Long
sort
The sort value for this group.protected boolean
sortSpecified
protected String
title
An optional title associated with this group.protected boolean
titleSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Group()
-
Method Summary
Modifier and Type Method Description Category
getCategory()
Package
getGroupPackage()
Long
getItemCategoryId()
Long
getPackageId()
Long
getPriceCount()
List<Price>
getPrices()
Long
getSort()
String
getTitle()
boolean
isItemCategoryIdSpecified()
boolean
isPackageIdSpecified()
boolean
isSortSpecified()
boolean
isTitleSpecified()
void
setCategory(Category category)
void
setGroupPackage(Package groupPackage)
void
setItemCategoryId(Long itemCategoryId)
void
setPackageId(Long packageId)
void
setPriceCount(Long priceCount)
void
setSort(Long sort)
void
setTitle(String title)
void
unsetItemCategoryId()
void
unsetPackageId()
void
unsetSort()
void
unsetTitle()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
category
@ApiProperty protected Category category
-
groupPackage
@ApiProperty("package") protected Package groupPackage
-
prices
@ApiProperty protected List<Price> prices
-
itemCategoryId
@ApiProperty(canBeNullOrNotSet=true) protected Long itemCategoryId
The item category id associated with this group.
-
itemCategoryIdSpecified
protected boolean itemCategoryIdSpecified
-
packageId
@ApiProperty(canBeNullOrNotSet=true) protected Long packageId
The service offering id associated with this group.
-
packageIdSpecified
protected boolean packageIdSpecified
-
sort
@ApiProperty(canBeNullOrNotSet=true) protected Long sort
The sort value for this group.
-
sortSpecified
protected boolean sortSpecified
-
title
@ApiProperty(canBeNullOrNotSet=true) protected String title
An optional title associated with this group. E.g., for operating systems, this will be the manufacturer.
-
titleSpecified
protected boolean titleSpecified
-
priceCount
@ApiProperty protected Long priceCount
A count of
-
-
Method Detail
-
getCategory
public Category getCategory()
-
setCategory
public void setCategory(Category category)
-
getGroupPackage
public Package getGroupPackage()
-
setGroupPackage
public void setGroupPackage(Package groupPackage)
-
getItemCategoryId
public Long getItemCategoryId()
-
setItemCategoryId
public void setItemCategoryId(Long itemCategoryId)
-
isItemCategoryIdSpecified
public boolean isItemCategoryIdSpecified()
-
unsetItemCategoryId
public void unsetItemCategoryId()
-
getPackageId
public Long getPackageId()
-
setPackageId
public void setPackageId(Long packageId)
-
isPackageIdSpecified
public boolean isPackageIdSpecified()
-
unsetPackageId
public void unsetPackageId()
-
getSort
public Long getSort()
-
setSort
public void setSort(Long sort)
-
isSortSpecified
public boolean isSortSpecified()
-
unsetSort
public void unsetSort()
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
isTitleSpecified
public boolean isTitleSpecified()
-
unsetTitle
public void unsetTitle()
-
getPriceCount
public Long getPriceCount()
-
setPriceCount
public void setPriceCount(Long priceCount)
-
-