public class OnenotePagePreviewRequest extends BaseRequest implements IOnenotePagePreviewRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
OnenotePagePreviewRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this OnenotePagePreview
|
Modifier and Type | Method and Description |
---|---|
IOnenotePagePreviewRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IOnenotePagePreviewRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
OnenotePagePreview |
get()
Gets the OnenotePagePreview
|
void |
get(ICallback<? super OnenotePagePreview> callback)
Gets the OnenotePagePreview
|
IOnenotePagePreviewRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
IOnenotePagePreviewRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public OnenotePagePreviewRequest(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 OnenotePagePreview> callback)
get
in interface IOnenotePagePreviewRequest
callback
- the callback to be called after success or failurepublic OnenotePagePreview get() throws ClientException
get
in interface IOnenotePagePreviewRequest
ClientException
- an exception occurs if there was an error while the request was sentpublic IOnenotePagePreviewRequest select(java.lang.String value)
select
in interface IOnenotePagePreviewRequest
value
- the select clausepublic IOnenotePagePreviewRequest expand(java.lang.String value)
expand
in interface IOnenotePagePreviewRequest
value
- the expand clausepublic IOnenotePagePreviewRequest filter(java.lang.String value)
value
- the filter clausepublic IOnenotePagePreviewRequest orderBy(java.lang.String value)
value
- the order by clause