public class RemoteAssistancePartnerRequest extends BaseRequest implements IRemoteAssistancePartnerRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
RemoteAssistancePartnerRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the RemoteAssistancePartner
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<RemoteAssistancePartner> callback)
Delete this item from the service
|
IRemoteAssistancePartnerRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
RemoteAssistancePartner |
get()
Gets the RemoteAssistancePartner from the service
|
void |
get(ICallback<RemoteAssistancePartner> callback)
Gets the RemoteAssistancePartner from the service
|
RemoteAssistancePartner |
patch(RemoteAssistancePartner sourceRemoteAssistancePartner)
Patches this RemoteAssistancePartner with a source
|
void |
patch(RemoteAssistancePartner sourceRemoteAssistancePartner,
ICallback<RemoteAssistancePartner> callback)
Patches this RemoteAssistancePartner with a source
|
RemoteAssistancePartner |
post(RemoteAssistancePartner newRemoteAssistancePartner)
Creates a RemoteAssistancePartner with a new object
|
void |
post(RemoteAssistancePartner newRemoteAssistancePartner,
ICallback<RemoteAssistancePartner> callback)
Creates a RemoteAssistancePartner with a new object
|
IRemoteAssistancePartnerRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic RemoteAssistancePartnerRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void get(ICallback<RemoteAssistancePartner> callback)
get in interface IRemoteAssistancePartnerRequestcallback - the callback to be called after success or failurepublic RemoteAssistancePartner get() throws ClientException
get in interface IRemoteAssistancePartnerRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<RemoteAssistancePartner> callback)
delete in interface IRemoteAssistancePartnerRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IRemoteAssistancePartnerRequestClientException - if there was an exception during the delete operationpublic void patch(RemoteAssistancePartner sourceRemoteAssistancePartner, ICallback<RemoteAssistancePartner> callback)
patch in interface IRemoteAssistancePartnerRequestsourceRemoteAssistancePartner - the source object with updatescallback - the callback to be called after success or failurepublic RemoteAssistancePartner patch(RemoteAssistancePartner sourceRemoteAssistancePartner) throws ClientException
patch in interface IRemoteAssistancePartnerRequestsourceRemoteAssistancePartner - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(RemoteAssistancePartner newRemoteAssistancePartner, ICallback<RemoteAssistancePartner> callback)
post in interface IRemoteAssistancePartnerRequestnewRemoteAssistancePartner - the new object to createcallback - the callback to be called after success or failurepublic RemoteAssistancePartner post(RemoteAssistancePartner newRemoteAssistancePartner) throws ClientException
post in interface IRemoteAssistancePartnerRequestnewRemoteAssistancePartner - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic IRemoteAssistancePartnerRequest select(java.lang.String value)
select in interface IRemoteAssistancePartnerRequestvalue - the select clausepublic IRemoteAssistancePartnerRequest expand(java.lang.String value)
expand in interface IRemoteAssistancePartnerRequestvalue - the expand clause