Class: MicrosoftGraph::Models::IdentityGovernanceTaskProcessingResult
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::IdentityGovernanceTaskProcessingResult
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/identity_governance_task_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.
-
#created_date_time ⇒ Object
Gets the createdDateTime property value.
-
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value.
-
#failure_reason ⇒ Object
Gets the failureReason property value.
-
#failure_reason=(value) ⇒ Object
Sets the failureReason property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new identityGovernanceTaskProcessingResult and sets the default values.
-
#processing_status ⇒ Object
Gets the processingStatus property value.
-
#processing_status=(value) ⇒ Object
Sets the processingStatus 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 ⇒ Object
Gets the task property value.
-
#task=(value) ⇒ Object
Sets the task property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new identityGovernanceTaskProcessingResult and sets the default values.
50 51 52 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 50 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
73 74 75 76 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 73 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IdentityGovernanceTaskProcessingResult.new end |
Instance Method Details
#completed_date_time ⇒ Object
Gets the completedDateTime property value. The date time when taskProcessingResult execution ended. Value is null if task execution is still in progress.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
35 36 37 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 35 def completed_date_time return @completed_date_time end |
#completed_date_time=(value) ⇒ Object
Sets the completedDateTime property value. The date time when taskProcessingResult execution ended. Value is null if task execution is still in progress.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
43 44 45 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 43 def completed_date_time=(value) @completed_date_time = value end |
#created_date_time ⇒ Object
Gets the createdDateTime property value. The date time when the taskProcessingResult was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
57 58 59 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 57 def created_date_time return @created_date_time end |
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value. The date time when the taskProcessingResult was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
65 66 67 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 65 def created_date_time=(value) @created_date_time = value end |
#failure_reason ⇒ Object
Gets the failureReason property value. Describes why the taskProcessingResult has failed.
81 82 83 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 81 def failure_reason return @failure_reason end |
#failure_reason=(value) ⇒ Object
Sets the failureReason property value. Describes why the taskProcessingResult has failed.
89 90 91 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 89 def failure_reason=(value) @failure_reason = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
96 97 98 99 100 101 102 103 104 105 106 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 96 def get_field_deserializers() return super.merge({ "completedDateTime" => lambda {|n| @completed_date_time = n.get_date_time_value() }, "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, "failureReason" => lambda {|n| @failure_reason = n.get_string_value() }, "processingStatus" => lambda {|n| @processing_status = n.get_enum_value(MicrosoftGraph::Models::IdentityGovernanceLifecycleWorkflowProcessingStatus) }, "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) }) }, "task" => lambda {|n| @task = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceTask.create_from_discriminator_value(pn) }) }, }) end |
#processing_status ⇒ Object
Gets the processingStatus property value. The processingStatus property
111 112 113 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 111 def processing_status return @processing_status end |
#processing_status=(value) ⇒ Object
Sets the processingStatus property value. The processingStatus property
119 120 121 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 119 def processing_status=(value) @processing_status = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
127 128 129 130 131 132 133 134 135 136 137 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 127 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_date_time_value("completedDateTime", @completed_date_time) writer.write_date_time_value("createdDateTime", @created_date_time) writer.write_string_value("failureReason", @failure_reason) writer.write_enum_value("processingStatus", @processing_status) writer.write_date_time_value("startedDateTime", @started_date_time) writer.write_object_value("subject", @subject) writer.write_object_value("task", @task) end |
#started_date_time ⇒ Object
Gets the startedDateTime property value. The date time when taskProcessingResult execution started. Value is null if task execution has not yet started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
142 143 144 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 142 def started_date_time return @started_date_time end |
#started_date_time=(value) ⇒ Object
Sets the startedDateTime property value. The date time when taskProcessingResult execution started. Value is null if task execution has not yet started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
150 151 152 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 150 def started_date_time=(value) @started_date_time = value end |
#subject ⇒ Object
Gets the subject property value. The subject property
157 158 159 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 157 def subject return @subject end |
#subject=(value) ⇒ Object
Sets the subject property value. The subject property
165 166 167 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 165 def subject=(value) @subject = value end |
#task ⇒ Object
Gets the task property value. The task property
172 173 174 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 172 def task return @task end |
#task=(value) ⇒ Object
Sets the task property value. The task property
180 181 182 |
# File 'lib/models/identity_governance_task_processing_result.rb', line 180 def task=(value) @task = value end |