Class PrintDocumentItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.print.printers.item.jobs.item.documents.item.PrintDocumentItemRequestBuilder
@Generated("com.microsoft.kiota")
public class PrintDocumentItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the documents property of the microsoft.graph.printJob entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet documents from 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
ConstructorsConstructorDescriptionPrintDocumentItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPrintDocumentItemRequestBuilderand sets the default values.PrintDocumentItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPrintDocumentItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncontent()Provides operations to manage the media for the print entity.Provides operations to call the createUploadSession method.voiddelete()Delete navigation property documents for printvoiddelete(Consumer<PrintDocumentItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property documents for printget()Get documents from printget(Consumer<PrintDocumentItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get documents from printpatch(PrintDocument body) Update the navigation property documents in printpatch(PrintDocument body, Consumer<PrintDocumentItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property documents in printcom.microsoft.kiota.RequestInformationDelete navigation property documents for printcom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<PrintDocumentItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property documents for printcom.microsoft.kiota.RequestInformationGet documents from printcom.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<PrintDocumentItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get documents from printcom.microsoft.kiota.RequestInformationUpdate the navigation property documents in printcom.microsoft.kiota.RequestInformationtoPatchRequestInformation(PrintDocument body, Consumer<PrintDocumentItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property documents in printReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
PrintDocumentItemRequestBuilder
public PrintDocumentItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPrintDocumentItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
PrintDocumentItemRequestBuilder
public PrintDocumentItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPrintDocumentItemRequestBuilderand 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
-
content
Provides operations to manage the media for the print entity.- Returns:
- a
ContentRequestBuilder
-
createUploadSession
Provides operations to call the createUploadSession method.- Returns:
- a
CreateUploadSessionRequestBuilder
-
delete
public void delete()Delete navigation property documents for print- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<PrintDocumentItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property documents for print- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
Get documents from print- Returns:
- a
PrintDocument - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public PrintDocument get(@Nullable Consumer<PrintDocumentItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get documents from print- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
PrintDocument - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property documents in print- Parameters:
body- The request body- Returns:
- a
PrintDocument - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public PrintDocument patch(@Nonnull PrintDocument body, @Nullable Consumer<PrintDocumentItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property documents in print- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
PrintDocument - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property documents for print- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<PrintDocumentItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property documents for print- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get documents from print- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<PrintDocumentItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Get documents from 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 PrintDocument body) Update the navigation property documents in print- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull PrintDocument body, @Nullable Consumer<PrintDocumentItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property documents in 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
PrintDocumentItemRequestBuilder
-