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 booleanparentIdSpecified-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Subject()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
category
@ApiProperty protected Category category
-
children
@ApiProperty protected List<Subject> children
A child subject
-
group
@ApiProperty protected Group group
-
parent
@ApiProperty protected Subject parent
A parent subject
-
categoryId
@ApiProperty(canBeNullOrNotSet=true) protected Long categoryId
The subject category id that this ticket subject belongs to.
-
categoryIdSpecified
protected boolean categoryIdSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A ticket subject's internal identifier.
-
idSpecified
protected boolean idSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
A ticket subject's name. This name is used for a standard support ticket's title.
-
nameSpecified
protected boolean nameSpecified
-
parentId
@ApiProperty(canBeNullOrNotSet=true) protected Long parentId
Specifies the parent subject id.
-
parentIdSpecified
protected boolean parentIdSpecified
-
childrenCount
@ApiProperty protected Long childrenCount
A count of a child subject
-
-
Method Detail
-
getCategory
public Category getCategory()
-
setCategory
public void setCategory(Category category)
-
getGroup
public Group getGroup()
-
setGroup
public void setGroup(Group group)
-
getParent
public Subject getParent()
-
setParent
public void setParent(Subject parent)
-
getCategoryId
public Long getCategoryId()
-
setCategoryId
public void setCategoryId(Long categoryId)
-
isCategoryIdSpecified
public boolean isCategoryIdSpecified()
-
unsetCategoryId
public void unsetCategoryId()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
getParentId
public Long getParentId()
-
setParentId
public void setParentId(Long parentId)
-
isParentIdSpecified
public boolean isParentIdSpecified()
-
unsetParentId
public void unsetParentId()
-
getChildrenCount
public Long getChildrenCount()
-
setChildrenCount
public void setChildrenCount(Long childrenCount)
-
asService
public Subject.Service asService(ApiClient client)
-
service
public static Subject.Service service(ApiClient client)
-
service
public static Subject.Service service(ApiClient client, Long id)
-
-