Interface Employee.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Employee
@ApiService("SoftLayer_Ticket_Update_Employee") public static interface Employee.Service extends Service
Retrieve an update to a ticket made by a SoftLayer employee. Ticket updates created by employees have the option of being rated on a one to five scale. Because customer updates don't have this ability the SoftLayer_Ticket_Update_Employee class has it's own service.
- See Also:
- SoftLayer_Ticket_Update_Employee
-
Method Summary
Modifier and Type Method Description Boolean
addResponseRating(Long responseRating, Long responseIndex)
As part of the customer service process SoftLayer has provided a quick feedback mechanism for its customers to rate the responses that its employees give on tickets.Employee.ServiceAsync
asAsync()
Get an async version of this serviceEmployee
getObject()
getObject retrieves the SoftLayer_Ticket_Update_Employee object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Ticket_Update_Employee service.void
setMask(Employee.Mask mask)
Employee.Mask
withMask()
Use the existing mask on this service or create it if not presentEmployee.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Employee.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Employee.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
Employee.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
addResponseRating
@ApiMethod(instanceRequired=true) Boolean addResponseRating(Long responseRating, Long responseIndex)As part of the customer service process SoftLayer has provided a quick feedback mechanism for its customers to rate the responses that its employees give on tickets. addResponseRating() sets the rating for a single ticket update made by a SoftLayer employee. Ticket ratings have the integer values 1 through 5, with 1 being the worst and 5 being the best. Once the rating is set ''addResponseRating()'' returns a boolean true. -
getObject
getObject retrieves the SoftLayer_Ticket_Update_Employee object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Ticket_Update_Employee service. You can only retrieve employee updates to tickets that your API account has access to.
-