java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identitygovernance.entitlementmanagement.catalogs.item.customworkflowextensions.item.CustomCalloutExtensionItemRequestBuilder

@Generated("com.microsoft.kiota") public class CustomCalloutExtensionItemRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the customWorkflowExtensions property of the microsoft.graph.accessPackageCatalog entity.
  • Constructor Details

    • CustomCalloutExtensionItemRequestBuilder

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

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

    • delete

      public void delete()
      Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • delete

      public void delete(@Nullable Consumer<CustomCalloutExtensionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • get

      @Nullable public CustomCalloutExtension get()
      Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object.
      Returns:
      a CustomCalloutExtension
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • get

      Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a CustomCalloutExtension
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • patch

      @Nullable public CustomCalloutExtension patch(@Nonnull CustomCalloutExtension body)
      Update the properties of an accessPackageAssignmentRequestWorkflowExtension object.
      Parameters:
      body - The request body
      Returns:
      a CustomCalloutExtension
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • patch

      Update the properties of an accessPackageAssignmentRequestWorkflowExtension object.
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a CustomCalloutExtension
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()
      Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:
      Returns:
      a RequestInformation
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<CustomCalloutExtensionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:
      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()
      Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<CustomCalloutExtensionItemRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object.
      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 CustomCalloutExtension body)
      Update the properties of an accessPackageAssignmentRequestWorkflowExtension object.
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull CustomCalloutExtension body, @Nullable Consumer<CustomCalloutExtensionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the properties of an accessPackageAssignmentRequestWorkflowExtension object.
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public CustomCalloutExtensionItemRequestBuilder 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 CustomCalloutExtensionItemRequestBuilder