Interface Request.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Request
@ApiService("SoftLayer_Product_Upgrade_Request") public static interface Request.Service extends Service
SoftLayer_Product_Upgrade_Request tracks the progress of an upgrade, and allows modification of the maintenance window and other information.
- See Also:
- SoftLayer_Product_Upgrade_Request
-
Method Summary
Modifier and Type Method Description Boolean
approveChanges()
When a change is made to an upgrade by Sales, this method will approve the changes that were made.Request.ServiceAsync
asAsync()
Get an async version of this serviceAccount
getAccount()
The account that an order belongs toBoolean
getCompletedFlag()
Indicates that the upgrade request has completed or has been cancelled.Invoice
getInvoice()
This is the invoice associated with the upgrade request.Request
getObject()
getObject retrieves a SoftLayer_Product_Upgrade_Request object on your account whose ID corresponds to the ID of the init parameter passed to the SoftLayer_Product_Upgrade_Request service.Order
getOrder()
An order record associated to the upgrade requestHardware
getServer()
A server object associated with the upgrade request if any.Status
getStatus()
The current status of the upgrade request.Ticket
getTicket()
The ticket that is used to coordinate the upgrade process.Customer
getUser()
The user that placed the order.Guest
getVirtualGuest()
A virtual server object associated with the upgrade request if any.void
setMask(Request.Mask mask)
Boolean
updateMaintenanceWindow(GregorianCalendar maintenanceStartTime, Long maintenanceWindowId)
In case an upgrade cannot be performed, the maintenance window needs to be updated to a future date.Request.Mask
withMask()
Use the existing mask on this service or create it if not presentRequest.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
Request.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Request.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
Request.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
approveChanges
When a change is made to an upgrade by Sales, this method will approve the changes that were made. A customer must acknowledge the change and approve it so that the upgrade request can proceed. -
getObject
getObject retrieves a SoftLayer_Product_Upgrade_Request object on your account whose ID corresponds to the ID of the init parameter passed to the SoftLayer_Product_Upgrade_Request service. -
updateMaintenanceWindow
@ApiMethod(instanceRequired=true) Boolean updateMaintenanceWindow(GregorianCalendar maintenanceStartTime, Long maintenanceWindowId)In case an upgrade cannot be performed, the maintenance window needs to be updated to a future date. -
getAccount
The account that an order belongs to -
getCompletedFlag
Indicates that the upgrade request has completed or has been cancelled. -
getInvoice
This is the invoice associated with the upgrade request. For hourly servers or services, an invoice will not be available. -
getOrder
An order record associated to the upgrade request -
getServer
A server object associated with the upgrade request if any. -
getStatus
The current status of the upgrade request. -
getTicket
The ticket that is used to coordinate the upgrade process. -
getUser
The user that placed the order. -
getVirtualGuest
A virtual server object associated with the upgrade request if any.
-