Class: MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::Workflows::Item::MicrosoftGraphIdentityGovernanceActivate::ActivatePostRequestBody
- Inherits:
-
Object
- Object
- MicrosoftGraph::IdentityGovernance::LifecycleWorkflows::Workflows::Item::MicrosoftGraphIdentityGovernanceActivate::ActivatePostRequestBody
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.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
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new activatePostRequestBody and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#subjects ⇒ Object
Gets the subjects property value.
-
#subjects=(value) ⇒ Object
Sets the subjects property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new activatePostRequestBody and sets the default values.
43 44 45 |
# File 'lib/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.rb', line 43 def initialize() @additional_data = Hash.new end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
51 52 53 54 |
# File 'lib/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.rb', line 51 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ActivatePostRequestBody.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
28 29 30 |
# File 'lib/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.rb', line 28 def additional_data return @additional_data end |
#additional_data=(value) ⇒ Object
Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
36 37 38 |
# File 'lib/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.rb', line 36 def additional_data=(value) @additional_data = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
59 60 61 62 63 |
# File 'lib/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.rb', line 59 def get_field_deserializers() return { "subjects" => lambda {|n| @subjects = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::User.create_from_discriminator_value(pn) }) }, } end |
#serialize(writer) ⇒ Object
Serializes information the current object
69 70 71 72 73 |
# File 'lib/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.rb', line 69 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_collection_of_object_values("subjects", @subjects) writer.write_additional_data(@additional_data) end |
#subjects ⇒ Object
Gets the subjects property value. The subjects property
78 79 80 |
# File 'lib/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.rb', line 78 def subjects return @subjects end |
#subjects=(value) ⇒ Object
Sets the subjects property value. The subjects property
86 87 88 |
# File 'lib/identity_governance/lifecycle_workflows/workflows/item/microsoft_graph_identity_governance_activate/activate_post_request_body.rb', line 86 def subjects=(value) @subjects = value end |