Class: MicrosoftGraph::Models::AudioRoutingGroup
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/audio_routing_group.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 audioRoutingGroup and sets the default values.
-
#receivers ⇒ Object
Gets the receivers property value.
-
#receivers=(value) ⇒ Object
Sets the receivers property value.
-
#routing_mode ⇒ Object
Gets the routingMode property value.
-
#routing_mode=(value) ⇒ Object
Sets the routingMode property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#sources ⇒ Object
Gets the sources property value.
-
#sources=(value) ⇒ Object
Sets the sources property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new audioRoutingGroup and sets the default values.
22 23 24 |
# File 'lib/models/audio_routing_group.rb', line 22 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
30 31 32 33 |
# File 'lib/models/audio_routing_group.rb', line 30 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return AudioRoutingGroup.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
38 39 40 41 42 43 44 |
# File 'lib/models/audio_routing_group.rb', line 38 def get_field_deserializers() return super.merge({ "receivers" => lambda {|n| @receivers = n.get_collection_of_primitive_values(String) }, "routingMode" => lambda {|n| @routing_mode = n.get_enum_value(MicrosoftGraph::Models::RoutingMode) }, "sources" => lambda {|n| @sources = n.get_collection_of_primitive_values(String) }, }) end |
#receivers ⇒ Object
Gets the receivers property value. List of receiving participant ids.
49 50 51 |
# File 'lib/models/audio_routing_group.rb', line 49 def receivers return @receivers end |
#receivers=(value) ⇒ Object
Sets the receivers property value. List of receiving participant ids.
57 58 59 |
# File 'lib/models/audio_routing_group.rb', line 57 def receivers=(value) @receivers = value end |
#routing_mode ⇒ Object
Gets the routingMode property value. The routingMode property
64 65 66 |
# File 'lib/models/audio_routing_group.rb', line 64 def routing_mode return @routing_mode end |
#routing_mode=(value) ⇒ Object
Sets the routingMode property value. The routingMode property
72 73 74 |
# File 'lib/models/audio_routing_group.rb', line 72 def routing_mode=(value) @routing_mode = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
80 81 82 83 84 85 86 |
# File 'lib/models/audio_routing_group.rb', line 80 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_primitive_values("receivers", @receivers) writer.write_enum_value("routingMode", @routing_mode) writer.write_collection_of_primitive_values("sources", @sources) end |
#sources ⇒ Object
Gets the sources property value. List of source participant ids.
91 92 93 |
# File 'lib/models/audio_routing_group.rb', line 91 def sources return @sources end |
#sources=(value) ⇒ Object
Sets the sources property value. List of source participant ids.
99 100 101 |
# File 'lib/models/audio_routing_group.rb', line 99 def sources=(value) @sources = value end |