public class NotebookCollectionRequest extends BaseCollectionRequest<NotebookCollectionResponse,INotebookCollectionPage> implements INotebookCollectionRequest
| Constructor and Description |
|---|
NotebookCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of Notebook
|
| Modifier and Type | Method and Description |
|---|---|
INotebookCollectionPage |
buildFromResponse(NotebookCollectionResponse response) |
INotebookCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
INotebookCollectionPage |
get() |
void |
get(ICallback<INotebookCollectionPage> callback) |
Notebook |
post(Notebook newNotebook) |
void |
post(Notebook newNotebook,
ICallback<Notebook> callback) |
INotebookCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
INotebookCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic NotebookCollectionRequest(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<INotebookCollectionPage> callback)
get in interface INotebookCollectionRequestpublic INotebookCollectionPage get() throws ClientException
get in interface INotebookCollectionRequestClientExceptionpublic void post(Notebook newNotebook, ICallback<Notebook> callback)
post in interface INotebookCollectionRequestpublic Notebook post(Notebook newNotebook) throws ClientException
post in interface INotebookCollectionRequestClientExceptionpublic INotebookCollectionRequest expand(java.lang.String value)
expand in interface INotebookCollectionRequestvalue - the expand clausepublic INotebookCollectionRequest select(java.lang.String value)
select in interface INotebookCollectionRequestvalue - the select clausepublic INotebookCollectionRequest top(int value)
top in interface INotebookCollectionRequestvalue - the max number of items to returnpublic INotebookCollectionPage buildFromResponse(NotebookCollectionResponse response)