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
|
OnenotePagePreview |
get()
Gets the OnenotePagePreview
|
void |
get(ICallback<OnenotePagePreview> callback)
Gets the OnenotePagePreview
|
IOnenotePagePreviewRequest |
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, setUseCachespublic 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<OnenotePagePreview> callback)
get in interface IOnenotePagePreviewRequestcallback - the callback to be called after success or failurepublic OnenotePagePreview get() throws ClientException
get in interface IOnenotePagePreviewRequestClientException - an exception occurs if there was an error while the request was sentpublic IOnenotePagePreviewRequest select(java.lang.String value)
select in interface IOnenotePagePreviewRequestvalue - the select clausepublic IOnenotePagePreviewRequest expand(java.lang.String value)
expand in interface IOnenotePagePreviewRequestvalue - the expand clause