public interface IAgreementRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super Agreement> callback)
Delete this item from the service
|
IAgreementRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Agreement |
get()
Gets the Agreement from the service
|
void |
get(ICallback<? super Agreement> callback)
Gets the Agreement from the service
|
Agreement |
patch(Agreement sourceAgreement)
Patches this Agreement with a source
|
void |
patch(Agreement sourceAgreement,
ICallback<? super Agreement> callback)
Patches this Agreement with a source
|
Agreement |
post(Agreement newAgreement)
Posts a Agreement with a new object
|
void |
post(Agreement newAgreement,
ICallback<? super Agreement> callback)
Posts a Agreement with a new object
|
Agreement |
put(Agreement newAgreement)
Posts a Agreement with a new object
|
void |
put(Agreement newAgreement,
ICallback<? super Agreement> callback)
Posts a Agreement with a new object
|
IAgreementRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super Agreement> callback)
callback - the callback to be called after success or failureAgreement get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super Agreement> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(Agreement sourceAgreement, ICallback<? super Agreement> callback)
sourceAgreement - the source object with updatescallback - the callback to be called after success or failureAgreement patch(Agreement sourceAgreement) throws ClientException
sourceAgreement - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(Agreement newAgreement, ICallback<? super Agreement> callback)
newAgreement - the new object to createcallback - the callback to be called after success or failureAgreement post(Agreement newAgreement) throws ClientException
newAgreement - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(Agreement newAgreement, ICallback<? super Agreement> callback)
newAgreement - the object to create/updatecallback - the callback to be called after success or failureAgreement put(Agreement newAgreement) throws ClientException
newAgreement - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIAgreementRequest select(java.lang.String value)
value - the select clauseIAgreementRequest expand(java.lang.String value)
value - the expand clause