java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.identitygovernance.lifecycleworkflows.workflows.item.WorkflowItemRequestBuilder

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

    • WorkflowItemRequestBuilder

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

      public WorkflowItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new WorkflowItemRequestBuilder 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.workflowBase entity.
      Returns:
      a CreatedByRequestBuilder
    • executionScope

      @Nonnull public ExecutionScopeRequestBuilder executionScope()
      Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity.
      Returns:
      a ExecutionScopeRequestBuilder
    • lastModifiedBy

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

      @Nonnull public MicrosoftGraphIdentityGovernanceActivateRequestBuilder microsoftGraphIdentityGovernanceActivate()
      Provides operations to call the activate method.
      Returns:
      a MicrosoftGraphIdentityGovernanceActivateRequestBuilder
    • microsoftGraphIdentityGovernanceCreateNewVersion

      @Nonnull public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder microsoftGraphIdentityGovernanceCreateNewVersion()
      Provides operations to call the createNewVersion method.
      Returns:
      a MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder
    • microsoftGraphIdentityGovernanceRestore

      @Nonnull public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder microsoftGraphIdentityGovernanceRestore()
      Provides operations to call the restore method.
      Returns:
      a MicrosoftGraphIdentityGovernanceRestoreRequestBuilder
    • runs

      @Nonnull public RunsRequestBuilder runs()
      Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity.
      Returns:
      a RunsRequestBuilder
    • taskReports

      @Nonnull public TaskReportsRequestBuilder taskReports()
      Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity.
      Returns:
      a TaskReportsRequestBuilder
    • tasks

      @Nonnull public TasksRequestBuilder tasks()
      Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity.
      Returns:
      a TasksRequestBuilder
    • userProcessingResults

      @Nonnull public UserProcessingResultsRequestBuilder userProcessingResults()
      Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity.
      Returns:
      a UserProcessingResultsRequestBuilder
    • versions

      @Nonnull public VersionsRequestBuilder versions()
      Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity.
      Returns:
      a VersionsRequestBuilder
    • delete

      public void delete()
      Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion.
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • delete

      public void delete(@Nullable Consumer<WorkflowItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion.
      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 Workflow get()
      Read the properties and relationships of a workflow object.
      Returns:
      a Workflow
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • get

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

      @Nullable public Workflow patch(@Nonnull Workflow body)
      Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion.
      Parameters:
      body - The request body
      Returns:
      a Workflow
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • patch

      @Nullable public Workflow patch(@Nonnull Workflow body, @Nullable Consumer<WorkflowItemRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion.
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a Workflow
      Throws:
      ODataError - When receiving a 4XX or 5XX status code
      See Also:
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()
      Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion.
      Returns:
      a RequestInformation
    • toDeleteRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<WorkflowItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration)
      Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion.
      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 workflow object.
      Returns:
      a RequestInformation
    • toGetRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<WorkflowItemRequestBuilder.GetRequestConfiguration> requestConfiguration)
      Read the properties and relationships of a workflow 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 Workflow body)
      Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion.
      Parameters:
      body - The request body
      Returns:
      a RequestInformation
    • toPatchRequestInformation

      @Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Workflow body, @Nullable Consumer<WorkflowItemRequestBuilder.PatchRequestConfiguration> requestConfiguration)
      Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion.
      Parameters:
      body - The request body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

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