public interface IReferenceAttachmentRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super ReferenceAttachment> callback)
Delete this item from the service
|
IReferenceAttachmentRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ReferenceAttachment |
get()
Gets the ReferenceAttachment from the service
|
void |
get(ICallback<? super ReferenceAttachment> callback)
Gets the ReferenceAttachment from the service
|
ReferenceAttachment |
patch(ReferenceAttachment sourceReferenceAttachment)
Patches this ReferenceAttachment with a source
|
void |
patch(ReferenceAttachment sourceReferenceAttachment,
ICallback<? super ReferenceAttachment> callback)
Patches this ReferenceAttachment with a source
|
ReferenceAttachment |
post(ReferenceAttachment newReferenceAttachment)
Posts a ReferenceAttachment with a new object
|
void |
post(ReferenceAttachment newReferenceAttachment,
ICallback<? super ReferenceAttachment> callback)
Posts a ReferenceAttachment with a new object
|
ReferenceAttachment |
put(ReferenceAttachment newReferenceAttachment)
Posts a ReferenceAttachment with a new object
|
void |
put(ReferenceAttachment newReferenceAttachment,
ICallback<? super ReferenceAttachment> callback)
Posts a ReferenceAttachment with a new object
|
IReferenceAttachmentRequest |
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 ReferenceAttachment> callback)
callback - the callback to be called after success or failureReferenceAttachment get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super ReferenceAttachment> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(ReferenceAttachment sourceReferenceAttachment, ICallback<? super ReferenceAttachment> callback)
sourceReferenceAttachment - the source object with updatescallback - the callback to be called after success or failureReferenceAttachment patch(ReferenceAttachment sourceReferenceAttachment) throws ClientException
sourceReferenceAttachment - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(ReferenceAttachment newReferenceAttachment, ICallback<? super ReferenceAttachment> callback)
newReferenceAttachment - the new object to createcallback - the callback to be called after success or failureReferenceAttachment post(ReferenceAttachment newReferenceAttachment) throws ClientException
newReferenceAttachment - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(ReferenceAttachment newReferenceAttachment, ICallback<? super ReferenceAttachment> callback)
newReferenceAttachment - the object to create/updatecallback - the callback to be called after success or failureReferenceAttachment put(ReferenceAttachment newReferenceAttachment) throws ClientException
newReferenceAttachment - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIReferenceAttachmentRequest select(java.lang.String value)
value - the select clauseIReferenceAttachmentRequest expand(java.lang.String value)
value - the expand clause