Package com.softlayer.api.service.ticket
Interface Subject.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Subject
@ApiService("SoftLayer_Ticket_Subject") public static interface Subject.Service extends Service
Every standard support ticket submitted to SoftLayer contains a relationship to a pre-determined subject which populates that ticket's title. The SoftLayer_Ticket_Subject service retrieves these subjects. These ticket subjects also determine which department a ticket is opened for.- See Also:
- SoftLayer_Ticket_Subject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Subject.ServiceAsync
asAsync()
Get an async version of this serviceList<Subject>
getAllObjects()
Retrieve all possible ticket subjects.Category
getCategory()
List<Subject>
getChildren()
A child subjectGroup
getGroup()
Subject
getObject()
getObject retrieves the SoftLayer_Ticket_Subject object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Ticket_Subject service.Subject
getParent()
A parent subjectList<QuestionAnswer>
getTopFiveKnowledgeLayerQuestions()
SoftLayer maintains relationships between the generic subjects for standard administration and the top five commonly asked questions about these subjects.void
setMask(Subject.Mask mask)
Subject.Mask
withMask()
Use the existing mask on this service or create it if not presentSubject.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Subject.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Subject.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Subject.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Subject.Mask mask)
-
getAllObjects
@ApiMethod List<Subject> getAllObjects()
Retrieve all possible ticket subjects. The SoftLayer customer portal uses this method in the add standard support ticket form.- See Also:
- SoftLayer_Ticket_Subject::getAllObjects
-
getObject
@ApiMethod(instanceRequired=true) Subject getObject()
getObject retrieves the SoftLayer_Ticket_Subject object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Ticket_Subject service.- See Also:
- SoftLayer_Ticket_Subject::getObject
-
getTopFiveKnowledgeLayerQuestions
@ApiMethod(instanceRequired=true) List<QuestionAnswer> getTopFiveKnowledgeLayerQuestions()
SoftLayer maintains relationships between the generic subjects for standard administration and the top five commonly asked questions about these subjects. getTopFileKnowledgeLayerQuestions() retrieves the top five questions and answers from the SoftLayer KnowledgeLayer related to the given ticket subject.
-
getCategory
@ApiMethod(instanceRequired=true) Category getCategory()
- See Also:
- SoftLayer_Ticket_Subject::getCategory
-
getChildren
@ApiMethod(instanceRequired=true) List<Subject> getChildren()
A child subject- See Also:
- SoftLayer_Ticket_Subject::getChildren
-
getGroup
@ApiMethod(instanceRequired=true) Group getGroup()
- See Also:
- SoftLayer_Ticket_Subject::getGroup
-
getParent
@ApiMethod(instanceRequired=true) Subject getParent()
A parent subject- See Also:
- SoftLayer_Ticket_Subject::getParent
-
-