Class: MicrosoftGraph::Models::InvitationParticipantInfo
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::InvitationParticipantInfo
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/invitation_participant_info.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.
-
#hidden ⇒ Object
Gets the hidden property value.
-
#hidden=(value) ⇒ Object
Sets the hidden property value.
-
#identity ⇒ Object
Gets the identity property value.
-
#identity=(value) ⇒ Object
Sets the identity property value.
-
#initialize ⇒ Object
constructor
Instantiates a new invitationParticipantInfo and sets the default values.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#participant_id ⇒ Object
Gets the participantId property value.
-
#participant_id=(value) ⇒ Object
Sets the participantId property value.
-
#remove_from_default_audio_routing_group ⇒ Object
Gets the removeFromDefaultAudioRoutingGroup property value.
-
#remove_from_default_audio_routing_group=(value) ⇒ Object
Sets the removeFromDefaultAudioRoutingGroup property value.
-
#replaces_call_id ⇒ Object
Gets the replacesCallId property value.
-
#replaces_call_id=(value) ⇒ Object
Sets the replacesCallId property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Constructor Details
#initialize ⇒ Object
Instantiates a new invitationParticipantInfo and sets the default values.
49 50 51 |
# File 'lib/models/invitation_participant_info.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/models/invitation_participant_info.rb', line 57 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return InvitationParticipantInfo.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/models/invitation_participant_info.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/models/invitation_participant_info.rb', line 42 def additional_data=(value) @additional_data = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/models/invitation_participant_info.rb', line 65 def get_field_deserializers() return { "hidden" => lambda {|n| @hidden = n.get_boolean_value() }, "identity" => lambda {|n| @identity = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "participantId" => lambda {|n| @participant_id = n.get_string_value() }, "removeFromDefaultAudioRoutingGroup" => lambda {|n| @remove_from_default_audio_routing_group = n.get_boolean_value() }, "replacesCallId" => lambda {|n| @replaces_call_id = n.get_string_value() }, } end |
#hidden ⇒ Object
Gets the hidden property value. Optional. Whether to hide the participant from the roster.
79 80 81 |
# File 'lib/models/invitation_participant_info.rb', line 79 def hidden return @hidden end |
#hidden=(value) ⇒ Object
Sets the hidden property value. Optional. Whether to hide the participant from the roster.
87 88 89 |
# File 'lib/models/invitation_participant_info.rb', line 87 def hidden=(value) @hidden = value end |
#identity ⇒ Object
Gets the identity property value. The identity property
94 95 96 |
# File 'lib/models/invitation_participant_info.rb', line 94 def identity return @identity end |
#identity=(value) ⇒ Object
Sets the identity property value. The identity property
102 103 104 |
# File 'lib/models/invitation_participant_info.rb', line 102 def identity=(value) @identity = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
109 110 111 |
# File 'lib/models/invitation_participant_info.rb', line 109 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
117 118 119 |
# File 'lib/models/invitation_participant_info.rb', line 117 def odata_type=(value) @odata_type = value end |
#participant_id ⇒ Object
Gets the participantId property value. Optional. The ID of the target participant.
124 125 126 |
# File 'lib/models/invitation_participant_info.rb', line 124 def participant_id return @participant_id end |
#participant_id=(value) ⇒ Object
Sets the participantId property value. Optional. The ID of the target participant.
132 133 134 |
# File 'lib/models/invitation_participant_info.rb', line 132 def participant_id=(value) @participant_id = value end |
#remove_from_default_audio_routing_group ⇒ Object
Gets the removeFromDefaultAudioRoutingGroup property value. Optional. Whether to remove them from the main mixer.
139 140 141 |
# File 'lib/models/invitation_participant_info.rb', line 139 def remove_from_default_audio_routing_group return @remove_from_default_audio_routing_group end |
#remove_from_default_audio_routing_group=(value) ⇒ Object
Sets the removeFromDefaultAudioRoutingGroup property value. Optional. Whether to remove them from the main mixer.
147 148 149 |
# File 'lib/models/invitation_participant_info.rb', line 147 def remove_from_default_audio_routing_group=(value) @remove_from_default_audio_routing_group = value end |
#replaces_call_id ⇒ Object
Gets the replacesCallId property value. Optional. The call which the target identity is currently a part of. For peer-to-peer case, the call will be dropped once the participant is added successfully.
154 155 156 |
# File 'lib/models/invitation_participant_info.rb', line 154 def replaces_call_id return @replaces_call_id end |
#replaces_call_id=(value) ⇒ Object
Sets the replacesCallId property value. Optional. The call which the target identity is currently a part of. For peer-to-peer case, the call will be dropped once the participant is added successfully.
162 163 164 |
# File 'lib/models/invitation_participant_info.rb', line 162 def replaces_call_id=(value) @replaces_call_id = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
170 171 172 173 174 175 176 177 178 179 |
# File 'lib/models/invitation_participant_info.rb', line 170 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_boolean_value("hidden", @hidden) writer.write_object_value("identity", @identity) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("participantId", @participant_id) writer.write_boolean_value("removeFromDefaultAudioRoutingGroup", @remove_from_default_audio_routing_group) writer.write_string_value("replacesCallId", @replaces_call_id) writer.write_additional_data(@additional_data) end |