public class ManagedEBookRequest extends BaseRequest implements IManagedEBookRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ManagedEBookRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the ManagedEBook
|
ManagedEBookRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends ManagedEBook> responseClass)
The request for the ManagedEBook
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<ManagedEBook> callback)
Delete this item from the service
|
IManagedEBookRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ManagedEBook |
get()
Gets the ManagedEBook from the service
|
void |
get(ICallback<ManagedEBook> callback)
Gets the ManagedEBook from the service
|
ManagedEBook |
patch(ManagedEBook sourceManagedEBook)
Patches this ManagedEBook with a source
|
void |
patch(ManagedEBook sourceManagedEBook,
ICallback<ManagedEBook> callback)
Patches this ManagedEBook with a source
|
ManagedEBook |
post(ManagedEBook newManagedEBook)
Creates a ManagedEBook with a new object
|
void |
post(ManagedEBook newManagedEBook,
ICallback<ManagedEBook> callback)
Creates a ManagedEBook with a new object
|
IManagedEBookRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic ManagedEBookRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions,
java.lang.Class<? extends ManagedEBook> responseClass)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestresponseClass - the class of the responsepublic ManagedEBookRequest(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<ManagedEBook> callback)
get in interface IManagedEBookRequestcallback - the callback to be called after success or failurepublic ManagedEBook get() throws ClientException
get in interface IManagedEBookRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<ManagedEBook> callback)
delete in interface IManagedEBookRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IManagedEBookRequestClientException - if there was an exception during the delete operationpublic void patch(ManagedEBook sourceManagedEBook, ICallback<ManagedEBook> callback)
patch in interface IManagedEBookRequestsourceManagedEBook - the source object with updatescallback - the callback to be called after success or failurepublic ManagedEBook patch(ManagedEBook sourceManagedEBook) throws ClientException
patch in interface IManagedEBookRequestsourceManagedEBook - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(ManagedEBook newManagedEBook, ICallback<ManagedEBook> callback)
post in interface IManagedEBookRequestnewManagedEBook - the new object to createcallback - the callback to be called after success or failurepublic ManagedEBook post(ManagedEBook newManagedEBook) throws ClientException
post in interface IManagedEBookRequestnewManagedEBook - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic IManagedEBookRequest select(java.lang.String value)
select in interface IManagedEBookRequestvalue - the select clausepublic IManagedEBookRequest expand(java.lang.String value)
expand in interface IManagedEBookRequestvalue - the expand clause