Class: MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::WorkflowItemRequestBuilder
- Inherits:
-
MicrosoftKiotaAbstractions::BaseRequestBuilder
- Object
- MicrosoftKiotaAbstractions::BaseRequestBuilder
- MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::WorkflowItemRequestBuilder
- Defined in:
- lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb
Overview
Provides operations to manage the workflows property of the microsoft.graph.deletedItemContainer entity.
Defined Under Namespace
Classes: WorkflowItemRequestBuilderGetQueryParameters
Instance Method Summary collapse
-
#created_by ⇒ Object
Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity.
-
#delete(request_configuration = nil) ⇒ Object
Delete a workflow object.
-
#execution_scope ⇒ Object
Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity.
-
#get(request_configuration = nil) ⇒ Object
Retrieve a deleted workflow object.
-
#initialize(path_parameters, request_adapter) ⇒ Object
constructor
Instantiates a new WorkflowItemRequestBuilder and sets the default values.
-
#last_modified_by ⇒ Object
Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.workflowBase entity.
-
#microsoft_graph_identity_governance_activate ⇒ Object
Provides operations to call the activate method.
-
#microsoft_graph_identity_governance_create_new_version ⇒ Object
Provides operations to call the createNewVersion method.
-
#microsoft_graph_identity_governance_restore ⇒ Object
Provides operations to call the restore method.
-
#runs ⇒ Object
Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity.
-
#task_reports ⇒ Object
Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity.
-
#tasks ⇒ Object
Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity.
-
#to_delete_request_information(request_configuration = nil) ⇒ Object
Delete a workflow object.
-
#to_get_request_information(request_configuration = nil) ⇒ Object
Retrieve a deleted workflow object.
-
#user_processing_results ⇒ Object
Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity.
-
#versions ⇒ Object
Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity.
Constructor Details
#initialize(path_parameters, request_adapter) ⇒ Object
Instantiates a new WorkflowItemRequestBuilder and sets the default values.
93 94 95 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 93 def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}{?%24select,%24expand}") end |
Instance Method Details
#created_by ⇒ Object
Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.workflowBase entity.
34 35 36 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 34 def created_by() return MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::CreatedBy::CreatedByRequestBuilder.new(@path_parameters, @request_adapter) end |
#delete(request_configuration = nil) ⇒ Object
Delete a workflow object.
101 102 103 104 105 106 107 108 109 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 101 def delete(request_configuration=nil) request_info = self.to_delete_request_information( request_configuration ) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrorsODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrorsODataError.create_from_discriminator_value(pn) } return @request_adapter.send_async(request_info, nil, error_mapping) end |
#execution_scope ⇒ Object
Provides operations to manage the executionScope property of the microsoft.graph.identityGovernance.workflow entity.
39 40 41 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 39 def execution_scope() return MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::ExecutionScope::ExecutionScopeRequestBuilder.new(@path_parameters, @request_adapter) end |
#get(request_configuration = nil) ⇒ Object
Retrieve a deleted workflow object.
115 116 117 118 119 120 121 122 123 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 115 def get(request_configuration=nil) request_info = self.to_get_request_information( request_configuration ) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrorsODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrorsODataError.create_from_discriminator_value(pn) } return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceWorkflow.create_from_discriminator_value(pn) }, error_mapping) end |
#last_modified_by ⇒ Object
Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.workflowBase entity.
44 45 46 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 44 def last_modified_by() return MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::LastModifiedBy::LastModifiedByRequestBuilder.new(@path_parameters, @request_adapter) end |
#microsoft_graph_identity_governance_activate ⇒ Object
Provides operations to call the activate method.
49 50 51 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 49 def microsoft_graph_identity_governance_activate() return MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::MicrosoftGraphIdentityGovernanceActivate::MicrosoftGraphIdentityGovernanceActivateRequestBuilder.new(@path_parameters, @request_adapter) end |
#microsoft_graph_identity_governance_create_new_version ⇒ Object
Provides operations to call the createNewVersion method.
54 55 56 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 54 def microsoft_graph_identity_governance_create_new_version() return MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::MicrosoftGraphIdentityGovernanceCreateNewVersion::MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.new(@path_parameters, @request_adapter) end |
#microsoft_graph_identity_governance_restore ⇒ Object
Provides operations to call the restore method.
59 60 61 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 59 def microsoft_graph_identity_governance_restore() return MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::MicrosoftGraphIdentityGovernanceRestore::MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.new(@path_parameters, @request_adapter) end |
#runs ⇒ Object
Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity.
64 65 66 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 64 def runs() return MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::Runs::RunsRequestBuilder.new(@path_parameters, @request_adapter) end |
#task_reports ⇒ Object
Provides operations to manage the taskReports property of the microsoft.graph.identityGovernance.workflow entity.
69 70 71 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 69 def task_reports() return MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::TaskReports::TaskReportsRequestBuilder.new(@path_parameters, @request_adapter) end |
#tasks ⇒ Object
Provides operations to manage the tasks property of the microsoft.graph.identityGovernance.workflowBase entity.
74 75 76 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 74 def tasks() return MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::Tasks::TasksRequestBuilder.new(@path_parameters, @request_adapter) end |
#to_delete_request_information(request_configuration = nil) ⇒ Object
Delete a workflow object.
129 130 131 132 133 134 135 136 137 138 139 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 129 def to_delete_request_information(request_configuration=nil) request_info = MicrosoftKiotaAbstractions::RequestInformation.new() request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :DELETE unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.(request_configuration.) end return request_info end |
#to_get_request_information(request_configuration = nil) ⇒ Object
Retrieve a deleted workflow object.
145 146 147 148 149 150 151 152 153 154 155 156 157 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 145 def to_get_request_information(request_configuration=nil) request_info = MicrosoftKiotaAbstractions::RequestInformation.new() request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :GET request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) request_info.(request_configuration.) end return request_info end |
#user_processing_results ⇒ Object
Provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity.
79 80 81 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 79 def user_processing_results() return MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::UserProcessingResults::UserProcessingResultsRequestBuilder.new(@path_parameters, @request_adapter) end |
#versions ⇒ Object
Provides operations to manage the versions property of the microsoft.graph.identityGovernance.workflow entity.
84 85 86 |
# File 'lib/identity_governance/lifecycle_workflows/deleted_items/workflows/item/workflow_item_request_builder.rb', line 84 def versions() return MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::DeletedItems::Workflows::Item::Versions::VersionsRequestBuilder.new(@path_parameters, @request_adapter) end |