Class WorkflowItemRequestBuilder
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead the properties and relationships of a workflow object.classConfiguration 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
ConstructorsConstructorDescriptionWorkflowItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWorkflowItemRequestBuilderand sets the default values.WorkflowItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWorkflowItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity.voiddelete()Delete a workflow object and its associated tasks, taskProcessingResults and versions.voiddelete(Consumer<WorkflowItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a workflow object and its associated tasks, taskProcessingResults and versions.Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity.get()Read the properties and relationships of a workflow object.get(Consumer<WorkflowItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a workflow object.Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.workflowBase entity.Provides operations to call the activate method.Provides operations to call the createNewVersion method.Provides operations to call the restore method.Update the properties of a workflow object.patch(Workflow body, Consumer<WorkflowItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a workflow object.runs()Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity.Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity.tasks()Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity.com.microsoft.kiota.RequestInformationDelete a workflow object and its associated tasks, taskProcessingResults and versions.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<WorkflowItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a workflow object and its associated tasks, taskProcessingResults and versions.com.microsoft.kiota.RequestInformationRead the properties and relationships of a workflow object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<WorkflowItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a workflow object.com.microsoft.kiota.RequestInformationUpdate the properties of a workflow object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(Workflow body, Consumer<WorkflowItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a workflow object.Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity.versions()Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
WorkflowItemRequestBuilder
public WorkflowItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWorkflowItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
WorkflowItemRequestBuilder
public WorkflowItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWorkflowItemRequestBuilderand 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
Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity.- Returns:
- a
CreatedByRequestBuilder
-
executionScope
Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity.- Returns:
- a
ExecutionScopeRequestBuilder
-
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. -
microsoftGraphIdentityGovernanceCreateNewVersion
@Nonnull public MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder microsoftGraphIdentityGovernanceCreateNewVersion()Provides operations to call the createNewVersion method. -
microsoftGraphIdentityGovernanceRestore
@Nonnull public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder microsoftGraphIdentityGovernanceRestore()Provides operations to call the restore method. -
runs
Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity.- Returns:
- a
RunsRequestBuilder
-
taskReports
Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity.- Returns:
- a
TaskReportsRequestBuilder
-
tasks
Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity.- Returns:
- a
TasksRequestBuilder
-
userProcessingResults
Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity.- Returns:
- a
UserProcessingResultsRequestBuilder
-
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
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
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 bodyrequestConfiguration- 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 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
WorkflowItemRequestBuilder
-