Class: MicrosoftGraph::Models::AudioConferencing

Inherits:
Object
  • Object
show all
Includes:
MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/audio_conferencing.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeObject

Instantiates a new audioConferencing and sets the default values.



67
68
69
# File 'lib/models/audio_conferencing.rb', line 67

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

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a audio_conferencing

Raises:

  • (StandardError)


75
76
77
78
# File 'lib/models/audio_conferencing.rb', line 75

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return AudioConferencing.new
end

Instance Method Details

#additional_dataObject

Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

Returns:

  • a i_dictionary



37
38
39
# File 'lib/models/audio_conferencing.rb', line 37

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.

Parameters:

  • value

    Value to set for the additionalData property.

Returns:

  • a void



45
46
47
# File 'lib/models/audio_conferencing.rb', line 45

def additional_data=(value)
    @additional_data = value
end

#conference_idObject

Gets the conferenceId property value. The conference id of the online meeting.

Returns:

  • a string



52
53
54
# File 'lib/models/audio_conferencing.rb', line 52

def conference_id
    return @conference_id
end

#conference_id=(value) ⇒ Object

Sets the conferenceId property value. The conference id of the online meeting.

Parameters:

  • value

    Value to set for the conferenceId property.

Returns:

  • a void



60
61
62
# File 'lib/models/audio_conferencing.rb', line 60

def conference_id=(value)
    @conference_id = value
end

#dialin_urlObject

Gets the dialinUrl property value. A URL to the externally-accessible web page that contains dial-in information.

Returns:

  • a string



83
84
85
# File 'lib/models/audio_conferencing.rb', line 83

def dialin_url
    return @dialin_url
end

#dialin_url=(value) ⇒ Object

Sets the dialinUrl property value. A URL to the externally-accessible web page that contains dial-in information.

Parameters:

  • value

    Value to set for the dialinUrl property.

Returns:

  • a void



91
92
93
# File 'lib/models/audio_conferencing.rb', line 91

def dialin_url=(value)
    @dialin_url = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



98
99
100
101
102
103
104
105
106
107
108
# File 'lib/models/audio_conferencing.rb', line 98

def get_field_deserializers()
    return {
        "conferenceId" => lambda {|n| @conference_id = n.get_string_value() },
        "dialinUrl" => lambda {|n| @dialin_url = n.get_string_value() },
        "@odata.type" => lambda {|n| @odata_type = n.get_string_value() },
        "tollFreeNumber" => lambda {|n| @toll_free_number = n.get_string_value() },
        "tollFreeNumbers" => lambda {|n| @toll_free_numbers = n.get_collection_of_primitive_values(String) },
        "tollNumber" => lambda {|n| @toll_number = n.get_string_value() },
        "tollNumbers" => lambda {|n| @toll_numbers = n.get_collection_of_primitive_values(String) },
    }
end

#odata_typeObject

Gets the @odata.type property value. The OdataType property

Returns:

  • a string



113
114
115
# File 'lib/models/audio_conferencing.rb', line 113

def odata_type
    return @odata_type
end

#odata_type=(value) ⇒ Object

Sets the @odata.type property value. The OdataType property

Parameters:

  • value

    Value to set for the @odata.type property.

Returns:

  • a void



121
122
123
# File 'lib/models/audio_conferencing.rb', line 121

def odata_type=(value)
    @odata_type = value
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


129
130
131
132
133
134
135
136
137
138
139
# File 'lib/models/audio_conferencing.rb', line 129

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    writer.write_string_value("conferenceId", @conference_id)
    writer.write_string_value("dialinUrl", @dialin_url)
    writer.write_string_value("@odata.type", @odata_type)
    writer.write_string_value("tollFreeNumber", @toll_free_number)
    writer.write_collection_of_primitive_values("tollFreeNumbers", @toll_free_numbers)
    writer.write_string_value("tollNumber", @toll_number)
    writer.write_collection_of_primitive_values("tollNumbers", @toll_numbers)
    writer.write_additional_data(@additional_data)
end

#toll_free_numberObject

Gets the tollFreeNumber property value. The tollFreeNumber property

Returns:

  • a string



144
145
146
# File 'lib/models/audio_conferencing.rb', line 144

def toll_free_number
    return @toll_free_number
end

#toll_free_number=(value) ⇒ Object

Sets the tollFreeNumber property value. The tollFreeNumber property

Parameters:

  • value

    Value to set for the tollFreeNumber property.

Returns:

  • a void



152
153
154
# File 'lib/models/audio_conferencing.rb', line 152

def toll_free_number=(value)
    @toll_free_number = value
end

#toll_free_numbersObject

Gets the tollFreeNumbers property value. List of toll-free numbers that are displayed in the meeting invite.

Returns:

  • a string



159
160
161
# File 'lib/models/audio_conferencing.rb', line 159

def toll_free_numbers
    return @toll_free_numbers
end

#toll_free_numbers=(value) ⇒ Object

Sets the tollFreeNumbers property value. List of toll-free numbers that are displayed in the meeting invite.

Parameters:

  • value

    Value to set for the tollFreeNumbers property.

Returns:

  • a void



167
168
169
# File 'lib/models/audio_conferencing.rb', line 167

def toll_free_numbers=(value)
    @toll_free_numbers = value
end

#toll_numberObject

Gets the tollNumber property value. The tollNumber property

Returns:

  • a string



174
175
176
# File 'lib/models/audio_conferencing.rb', line 174

def toll_number
    return @toll_number
end

#toll_number=(value) ⇒ Object

Sets the tollNumber property value. The tollNumber property

Parameters:

  • value

    Value to set for the tollNumber property.

Returns:

  • a void



182
183
184
# File 'lib/models/audio_conferencing.rb', line 182

def toll_number=(value)
    @toll_number = value
end

#toll_numbersObject

Gets the tollNumbers property value. List of toll numbers that are displayed in the meeting invite.

Returns:

  • a string



189
190
191
# File 'lib/models/audio_conferencing.rb', line 189

def toll_numbers
    return @toll_numbers
end

#toll_numbers=(value) ⇒ Object

Sets the tollNumbers property value. List of toll numbers that are displayed in the meeting invite.

Parameters:

  • value

    Value to set for the tollNumbers property.

Returns:

  • a void



197
198
199
# File 'lib/models/audio_conferencing.rb', line 197

def toll_numbers=(value)
    @toll_numbers = value
end