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 class
Subject.Mask
static interface
Subject.Service
Every standard support ticket submitted to SoftLayer contains a relationship to a pre-determined subject which populates that ticket's title.static interface
Subject.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Category
category
protected Long
categoryId
The subject category id that this ticket subject belongs to.protected boolean
categoryIdSpecified
protected List<Subject>
children
A child subjectprotected Long
childrenCount
A count of a child subjectprotected Group
group
protected Long
id
A ticket subject's internal identifier.protected boolean
idSpecified
protected String
name
A ticket subject's name.protected boolean
nameSpecified
protected Subject
parent
A parent subjectprotected Long
parentId
Specifies the parent subject id.protected boolean
parentIdSpecified
-
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.Service
asService(ApiClient client)
Category
getCategory()
Long
getCategoryId()
List<Subject>
getChildren()
Long
getChildrenCount()
Group
getGroup()
Long
getId()
String
getName()
Subject
getParent()
Long
getParentId()
boolean
isCategoryIdSpecified()
boolean
isIdSpecified()
boolean
isNameSpecified()
boolean
isParentIdSpecified()
static Subject.Service
service(ApiClient client)
static Subject.Service
service(ApiClient client, Long id)
void
setCategory(Category category)
void
setCategoryId(Long categoryId)
void
setChildrenCount(Long childrenCount)
void
setGroup(Group group)
void
setId(Long id)
void
setName(String name)
void
setParent(Subject parent)
void
setParentId(Long parentId)
void
unsetCategoryId()
void
unsetId()
void
unsetName()
void
unsetParentId()
-
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)
-
-