Package com.microsoft.graph.requests
Class PrintDocumentRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<PrintDocument>
com.microsoft.graph.requests.PrintDocumentRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
public class PrintDocumentRequestBuilder
extends com.microsoft.graph.http.BaseRequestBuilder<PrintDocument>
The class for the Print Document Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionPrintDocumentRequestBuilder
(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the PrintDocument -
Method Summary
Modifier and TypeMethodDescriptionbuildRequest
(com.microsoft.graph.options.Option... requestOptions) Creates the requestbuildRequest
(List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptionscontent()
Gets a request builder to get the binary value of the objectGets a builder to execute the methodMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
PrintDocumentRequestBuilder
public PrintDocumentRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the PrintDocument- Parameters:
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public PrintDocumentRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions
- the options for this request- Returns:
- the PrintDocumentRequest instance
-
buildRequest
@Nonnull public PrintDocumentRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptions- Parameters:
requestOptions
- the options for this request- Returns:
- the PrintDocumentRequest instance
-
content
Gets a request builder to get the binary value of the object- Returns:
- the stream request builder
-
createUploadSession
@Nonnull public PrintDocumentCreateUploadSessionRequestBuilder createUploadSession(@Nonnull PrintDocumentCreateUploadSessionParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters
- the parameters for the service method- Returns:
- the request builder
-