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.
  • Constructor Details

    • PrintRequestBuilder

      public PrintRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new PrintRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • PrintRequestBuilder

      public PrintRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new PrintRequestBuilder and 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

      @Nonnull public ConnectorsRequestBuilder connectors()
      Provides operations to manage the connectors property of the microsoft.graph.print entity.
      Returns:
      a ConnectorsRequestBuilder
    • operations

      @Nonnull public OperationsRequestBuilder operations()
      Provides operations to manage the operations property of the microsoft.graph.print entity.
      Returns:
      a OperationsRequestBuilder
    • printers

      @Nonnull public PrintersRequestBuilder printers()
      Provides operations to manage the printers property of the microsoft.graph.print entity.
      Returns:
      a PrintersRequestBuilder
    • services

      @Nonnull public ServicesRequestBuilder services()
      Provides operations to manage the services property of the microsoft.graph.print entity.
      Returns:
      a ServicesRequestBuilder
    • shares

      @Nonnull public SharesRequestBuilder shares()
      Provides operations to manage the shares property of the microsoft.graph.print entity.
      Returns:
      a SharesRequestBuilder
    • taskDefinitions

      @Nonnull public TaskDefinitionsRequestBuilder taskDefinitions()
      Provides operations to manage the taskDefinitions property of the microsoft.graph.print entity.
      Returns:
      a TaskDefinitionsRequestBuilder
    • get

      @Nullable public Print 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

      @Nullable public Print patch(@Nonnull Print body)
      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 body
      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
    • 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 body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public PrintRequestBuilder withUrl(@Nonnull String rawUrl)
      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