Class: MicrosoftGraph::Communications::OnlineMeetings::CreateOrGet::CreateOrGetPostRequestBody
- Inherits:
-
Object
- Object
- MicrosoftGraph::Communications::OnlineMeetings::CreateOrGet::CreateOrGetPostRequestBody
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/communications/online_meetings/create_or_get/create_or_get_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.
-
#chat_info ⇒ Object
Gets the chatInfo property value.
-
#chat_info=(value) ⇒ Object
Sets the chatInfo property value.
-
#end_date_time ⇒ Object
Gets the endDateTime property value.
-
#end_date_time=(value) ⇒ Object
Sets the endDateTime property value.
-
#external_id ⇒ Object
Gets the externalId property value.
-
#external_id=(value) ⇒ Object
Sets the externalId property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new createOrGetPostRequestBody and sets the default values.
-
#participants ⇒ Object
Gets the participants property value.
-
#participants=(value) ⇒ Object
Sets the participants property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#start_date_time ⇒ Object
Gets the startDateTime property value.
-
#start_date_time=(value) ⇒ Object
Sets the startDateTime property value.
-
#subject ⇒ Object
Gets the subject property value.
-
#subject=(value) ⇒ Object
Sets the subject property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new createOrGetPostRequestBody and sets the default values.
71 72 73 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 71 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
79 80 81 82 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 79 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return CreateOrGetPostRequestBody.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.
41 42 43 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 41 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.
49 50 51 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 49 def additional_data=(value) @additional_data = value end |
#chat_info ⇒ Object
Gets the chatInfo property value. The chatInfo property
56 57 58 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 56 def chat_info return @chat_info end |
#chat_info=(value) ⇒ Object
Sets the chatInfo property value. The chatInfo property
64 65 66 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 64 def chat_info=(value) @chat_info = value end |
#end_date_time ⇒ Object
Gets the endDateTime property value. The endDateTime property
87 88 89 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 87 def end_date_time return @end_date_time end |
#end_date_time=(value) ⇒ Object
Sets the endDateTime property value. The endDateTime property
95 96 97 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 95 def end_date_time=(value) @end_date_time = value end |
#external_id ⇒ Object
Gets the externalId property value. The externalId property
102 103 104 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 102 def external_id return @external_id end |
#external_id=(value) ⇒ Object
Sets the externalId property value. The externalId property
110 111 112 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 110 def external_id=(value) @external_id = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
117 118 119 120 121 122 123 124 125 126 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 117 def get_field_deserializers() return { "chatInfo" => lambda {|n| @chat_info = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ChatInfo.create_from_discriminator_value(pn) }) }, "endDateTime" => lambda {|n| @end_date_time = n.get_date_time_value() }, "externalId" => lambda {|n| @external_id = n.get_string_value() }, "participants" => lambda {|n| @participants = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::MeetingParticipants.create_from_discriminator_value(pn) }) }, "startDateTime" => lambda {|n| @start_date_time = n.get_date_time_value() }, "subject" => lambda {|n| @subject = n.get_string_value() }, } end |
#participants ⇒ Object
Gets the participants property value. The participants property
131 132 133 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 131 def participants return @participants end |
#participants=(value) ⇒ Object
Sets the participants property value. The participants property
139 140 141 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 139 def participants=(value) @participants = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
147 148 149 150 151 152 153 154 155 156 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 147 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_object_value("chatInfo", @chat_info) writer.write_date_time_value("endDateTime", @end_date_time) writer.write_string_value("externalId", @external_id) writer.write_object_value("participants", @participants) writer.write_date_time_value("startDateTime", @start_date_time) writer.write_string_value("subject", @subject) writer.write_additional_data(@additional_data) end |
#start_date_time ⇒ Object
Gets the startDateTime property value. The startDateTime property
161 162 163 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 161 def start_date_time return @start_date_time end |
#start_date_time=(value) ⇒ Object
Sets the startDateTime property value. The startDateTime property
169 170 171 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 169 def start_date_time=(value) @start_date_time = value end |
#subject ⇒ Object
Gets the subject property value. The subject property
176 177 178 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 176 def subject return @subject end |
#subject=(value) ⇒ Object
Sets the subject property value. The subject property
184 185 186 |
# File 'lib/communications/online_meetings/create_or_get/create_or_get_post_request_body.rb', line 184 def subject=(value) @subject = value end |