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
|
INotebookCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
INotebookCollectionPage |
get() |
void |
get(ICallback<? super INotebookCollectionPage> callback) |
INotebookCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
Notebook |
post(Notebook newNotebook) |
void |
post(Notebook newNotebook,
ICallback<? super Notebook> callback) |
INotebookCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
INotebookCollectionRequest |
skip(int value)
Sets the skip value for the request
|
INotebookCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
INotebookCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic 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<? super INotebookCollectionPage> callback)
get in interface INotebookCollectionRequestpublic INotebookCollectionPage get() throws ClientException
get in interface INotebookCollectionRequestClientExceptionpublic void post(Notebook newNotebook, ICallback<? super 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 filter(java.lang.String value)
filter in interface INotebookCollectionRequestvalue - the filter clausepublic INotebookCollectionRequest orderBy(java.lang.String value)
orderBy in interface INotebookCollectionRequestvalue - the order by 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 INotebookCollectionRequest skip(int value)
skip in interface INotebookCollectionRequestvalue - of the number of items to skippublic INotebookCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface INotebookCollectionRequestskipToken - - Token for paginationpublic INotebookCollectionPage buildFromResponse(NotebookCollectionResponse response)