Interface Assignment.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Assignment
@ApiService("SoftLayer_Product_Item_Policy_Assignment") public static interface Assignment.Service extends Service
Serves as a data source for additional information about the policy to product assignment.
- See Also:
- SoftLayer_Product_Item_Policy_Assignment
-
Method Summary
Modifier and Type Method Description Boolean
acceptFromTicket(Long ticketId)
Register the acceptance of the associated policy to product assignment, and link the created record to a Ticket.Assignment.ServiceAsync
asAsync()
Get an async version of this serviceAssignment
getObject()
byte[]
getPolicyDocumentContents()
Retrieve the binary contents of the associated PDF policy document.String
getPolicyName()
The name of the assigned policy.Item
getProduct()
The [[SoftLayer_Product_Item]] for this policy assignment.void
setMask(Assignment.Mask mask)
Assignment.Mask
withMask()
Use the existing mask on this service or create it if not presentAssignment.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
Assignment.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Assignment.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
Assignment.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
acceptFromTicket
Register the acceptance of the associated policy to product assignment, and link the created record to a Ticket. -
getObject
-
getPolicyDocumentContents
Retrieve the binary contents of the associated PDF policy document. -
getPolicyName
The name of the assigned policy. -
getProduct
The [[SoftLayer_Product_Item]] for this policy assignment.
-