Class: MicrosoftGraph::Models::MeetingPolicyUpdatedEventMessageDetail
- Inherits:
-
EventMessageDetail
- Object
- EventMessageDetail
- MicrosoftGraph::Models::MeetingPolicyUpdatedEventMessageDetail
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/meeting_policy_updated_event_message_detail.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 meetingPolicyUpdatedEventMessageDetail and sets the default values.
-
#initiator ⇒ Object
Gets the initiator property value.
-
#initiator=(value) ⇒ Object
Sets the initiator property value.
-
#meeting_chat_enabled ⇒ Object
Gets the meetingChatEnabled property value.
-
#meeting_chat_enabled=(value) ⇒ Object
Sets the meetingChatEnabled property value.
-
#meeting_chat_id ⇒ Object
Gets the meetingChatId property value.
-
#meeting_chat_id=(value) ⇒ Object
Sets the meetingChatId property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from EventMessageDetail
#additional_data, #additional_data=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new meetingPolicyUpdatedEventMessageDetail and sets the default values.
22 23 24 25 |
# File 'lib/models/meeting_policy_updated_event_message_detail.rb', line 22 def initialize() super @odata_type = "#microsoft.graph.meetingPolicyUpdatedEventMessageDetail" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
31 32 33 34 |
# File 'lib/models/meeting_policy_updated_event_message_detail.rb', line 31 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return MeetingPolicyUpdatedEventMessageDetail.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
39 40 41 42 43 44 45 |
# File 'lib/models/meeting_policy_updated_event_message_detail.rb', line 39 def get_field_deserializers() return super.merge({ "initiator" => lambda {|n| @initiator = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, "meetingChatEnabled" => lambda {|n| @meeting_chat_enabled = n.get_boolean_value() }, "meetingChatId" => lambda {|n| @meeting_chat_id = n.get_string_value() }, }) end |
#initiator ⇒ Object
Gets the initiator property value. Initiator of the event.
50 51 52 |
# File 'lib/models/meeting_policy_updated_event_message_detail.rb', line 50 def initiator return @initiator end |
#initiator=(value) ⇒ Object
Sets the initiator property value. Initiator of the event.
58 59 60 |
# File 'lib/models/meeting_policy_updated_event_message_detail.rb', line 58 def initiator=(value) @initiator = value end |
#meeting_chat_enabled ⇒ Object
Gets the meetingChatEnabled property value. Represents whether the meeting chat is enabled or not.
65 66 67 |
# File 'lib/models/meeting_policy_updated_event_message_detail.rb', line 65 def meeting_chat_enabled return @meeting_chat_enabled end |
#meeting_chat_enabled=(value) ⇒ Object
Sets the meetingChatEnabled property value. Represents whether the meeting chat is enabled or not.
73 74 75 |
# File 'lib/models/meeting_policy_updated_event_message_detail.rb', line 73 def meeting_chat_enabled=(value) @meeting_chat_enabled = value end |
#meeting_chat_id ⇒ Object
Gets the meetingChatId property value. Unique identifier of the meeting chat.
80 81 82 |
# File 'lib/models/meeting_policy_updated_event_message_detail.rb', line 80 def meeting_chat_id return @meeting_chat_id end |
#meeting_chat_id=(value) ⇒ Object
Sets the meetingChatId property value. Unique identifier of the meeting chat.
88 89 90 |
# File 'lib/models/meeting_policy_updated_event_message_detail.rb', line 88 def meeting_chat_id=(value) @meeting_chat_id = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
96 97 98 99 100 101 102 |
# File 'lib/models/meeting_policy_updated_event_message_detail.rb', line 96 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("initiator", @initiator) writer.write_boolean_value("meetingChatEnabled", @meeting_chat_enabled) writer.write_string_value("meetingChatId", @meeting_chat_id) end |