public interface IFileAttachmentRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<FileAttachment> callback)
Delete this item from the service
|
IFileAttachmentRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
FileAttachment |
get()
Gets the FileAttachment from the service
|
void |
get(ICallback<FileAttachment> callback)
Gets the FileAttachment from the service
|
FileAttachment |
patch(FileAttachment sourceFileAttachment)
Patches this FileAttachment with a source
|
void |
patch(FileAttachment sourceFileAttachment,
ICallback<FileAttachment> callback)
Patches this FileAttachment with a source
|
FileAttachment |
post(FileAttachment newFileAttachment)
Posts a FileAttachment with a new object
|
void |
post(FileAttachment newFileAttachment,
ICallback<FileAttachment> callback)
Posts a FileAttachment with a new object
|
IFileAttachmentRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesvoid get(ICallback<FileAttachment> callback)
callback - the callback to be called after success or failureFileAttachment get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<FileAttachment> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(FileAttachment sourceFileAttachment, ICallback<FileAttachment> callback)
sourceFileAttachment - the source object with updatescallback - the callback to be called after success or failureFileAttachment patch(FileAttachment sourceFileAttachment) throws ClientException
sourceFileAttachment - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(FileAttachment newFileAttachment, ICallback<FileAttachment> callback)
newFileAttachment - the new object to createcallback - the callback to be called after success or failureFileAttachment post(FileAttachment newFileAttachment) throws ClientException
newFileAttachment - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonIFileAttachmentRequest select(java.lang.String value)
value - the select clauseIFileAttachmentRequest expand(java.lang.String value)
value - the expand clause