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