Class: MicrosoftGraph::Models::IdentityGovernanceCustomTaskExtensionCalloutData
- Inherits:
-
CustomExtensionData
- Object
- CustomExtensionData
- MicrosoftGraph::Models::IdentityGovernanceCustomTaskExtensionCalloutData
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/identity_governance_custom_task_extension_callout_data.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
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new identityGovernanceCustomTaskExtensionCalloutData and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#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.
-
#task_processingresult ⇒ Object
Gets the taskProcessingresult property value.
-
#task_processingresult=(value) ⇒ Object
Sets the taskProcessingresult property value.
-
#workflow ⇒ Object
Gets the workflow property value.
-
#workflow=(value) ⇒ Object
Sets the workflow property value.
Methods inherited from CustomExtensionData
#additional_data, #additional_data=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new identityGovernanceCustomTaskExtensionCalloutData and sets the default values.
25 26 27 28 |
# File 'lib/models/identity_governance_custom_task_extension_callout_data.rb', line 25 def initialize() super @odata_type = "#microsoft.graph.identityGovernance.customTaskExtensionCalloutData" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
34 35 36 37 |
# File 'lib/models/identity_governance_custom_task_extension_callout_data.rb', line 34 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IdentityGovernanceCustomTaskExtensionCalloutData.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
42 43 44 45 46 47 48 49 |
# File 'lib/models/identity_governance_custom_task_extension_callout_data.rb', line 42 def get_field_deserializers() return super.merge({ "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) }) }, "taskProcessingresult" => lambda {|n| @task_processingresult = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceTaskProcessingResult.create_from_discriminator_value(pn) }) }, "workflow" => lambda {|n| @workflow = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceWorkflow.create_from_discriminator_value(pn) }) }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
55 56 57 58 59 60 61 62 |
# File 'lib/models/identity_governance_custom_task_extension_callout_data.rb', line 55 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("subject", @subject) writer.write_object_value("task", @task) writer.write_object_value("taskProcessingresult", @task_processingresult) writer.write_object_value("workflow", @workflow) end |
#subject ⇒ Object
Gets the subject property value. The subject property
67 68 69 |
# File 'lib/models/identity_governance_custom_task_extension_callout_data.rb', line 67 def subject return @subject end |
#subject=(value) ⇒ Object
Sets the subject property value. The subject property
75 76 77 |
# File 'lib/models/identity_governance_custom_task_extension_callout_data.rb', line 75 def subject=(value) @subject = value end |
#task ⇒ Object
Gets the task property value. The task property
82 83 84 |
# File 'lib/models/identity_governance_custom_task_extension_callout_data.rb', line 82 def task return @task end |
#task=(value) ⇒ Object
Sets the task property value. The task property
90 91 92 |
# File 'lib/models/identity_governance_custom_task_extension_callout_data.rb', line 90 def task=(value) @task = value end |
#task_processingresult ⇒ Object
Gets the taskProcessingresult property value. The taskProcessingresult property
97 98 99 |
# File 'lib/models/identity_governance_custom_task_extension_callout_data.rb', line 97 def task_processingresult return @task_processingresult end |
#task_processingresult=(value) ⇒ Object
Sets the taskProcessingresult property value. The taskProcessingresult property
105 106 107 |
# File 'lib/models/identity_governance_custom_task_extension_callout_data.rb', line 105 def task_processingresult=(value) @task_processingresult = value end |
#workflow ⇒ Object
Gets the workflow property value. The workflow property
112 113 114 |
# File 'lib/models/identity_governance_custom_task_extension_callout_data.rb', line 112 def workflow return @workflow end |
#workflow=(value) ⇒ Object
Sets the workflow property value. The workflow property
120 121 122 |
# File 'lib/models/identity_governance_custom_task_extension_callout_data.rb', line 120 def workflow=(value) @workflow = value end |