java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identitygovernance.lifecycleworkflows.customtaskextensions.item.CustomTaskExtensionItemRequestBuilder

@Generated("com.microsoft.kiota") public class CustomTaskExtensionItemRequestBuilder extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the customTaskExtensions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity.
  • Constructor Details

    • CustomTaskExtensionItemRequestBuilder

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

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

    • createdBy

      @Nonnull public CreatedByRequestBuilder createdBy()
      Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.customTaskExtension entity.
      Returns:
      a CreatedByRequestBuilder
    • lastModifiedBy

      @Nonnull public LastModifiedByRequestBuilder lastModifiedBy()
      Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.customTaskExtension entity.
      Returns:
      a LastModifiedByRequestBuilder
    • delete

      public void delete()
      Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow.
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • delete

      public void delete(@Nullable Consumer<CustomTaskExtensionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow.
      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 CustomTaskExtension get()
      Read the properties and relationships of a customTaskExtension object.
      Returns:
      a CustomTaskExtension
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • get

      @Nullable public CustomTaskExtension get(@Nullable Consumer<CustomTaskExtensionItemRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Read the properties and relationships of a customTaskExtension object.
      Parameters:
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a CustomTaskExtension
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • patch

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

      @Nullable public CustomTaskExtension patch(@Nonnull CustomTaskExtension body, @Nullable Consumer<CustomTaskExtensionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the properties of a customTaskExtension object.
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a CustomTaskExtension
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()
      Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow.
      Returns:
      a RequestInformation
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<CustomTaskExtensionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow.
      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 a customTaskExtension object.
      Returns:
      a RequestInformation
    • toGetRequestInformation

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

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull CustomTaskExtension body, @Nullable Consumer<CustomTaskExtensionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the properties of a customTaskExtension 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 CustomTaskExtensionItemRequestBuilder 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 CustomTaskExtensionItemRequestBuilder