Class: MicrosoftGraph::Models::IdentityGovernanceWorkflow
- Inherits:
-
IdentityGovernanceWorkflowBase
- Object
- IdentityGovernanceWorkflowBase
- MicrosoftGraph::Models::IdentityGovernanceWorkflow
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/identity_governance_workflow.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#deleted_date_time ⇒ Object
Gets the deletedDateTime property value.
-
#deleted_date_time=(value) ⇒ Object
Sets the deletedDateTime property value.
-
#execution_scope ⇒ Object
Gets the executionScope property value.
-
#execution_scope=(value) ⇒ Object
Sets the executionScope property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#id ⇒ Object
Gets the id property value.
-
#id=(value) ⇒ Object
Sets the id property value.
-
#initialize ⇒ Object
constructor
Instantiates a new identityGovernanceWorkflow and sets the default values.
-
#next_schedule_run_date_time ⇒ Object
Gets the nextScheduleRunDateTime property value.
-
#next_schedule_run_date_time=(value) ⇒ Object
Sets the nextScheduleRunDateTime property value.
-
#runs ⇒ Object
Gets the runs property value.
-
#runs=(value) ⇒ Object
Sets the runs property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#task_reports ⇒ Object
Gets the taskReports property value.
-
#task_reports=(value) ⇒ Object
Sets the taskReports property value.
-
#user_processing_results ⇒ Object
Gets the userProcessingResults property value.
-
#user_processing_results=(value) ⇒ Object
Sets the userProcessingResults property value.
-
#version ⇒ Object
Gets the version property value.
-
#version=(value) ⇒ Object
Sets the version property value.
-
#versions ⇒ Object
Gets the versions property value.
-
#versions=(value) ⇒ Object
Sets the versions property value.
Methods inherited from IdentityGovernanceWorkflowBase
#additional_data, #additional_data=, #category, #category=, #created_by, #created_by=, #created_date_time, #created_date_time=, #description, #description=, #display_name, #display_name=, #execution_conditions, #execution_conditions=, #is_enabled, #is_enabled=, #is_scheduling_enabled, #is_scheduling_enabled=, #last_modified_by, #last_modified_by=, #last_modified_date_time, #last_modified_date_time=, #odata_type, #odata_type=, #tasks, #tasks=
Constructor Details
#initialize ⇒ Object
Instantiates a new identityGovernanceWorkflow and sets the default values.
41 42 43 44 |
# File 'lib/models/identity_governance_workflow.rb', line 41 def initialize() super @odata_type = "#microsoft.graph.identityGovernance.workflow" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
50 51 52 53 |
# File 'lib/models/identity_governance_workflow.rb', line 50 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IdentityGovernanceWorkflow.new end |
Instance Method Details
#deleted_date_time ⇒ Object
Gets the deletedDateTime property value. When the workflow was deleted.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
58 59 60 |
# File 'lib/models/identity_governance_workflow.rb', line 58 def deleted_date_time return @deleted_date_time end |
#deleted_date_time=(value) ⇒ Object
Sets the deletedDateTime property value. When the workflow was deleted.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
66 67 68 |
# File 'lib/models/identity_governance_workflow.rb', line 66 def deleted_date_time=(value) @deleted_date_time = value end |
#execution_scope ⇒ Object
Gets the executionScope property value. The unique identifier of the Azure AD identity that last modified the workflow object.
73 74 75 |
# File 'lib/models/identity_governance_workflow.rb', line 73 def execution_scope return @execution_scope end |
#execution_scope=(value) ⇒ Object
Sets the executionScope property value. The unique identifier of the Azure AD identity that last modified the workflow object.
81 82 83 |
# File 'lib/models/identity_governance_workflow.rb', line 81 def execution_scope=(value) @execution_scope = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/models/identity_governance_workflow.rb', line 88 def get_field_deserializers() return super.merge({ "deletedDateTime" => lambda {|n| @deleted_date_time = n.get_date_time_value() }, "executionScope" => lambda {|n| @execution_scope = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceUserProcessingResult.create_from_discriminator_value(pn) }) }, "id" => lambda {|n| @id = n.get_string_value() }, "nextScheduleRunDateTime" => lambda {|n| @next_schedule_run_date_time = n.get_date_time_value() }, "runs" => lambda {|n| @runs = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceRun.create_from_discriminator_value(pn) }) }, "taskReports" => lambda {|n| @task_reports = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceTaskReport.create_from_discriminator_value(pn) }) }, "userProcessingResults" => lambda {|n| @user_processing_results = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceUserProcessingResult.create_from_discriminator_value(pn) }) }, "version" => lambda {|n| @version = n.get_number_value() }, "versions" => lambda {|n| @versions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceWorkflowVersion.create_from_discriminator_value(pn) }) }, }) end |
#id ⇒ Object
Gets the id property value. Identifier used for individually addressing a specific workflow.Supports $filter(eq, ne) and $orderby.
105 106 107 |
# File 'lib/models/identity_governance_workflow.rb', line 105 def id return @id end |
#id=(value) ⇒ Object
Sets the id property value. Identifier used for individually addressing a specific workflow.Supports $filter(eq, ne) and $orderby.
113 114 115 |
# File 'lib/models/identity_governance_workflow.rb', line 113 def id=(value) @id = value end |
#next_schedule_run_date_time ⇒ Object
Gets the nextScheduleRunDateTime property value. The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderBy.
120 121 122 |
# File 'lib/models/identity_governance_workflow.rb', line 120 def next_schedule_run_date_time return @next_schedule_run_date_time end |
#next_schedule_run_date_time=(value) ⇒ Object
Sets the nextScheduleRunDateTime property value. The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderBy.
128 129 130 |
# File 'lib/models/identity_governance_workflow.rb', line 128 def next_schedule_run_date_time=(value) @next_schedule_run_date_time = value end |
#runs ⇒ Object
Gets the runs property value. Workflow runs.
135 136 137 |
# File 'lib/models/identity_governance_workflow.rb', line 135 def runs return @runs end |
#runs=(value) ⇒ Object
Sets the runs property value. Workflow runs.
143 144 145 |
# File 'lib/models/identity_governance_workflow.rb', line 143 def runs=(value) @runs = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
151 152 153 154 155 156 157 158 159 160 161 162 163 |
# File 'lib/models/identity_governance_workflow.rb', line 151 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_date_time_value("deletedDateTime", @deleted_date_time) writer.write_collection_of_object_values("executionScope", @execution_scope) writer.write_string_value("id", @id) writer.write_date_time_value("nextScheduleRunDateTime", @next_schedule_run_date_time) writer.write_collection_of_object_values("runs", @runs) writer.write_collection_of_object_values("taskReports", @task_reports) writer.write_collection_of_object_values("userProcessingResults", @user_processing_results) writer.write_number_value("version", @version) writer.write_collection_of_object_values("versions", @versions) end |
#task_reports ⇒ Object
Gets the taskReports property value. Represents the aggregation of task execution data for tasks within a workflow object.
168 169 170 |
# File 'lib/models/identity_governance_workflow.rb', line 168 def task_reports return @task_reports end |
#task_reports=(value) ⇒ Object
Sets the taskReports property value. Represents the aggregation of task execution data for tasks within a workflow object.
176 177 178 |
# File 'lib/models/identity_governance_workflow.rb', line 176 def task_reports=(value) @task_reports = value end |
#user_processing_results ⇒ Object
Gets the userProcessingResults property value. Per-user workflow execution results.
183 184 185 |
# File 'lib/models/identity_governance_workflow.rb', line 183 def user_processing_results return @user_processing_results end |
#user_processing_results=(value) ⇒ Object
Sets the userProcessingResults property value. Per-user workflow execution results.
191 192 193 |
# File 'lib/models/identity_governance_workflow.rb', line 191 def user_processing_results=(value) @user_processing_results = value end |
#version ⇒ Object
Gets the version property value. The current version number of the workflow. Value is 1 when the workflow is first created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
198 199 200 |
# File 'lib/models/identity_governance_workflow.rb', line 198 def version return @version end |
#version=(value) ⇒ Object
Sets the version property value. The current version number of the workflow. Value is 1 when the workflow is first created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
206 207 208 |
# File 'lib/models/identity_governance_workflow.rb', line 206 def version=(value) @version = value end |
#versions ⇒ Object
Gets the versions property value. The workflow versions that are available.
213 214 215 |
# File 'lib/models/identity_governance_workflow.rb', line 213 def versions return @versions end |
#versions=(value) ⇒ Object
Sets the versions property value. The workflow versions that are available.
221 222 223 |
# File 'lib/models/identity_governance_workflow.rb', line 221 def versions=(value) @versions = value end |