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
All Methods Instance Methods Abstract Methods 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 it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
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
void setMask(Assignment.Mask mask)
-
acceptFromTicket
@ApiMethod(instanceRequired=true) Boolean acceptFromTicket(Long ticketId)
Register the acceptance of the associated policy to product assignment, and link the created record to a Ticket.
-
getObject
@ApiMethod(instanceRequired=true) Assignment getObject()
-
getPolicyDocumentContents
@ApiMethod(instanceRequired=true) byte[] getPolicyDocumentContents()
Retrieve the binary contents of the associated PDF policy document.
-
getPolicyName
@ApiMethod(instanceRequired=true) String getPolicyName()
The name of the assigned policy.
-
getProduct
@ApiMethod(instanceRequired=true) Item getProduct()
The [[SoftLayer_Product_Item]] for this policy assignment.
-
-