public class PrintDocumentCreateUploadSessionRequest extends com.microsoft.graph.http.BaseRequest<UploadSession>
Modifier and Type | Field and Description |
---|---|
PrintDocumentCreateUploadSessionParameterSet |
body
The body for the method
|
Constructor and Description |
---|
PrintDocumentCreateUploadSessionRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for this PrintDocumentCreateUploadSession
|
Modifier and Type | Method and Description |
---|---|
PrintDocumentCreateUploadSessionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
UploadSession |
post()
Invokes the method and returns the result
|
java.util.concurrent.CompletableFuture<UploadSession> |
postAsync()
Invokes the method and returns a future with the result
|
PrintDocumentCreateUploadSessionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addCountOption, addExpandOption, addFilterOption, addFunctionOption, addHeader, addOrderByOption, addQueryOption, addSelectOption, addSkipOption, addSkipTokenOption, addTopOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, sendAsync, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
@Nullable public PrintDocumentCreateUploadSessionParameterSet body
public PrintDocumentCreateUploadSessionRequest(@Nonnull java.lang.String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request@Nonnull public java.util.concurrent.CompletableFuture<UploadSession> postAsync()
@Nullable public UploadSession post() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException
- an exception occurs if there was an error while the request was sent@Nonnull public PrintDocumentCreateUploadSessionRequest select(@Nonnull java.lang.String value)
value
- the select clause@Nonnull public PrintDocumentCreateUploadSessionRequest expand(@Nonnull java.lang.String value)
value
- the expand clause