Class: MicrosoftGraph::IdentityGovernance::EntitlementManagement::AssignmentRequests::Item::Resume::ResumePostRequestBody
- Inherits:
-
Object
- Object
- MicrosoftGraph::IdentityGovernance::EntitlementManagement::AssignmentRequests::Item::Resume::ResumePostRequestBody
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_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.
-
#data ⇒ Object
Gets the data property value.
-
#data=(value) ⇒ Object
Sets the data property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new resumePostRequestBody and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#source ⇒ Object
Gets the source property value.
-
#source=(value) ⇒ Object
Sets the source property value.
-
#type ⇒ Object
Gets the type property value.
-
#type=(value) ⇒ Object
Sets the type property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new resumePostRequestBody and sets the default values.
49 50 51 |
# File 'lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.rb', line 49 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
57 58 59 60 |
# File 'lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.rb', line 57 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ResumePostRequestBody.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.
34 35 36 |
# File 'lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.rb', line 34 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.
42 43 44 |
# File 'lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.rb', line 42 def additional_data=(value) @additional_data = value end |
#data ⇒ Object
Gets the data property value. The data property
65 66 67 |
# File 'lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.rb', line 65 def data return @data end |
#data=(value) ⇒ Object
Sets the data property value. The data property
73 74 75 |
# File 'lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.rb', line 73 def data=(value) @data = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
80 81 82 83 84 85 86 |
# File 'lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.rb', line 80 def get_field_deserializers() return { "data" => lambda {|n| @data = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::CustomExtensionData.create_from_discriminator_value(pn) }) }, "source" => lambda {|n| @source = n.get_string_value() }, "type" => lambda {|n| @type = n.get_string_value() }, } end |
#serialize(writer) ⇒ Object
Serializes information the current object
92 93 94 95 96 97 98 |
# File 'lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.rb', line 92 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_object_value("data", @data) writer.write_string_value("source", @source) writer.write_string_value("type", @type) writer.write_additional_data(@additional_data) end |
#source ⇒ Object
Gets the source property value. The source property
103 104 105 |
# File 'lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.rb', line 103 def source return @source end |
#source=(value) ⇒ Object
Sets the source property value. The source property
111 112 113 |
# File 'lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.rb', line 111 def source=(value) @source = value end |
#type ⇒ Object
Gets the type property value. The type property
118 119 120 |
# File 'lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.rb', line 118 def type return @type end |
#type=(value) ⇒ Object
Sets the type property value. The type property
126 127 128 |
# File 'lib/identity_governance/entitlement_management/assignment_requests/item/resume/resume_post_request_body.rb', line 126 def type=(value) @type = value end |