Class: MicrosoftGraph::Models::IdentityGovernanceRun
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/identity_governance_run.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.
-
#failed_users_count ⇒ Object
Gets the failedUsersCount property value.
-
#failed_users_count=(value) ⇒ Object
Sets the failedUsersCount property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new identityGovernanceRun and sets the default values.
-
#last_updated_date_time ⇒ Object
Gets the lastUpdatedDateTime property value.
-
#last_updated_date_time=(value) ⇒ Object
Sets the lastUpdatedDateTime property value.
-
#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.
-
#successful_users_count ⇒ Object
Gets the successfulUsersCount property value.
-
#successful_users_count=(value) ⇒ Object
Sets the successfulUsersCount 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.
-
#total_users_count ⇒ Object
Gets the totalUsersCount property value.
-
#total_users_count=(value) ⇒ Object
Sets the totalUsersCount property value.
-
#user_processing_results ⇒ Object
Gets the userProcessingResults property value.
-
#user_processing_results=(value) ⇒ Object
Sets the userProcessingResults property value.
-
#workflow_execution_type ⇒ Object
Gets the workflowExecutionType property value.
-
#workflow_execution_type=(value) ⇒ Object
Sets the workflowExecutionType property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new identityGovernanceRun and sets the default values.
71 72 73 |
# File 'lib/models/identity_governance_run.rb', line 71 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
79 80 81 82 |
# File 'lib/models/identity_governance_run.rb', line 79 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IdentityGovernanceRun.new end |
Instance Method Details
#completed_date_time ⇒ Object
Gets the completedDateTime property value. The date time that the run completed. Value is null if the workflow hasn’t completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
56 57 58 |
# File 'lib/models/identity_governance_run.rb', line 56 def completed_date_time return @completed_date_time end |
#completed_date_time=(value) ⇒ Object
Sets the completedDateTime property value. The date time that the run completed. Value is null if the workflow hasn’t completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
64 65 66 |
# File 'lib/models/identity_governance_run.rb', line 64 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 run execution.
87 88 89 |
# File 'lib/models/identity_governance_run.rb', line 87 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 run execution.
95 96 97 |
# File 'lib/models/identity_governance_run.rb', line 95 def failed_tasks_count=(value) @failed_tasks_count = value end |
#failed_users_count ⇒ Object
Gets the failedUsersCount property value. The number of users that failed in the run execution.
102 103 104 |
# File 'lib/models/identity_governance_run.rb', line 102 def failed_users_count return @failed_users_count end |
#failed_users_count=(value) ⇒ Object
Sets the failedUsersCount property value. The number of users that failed in the run execution.
110 111 112 |
# File 'lib/models/identity_governance_run.rb', line 110 def failed_users_count=(value) @failed_users_count = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'lib/models/identity_governance_run.rb', line 117 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() }, "failedUsersCount" => lambda {|n| @failed_users_count = n.get_number_value() }, "lastUpdatedDateTime" => lambda {|n| @last_updated_date_time = n.get_date_time_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() }, "successfulUsersCount" => lambda {|n| @successful_users_count = n.get_number_value() }, "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() }, "totalUsersCount" => lambda {|n| @total_users_count = n.get_number_value() }, "userProcessingResults" => lambda {|n| @user_processing_results = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceUserProcessingResult.create_from_discriminator_value(pn) }) }, "workflowExecutionType" => lambda {|n| @workflow_execution_type = n.get_enum_value(MicrosoftGraph::Models::IdentityGovernanceWorkflowExecutionType) }, }) end |
#last_updated_date_time ⇒ Object
Gets the lastUpdatedDateTime property value. The datetime that the run was last updated.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
139 140 141 |
# File 'lib/models/identity_governance_run.rb', line 139 def last_updated_date_time return @last_updated_date_time end |
#last_updated_date_time=(value) ⇒ Object
Sets the lastUpdatedDateTime property value. The datetime that the run was last updated.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
147 148 149 |
# File 'lib/models/identity_governance_run.rb', line 147 def last_updated_date_time=(value) @last_updated_date_time = value end |
#processing_status ⇒ Object
Gets the processingStatus property value. The processingStatus property
154 155 156 |
# File 'lib/models/identity_governance_run.rb', line 154 def processing_status return @processing_status end |
#processing_status=(value) ⇒ Object
Sets the processingStatus property value. The processingStatus property
162 163 164 |
# File 'lib/models/identity_governance_run.rb', line 162 def processing_status=(value) @processing_status = value end |
#scheduled_date_time ⇒ Object
Gets the scheduledDateTime property value. The date time that the run is scheduled to be executed for a workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
169 170 171 |
# File 'lib/models/identity_governance_run.rb', line 169 def scheduled_date_time return @scheduled_date_time end |
#scheduled_date_time=(value) ⇒ Object
Sets the scheduledDateTime property value. The date time that the run is scheduled to be executed for a workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
177 178 179 |
# File 'lib/models/identity_governance_run.rb', line 177 def scheduled_date_time=(value) @scheduled_date_time = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'lib/models/identity_governance_run.rb', line 185 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_number_value("failedUsersCount", @failed_users_count) writer.write_date_time_value("lastUpdatedDateTime", @last_updated_date_time) 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_number_value("successfulUsersCount", @successful_users_count) 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_number_value("totalUsersCount", @total_users_count) writer.write_collection_of_object_values("userProcessingResults", @user_processing_results) writer.write_enum_value("workflowExecutionType", @workflow_execution_type) end |
#started_date_time ⇒ Object
Gets the startedDateTime property value. The date time that the run execution started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
207 208 209 |
# File 'lib/models/identity_governance_run.rb', line 207 def started_date_time return @started_date_time end |
#started_date_time=(value) ⇒ Object
Sets the startedDateTime property value. The date time that the run execution started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
215 216 217 |
# File 'lib/models/identity_governance_run.rb', line 215 def started_date_time=(value) @started_date_time = value end |
#successful_users_count ⇒ Object
Gets the successfulUsersCount property value. The number of successfully completed users in the run.
222 223 224 |
# File 'lib/models/identity_governance_run.rb', line 222 def successful_users_count return @successful_users_count end |
#successful_users_count=(value) ⇒ Object
Sets the successfulUsersCount property value. The number of successfully completed users in the run.
230 231 232 |
# File 'lib/models/identity_governance_run.rb', line 230 def successful_users_count=(value) @successful_users_count = value end |
#task_processing_results ⇒ Object
Gets the taskProcessingResults property value. The related taskProcessingResults.
237 238 239 |
# File 'lib/models/identity_governance_run.rb', line 237 def task_processing_results return @task_processing_results end |
#task_processing_results=(value) ⇒ Object
Sets the taskProcessingResults property value. The related taskProcessingResults.
245 246 247 |
# File 'lib/models/identity_governance_run.rb', line 245 def task_processing_results=(value) @task_processing_results = value end |
#total_tasks_count ⇒ Object
Gets the totalTasksCount property value. The totalTasksCount property
252 253 254 |
# File 'lib/models/identity_governance_run.rb', line 252 def total_tasks_count return @total_tasks_count end |
#total_tasks_count=(value) ⇒ Object
Sets the totalTasksCount property value. The totalTasksCount property
260 261 262 |
# File 'lib/models/identity_governance_run.rb', line 260 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 in the run execution.
267 268 269 |
# File 'lib/models/identity_governance_run.rb', line 267 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 in the run execution.
275 276 277 |
# File 'lib/models/identity_governance_run.rb', line 275 def total_unprocessed_tasks_count=(value) @total_unprocessed_tasks_count = value end |
#total_users_count ⇒ Object
Gets the totalUsersCount property value. The total number of users in the workflow execution.
282 283 284 |
# File 'lib/models/identity_governance_run.rb', line 282 def total_users_count return @total_users_count end |
#total_users_count=(value) ⇒ Object
Sets the totalUsersCount property value. The total number of users in the workflow execution.
290 291 292 |
# File 'lib/models/identity_governance_run.rb', line 290 def total_users_count=(value) @total_users_count = value end |
#user_processing_results ⇒ Object
Gets the userProcessingResults property value. The associated individual user execution.
297 298 299 |
# File 'lib/models/identity_governance_run.rb', line 297 def user_processing_results return @user_processing_results end |
#user_processing_results=(value) ⇒ Object
Sets the userProcessingResults property value. The associated individual user execution.
305 306 307 |
# File 'lib/models/identity_governance_run.rb', line 305 def user_processing_results=(value) @user_processing_results = value end |
#workflow_execution_type ⇒ Object
Gets the workflowExecutionType property value. The workflowExecutionType property
312 313 314 |
# File 'lib/models/identity_governance_run.rb', line 312 def workflow_execution_type return @workflow_execution_type end |
#workflow_execution_type=(value) ⇒ Object
Sets the workflowExecutionType property value. The workflowExecutionType property
320 321 322 |
# File 'lib/models/identity_governance_run.rb', line 320 def workflow_execution_type=(value) @workflow_execution_type = value end |