Package com.softlayer.api.service.ticket
Class Subject
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.ticket.Subject
@ApiType("SoftLayer_Ticket_Subject") public class Subject extends Entity
The SoftLayer_Ticket_Subject data type models one of the possible subjects that a standard support ticket may belong to. A basic support ticket's title matches it's corresponding subject's name.
- See Also:
- SoftLayer_Ticket_Subject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubject.Maskstatic interfaceSubject.ServiceEvery standard support ticket submitted to SoftLayer contains a relationship to a pre-determined subject which populates that ticket's title.static interfaceSubject.ServiceAsync -
Field Summary
Fields Modifier and Type Field Description protected Categorycategoryprotected LongcategoryIdThe subject category id that this ticket subject belongs to.protected booleancategoryIdSpecifiedprotected List<Subject>childrenA child subjectprotected LongchildrenCountA count of a child subjectprotected Groupgroupprotected LongidA ticket subject's internal identifier.protected booleanidSpecifiedprotected StringnameA ticket subject's name.protected booleannameSpecifiedprotected SubjectparentA parent subjectprotected LongparentIdSpecifies the parent subject id.protected booleanparentIdSpecifiedFields inherited from class com.softlayer.api.Type
unknownProperties -
Constructor Summary
Constructors Constructor Description Subject() -
Method Summary
Modifier and Type Method Description Subject.ServiceasService(ApiClient client)CategorygetCategory()LonggetCategoryId()List<Subject>getChildren()LonggetChildrenCount()GroupgetGroup()LonggetId()StringgetName()SubjectgetParent()LonggetParentId()booleanisCategoryIdSpecified()booleanisIdSpecified()booleanisNameSpecified()booleanisParentIdSpecified()static Subject.Serviceservice(ApiClient client)static Subject.Serviceservice(ApiClient client, Long id)voidsetCategory(Category category)voidsetCategoryId(Long categoryId)voidsetChildrenCount(Long childrenCount)voidsetGroup(Group group)voidsetId(Long id)voidsetName(String name)voidsetParent(Subject parent)voidsetParentId(Long parentId)voidunsetCategoryId()voidunsetId()voidunsetName()voidunsetParentId()Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
category
-
children
A child subject -
group
-
parent
A parent subject -
categoryId
The subject category id that this ticket subject belongs to. -
categoryIdSpecified
protected boolean categoryIdSpecified -
id
A ticket subject's internal identifier. -
idSpecified
protected boolean idSpecified -
name
A ticket subject's name. This name is used for a standard support ticket's title. -
nameSpecified
protected boolean nameSpecified -
parentId
Specifies the parent subject id. -
parentIdSpecified
protected boolean parentIdSpecified -
childrenCount
A count of a child subject
-
-
Constructor Details
-
Subject
public Subject()
-
-
Method Details
-
getCategory
-
setCategory
-
getChildren
-
getGroup
-
setGroup
-
getParent
-
setParent
-
getCategoryId
-
setCategoryId
-
isCategoryIdSpecified
public boolean isCategoryIdSpecified() -
unsetCategoryId
public void unsetCategoryId() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName() -
getParentId
-
setParentId
-
isParentIdSpecified
public boolean isParentIdSpecified() -
unsetParentId
public void unsetParentId() -
getChildrenCount
-
setChildrenCount
-
asService
-
service
-
service
-