public class AgreementFileRequest extends BaseRequest implements IAgreementFileRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
AgreementFileRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the AgreementFile
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super AgreementFile> callback)
Delete this item from the service
|
IAgreementFileRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
AgreementFile |
get()
Gets the AgreementFile from the service
|
void |
get(ICallback<? super AgreementFile> callback)
Gets the AgreementFile from the service
|
AgreementFile |
patch(AgreementFile sourceAgreementFile)
Patches this AgreementFile with a source
|
void |
patch(AgreementFile sourceAgreementFile,
ICallback<? super AgreementFile> callback)
Patches this AgreementFile with a source
|
AgreementFile |
post(AgreementFile newAgreementFile)
Creates a AgreementFile with a new object
|
void |
post(AgreementFile newAgreementFile,
ICallback<? super AgreementFile> callback)
Creates a AgreementFile with a new object
|
AgreementFile |
put(AgreementFile newAgreementFile)
Creates a AgreementFile with a new object
|
void |
put(AgreementFile newAgreementFile,
ICallback<? super AgreementFile> callback)
Creates a AgreementFile with a new object
|
IAgreementFileRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic AgreementFileRequest(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<? super AgreementFile> callback)
get in interface IAgreementFileRequestcallback - the callback to be called after success or failurepublic AgreementFile get() throws ClientException
get in interface IAgreementFileRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super AgreementFile> callback)
delete in interface IAgreementFileRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IAgreementFileRequestClientException - if there was an exception during the delete operationpublic void patch(AgreementFile sourceAgreementFile, ICallback<? super AgreementFile> callback)
patch in interface IAgreementFileRequestsourceAgreementFile - the source object with updatescallback - the callback to be called after success or failurepublic AgreementFile patch(AgreementFile sourceAgreementFile) throws ClientException
patch in interface IAgreementFileRequestsourceAgreementFile - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(AgreementFile newAgreementFile, ICallback<? super AgreementFile> callback)
post in interface IAgreementFileRequestnewAgreementFile - the new object to createcallback - the callback to be called after success or failurepublic AgreementFile post(AgreementFile newAgreementFile) throws ClientException
post in interface IAgreementFileRequestnewAgreementFile - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(AgreementFile newAgreementFile, ICallback<? super AgreementFile> callback)
put in interface IAgreementFileRequestnewAgreementFile - the object to create/updatecallback - the callback to be called after success or failurepublic AgreementFile put(AgreementFile newAgreementFile) throws ClientException
put in interface IAgreementFileRequestnewAgreementFile - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IAgreementFileRequest select(java.lang.String value)
select in interface IAgreementFileRequestvalue - the select clausepublic IAgreementFileRequest expand(java.lang.String value)
expand in interface IAgreementFileRequestvalue - the expand clause