Class: MicrosoftGraph::Models::IdentityGovernanceUserProcessingResult
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::IdentityGovernanceUserProcessingResult
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/identity_governance_user_processing_result.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
-
#completed_date_time ⇒ Object
Gets the completedDateTime property value.
-
#completed_date_time=(value) ⇒ Object
Sets the completedDateTime property value.
-
#failed_tasks_count ⇒ Object
Gets the failedTasksCount property value.
-
#failed_tasks_count=(value) ⇒ Object
Sets the failedTasksCount property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new identityGovernanceUserProcessingResult and sets the default values.
-
#processing_status ⇒ Object
Gets the processingStatus property value.
-
#processing_status=(value) ⇒ Object
Sets the processingStatus property value.
-
#scheduled_date_time ⇒ Object
Gets the scheduledDateTime property value.
-
#scheduled_date_time=(value) ⇒ Object
Sets the scheduledDateTime property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#started_date_time ⇒ Object
Gets the startedDateTime property value.
-
#started_date_time=(value) ⇒ Object
Sets the startedDateTime property value.
-
#subject ⇒ Object
Gets the subject property value.
-
#subject=(value) ⇒ Object
Sets the subject property value.
-
#task_processing_results ⇒ Object
Gets the taskProcessingResults property value.
-
#task_processing_results=(value) ⇒ Object
Sets the taskProcessingResults property value.
-
#total_tasks_count ⇒ Object
Gets the totalTasksCount property value.
-
#total_tasks_count=(value) ⇒ Object
Sets the totalTasksCount property value.
-
#total_unprocessed_tasks_count ⇒ Object
Gets the totalUnprocessedTasksCount property value.
-
#total_unprocessed_tasks_count=(value) ⇒ Object
Sets the totalUnprocessedTasksCount property value.
-
#workflow_execution_type ⇒ Object
Gets the workflowExecutionType property value.
-
#workflow_execution_type=(value) ⇒ Object
Sets the workflowExecutionType property value.
-
#workflow_version ⇒ Object
Gets the workflowVersion property value.
-
#workflow_version=(value) ⇒ Object
Sets the workflowVersion property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new identityGovernanceUserProcessingResult and sets the default values.
62 63 64 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 62 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
70 71 72 73 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 70 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IdentityGovernanceUserProcessingResult.new end |
Instance Method Details
#completed_date_time ⇒ Object
Gets the completedDateTime property value. The date time that the workflow execution for a user completed. Value is null if the workflow hasn’t completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
47 48 49 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 47 def completed_date_time return @completed_date_time end |
#completed_date_time=(value) ⇒ Object
Sets the completedDateTime property value. The date time that the workflow execution for a user completed. Value is null if the workflow hasn’t completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
55 56 57 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 55 def completed_date_time=(value) @completed_date_time = value end |
#failed_tasks_count ⇒ Object
Gets the failedTasksCount property value. The number of tasks that failed in the workflow execution.
78 79 80 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 78 def failed_tasks_count return @failed_tasks_count end |
#failed_tasks_count=(value) ⇒ Object
Sets the failedTasksCount property value. The number of tasks that failed in the workflow execution.
86 87 88 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 86 def failed_tasks_count=(value) @failed_tasks_count = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 93 def get_field_deserializers() return super.merge({ "completedDateTime" => lambda {|n| @completed_date_time = n.get_date_time_value() }, "failedTasksCount" => lambda {|n| @failed_tasks_count = n.get_number_value() }, "processingStatus" => lambda {|n| @processing_status = n.get_enum_value(MicrosoftGraph::Models::IdentityGovernanceLifecycleWorkflowProcessingStatus) }, "scheduledDateTime" => lambda {|n| @scheduled_date_time = n.get_date_time_value() }, "startedDateTime" => lambda {|n| @started_date_time = n.get_date_time_value() }, "subject" => lambda {|n| @subject = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::User.create_from_discriminator_value(pn) }) }, "taskProcessingResults" => lambda {|n| @task_processing_results = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceTaskProcessingResult.create_from_discriminator_value(pn) }) }, "totalTasksCount" => lambda {|n| @total_tasks_count = n.get_number_value() }, "totalUnprocessedTasksCount" => lambda {|n| @total_unprocessed_tasks_count = n.get_number_value() }, "workflowExecutionType" => lambda {|n| @workflow_execution_type = n.get_enum_value(MicrosoftGraph::Models::IdentityGovernanceWorkflowExecutionType) }, "workflowVersion" => lambda {|n| @workflow_version = n.get_number_value() }, }) end |
#processing_status ⇒ Object
Gets the processingStatus property value. The processingStatus property
112 113 114 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 112 def processing_status return @processing_status end |
#processing_status=(value) ⇒ Object
Sets the processingStatus property value. The processingStatus property
120 121 122 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 120 def processing_status=(value) @processing_status = value end |
#scheduled_date_time ⇒ Object
Gets the scheduledDateTime property value. The date time that the workflow is scheduled to be executed for a user.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
127 128 129 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 127 def scheduled_date_time return @scheduled_date_time end |
#scheduled_date_time=(value) ⇒ Object
Sets the scheduledDateTime property value. The date time that the workflow is scheduled to be executed for a user.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
135 136 137 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 135 def scheduled_date_time=(value) @scheduled_date_time = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 143 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_date_time_value("completedDateTime", @completed_date_time) writer.write_number_value("failedTasksCount", @failed_tasks_count) writer.write_enum_value("processingStatus", @processing_status) writer.write_date_time_value("scheduledDateTime", @scheduled_date_time) writer.write_date_time_value("startedDateTime", @started_date_time) writer.write_object_value("subject", @subject) writer.write_collection_of_object_values("taskProcessingResults", @task_processing_results) writer.write_number_value("totalTasksCount", @total_tasks_count) writer.write_number_value("totalUnprocessedTasksCount", @total_unprocessed_tasks_count) writer.write_enum_value("workflowExecutionType", @workflow_execution_type) writer.write_number_value("workflowVersion", @workflow_version) end |
#started_date_time ⇒ Object
Gets the startedDateTime property value. The date time that the workflow execution started. Value is null if the workflow execution has not started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
162 163 164 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 162 def started_date_time return @started_date_time end |
#started_date_time=(value) ⇒ Object
Sets the startedDateTime property value. The date time that the workflow execution started. Value is null if the workflow execution has not started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
170 171 172 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 170 def started_date_time=(value) @started_date_time = value end |
#subject ⇒ Object
Gets the subject property value. The subject property
177 178 179 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 177 def subject return @subject end |
#subject=(value) ⇒ Object
Sets the subject property value. The subject property
185 186 187 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 185 def subject=(value) @subject = value end |
#task_processing_results ⇒ Object
Gets the taskProcessingResults property value. The associated individual task execution.
192 193 194 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 192 def task_processing_results return @task_processing_results end |
#task_processing_results=(value) ⇒ Object
Sets the taskProcessingResults property value. The associated individual task execution.
200 201 202 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 200 def task_processing_results=(value) @task_processing_results = value end |
#total_tasks_count ⇒ Object
Gets the totalTasksCount property value. The total number of tasks that in the workflow execution.
207 208 209 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 207 def total_tasks_count return @total_tasks_count end |
#total_tasks_count=(value) ⇒ Object
Sets the totalTasksCount property value. The total number of tasks that in the workflow execution.
215 216 217 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 215 def total_tasks_count=(value) @total_tasks_count = value end |
#total_unprocessed_tasks_count ⇒ Object
Gets the totalUnprocessedTasksCount property value. The total number of unprocessed tasks for the workflow.
222 223 224 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 222 def total_unprocessed_tasks_count return @total_unprocessed_tasks_count end |
#total_unprocessed_tasks_count=(value) ⇒ Object
Sets the totalUnprocessedTasksCount property value. The total number of unprocessed tasks for the workflow.
230 231 232 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 230 def total_unprocessed_tasks_count=(value) @total_unprocessed_tasks_count = value end |
#workflow_execution_type ⇒ Object
Gets the workflowExecutionType property value. The workflowExecutionType property
237 238 239 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 237 def workflow_execution_type return @workflow_execution_type end |
#workflow_execution_type=(value) ⇒ Object
Sets the workflowExecutionType property value. The workflowExecutionType property
245 246 247 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 245 def workflow_execution_type=(value) @workflow_execution_type = value end |
#workflow_version ⇒ Object
Gets the workflowVersion property value. The version of the workflow that was executed.
252 253 254 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 252 def workflow_version return @workflow_version end |
#workflow_version=(value) ⇒ Object
Sets the workflowVersion property value. The version of the workflow that was executed.
260 261 262 |
# File 'lib/models/identity_governance_user_processing_result.rb', line 260 def workflow_version=(value) @workflow_version = value end |