Package com.microsoft.graph.print
Class PrintRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.print.PrintRequestBuilder
@Generated("com.microsoft.kiota")
public class PrintRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the print singleton.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet printclassConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionPrintRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPrintRequestBuilderand sets the default values.PrintRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPrintRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the connectors property of the microsoft.graph.print entity.get()Get printget(Consumer<PrintRequestBuilder.GetRequestConfiguration> requestConfiguration) Get printProvides operations to manage the operations property of the microsoft.graph.print entity.Update printpatch(Print body, Consumer<PrintRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update printprinters()Provides operations to manage the printers property of the microsoft.graph.print entity.services()Provides operations to manage the services property of the microsoft.graph.print entity.shares()Provides operations to manage the shares property of the microsoft.graph.print entity.Provides operations to manage the taskDefinitions property of the microsoft.graph.print entity.com.microsoft.kiota.RequestInformationGet printcom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<PrintRequestBuilder.GetRequestConfiguration> requestConfiguration) Get printcom.microsoft.kiota.RequestInformationUpdate printcom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Print body, Consumer<PrintRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update printReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
PrintRequestBuilder
public PrintRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPrintRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
PrintRequestBuilder
public PrintRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPrintRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
connectors
Provides operations to manage the connectors property of the microsoft.graph.print entity.- Returns:
- a
ConnectorsRequestBuilder
-
operations
Provides operations to manage the operations property of the microsoft.graph.print entity.- Returns:
- a
OperationsRequestBuilder
-
printers
Provides operations to manage the printers property of the microsoft.graph.print entity.- Returns:
- a
PrintersRequestBuilder
-
services
Provides operations to manage the services property of the microsoft.graph.print entity.- Returns:
- a
ServicesRequestBuilder
-
taskDefinitions
Provides operations to manage the taskDefinitions property of the microsoft.graph.print entity.- Returns:
- a
TaskDefinitionsRequestBuilder
-
get
Get print- Returns:
- a
Print - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public Print get(@Nullable Consumer<PrintRequestBuilder.GetRequestConfiguration> requestConfiguration) Get print- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Print - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update print- Parameters:
body- The request body- Returns:
- a
Print - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public Print patch(@Nonnull Print body, @Nullable Consumer<PrintRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update print- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Print - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get print- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<PrintRequestBuilder.GetRequestConfiguration> requestConfiguration) Get print- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Print body) Update print- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Print body, @Nullable Consumer<PrintRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update print- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
PrintRequestBuilder
-