Class: MicrosoftGraph::Models::OnlineMeetingInfo

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeObject

Instantiates a new onlineMeetingInfo and sets the default values.



67
68
69
# File 'lib/models/online_meeting_info.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 online_meeting_info

Raises:

  • (StandardError)


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

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return OnlineMeetingInfo.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/online_meeting_info.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/online_meeting_info.rb', line 45

def additional_data=(value)
    @additional_data = value
end

#conference_idObject

Gets the conferenceId property value. The ID of the conference.

Returns:

  • a string



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

def conference_id
    return @conference_id
end

#conference_id=(value) ⇒ Object

Sets the conferenceId property value. The ID of the conference.

Parameters:

  • value

    Value to set for the conferenceId property.

Returns:

  • a void



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

def conference_id=(value)
    @conference_id = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



83
84
85
86
87
88
89
90
91
92
93
# File 'lib/models/online_meeting_info.rb', line 83

def get_field_deserializers()
    return {
        "conferenceId" => lambda {|n| @conference_id = n.get_string_value() },
        "joinUrl" => lambda {|n| @join_url = n.get_string_value() },
        "@odata.type" => lambda {|n| @odata_type = n.get_string_value() },
        "phones" => lambda {|n| @phones = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Phone.create_from_discriminator_value(pn) }) },
        "quickDial" => lambda {|n| @quick_dial = 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() },
    }
end

#join_urlObject

Gets the joinUrl property value. The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting.

Returns:

  • a string



98
99
100
# File 'lib/models/online_meeting_info.rb', line 98

def join_url
    return @join_url
end

#join_url=(value) ⇒ Object

Sets the joinUrl property value. The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting.

Parameters:

  • value

    Value to set for the joinUrl property.

Returns:

  • a void



106
107
108
# File 'lib/models/online_meeting_info.rb', line 106

def join_url=(value)
    @join_url = value
end

#odata_typeObject

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

Returns:

  • a string



113
114
115
# File 'lib/models/online_meeting_info.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/online_meeting_info.rb', line 121

def odata_type=(value)
    @odata_type = value
end

#phonesObject

Gets the phones property value. All of the phone numbers associated with this conference.

Returns:

  • a phone



128
129
130
# File 'lib/models/online_meeting_info.rb', line 128

def phones
    return @phones
end

#phones=(value) ⇒ Object

Sets the phones property value. All of the phone numbers associated with this conference.

Parameters:

  • value

    Value to set for the phones property.

Returns:

  • a void



136
137
138
# File 'lib/models/online_meeting_info.rb', line 136

def phones=(value)
    @phones = value
end

#quick_dialObject

Gets the quickDial property value. The pre-formatted quickdial for this call.

Returns:

  • a string



143
144
145
# File 'lib/models/online_meeting_info.rb', line 143

def quick_dial
    return @quick_dial
end

#quick_dial=(value) ⇒ Object

Sets the quickDial property value. The pre-formatted quickdial for this call.

Parameters:

  • value

    Value to set for the quickDial property.

Returns:

  • a void



151
152
153
# File 'lib/models/online_meeting_info.rb', line 151

def quick_dial=(value)
    @quick_dial = 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)


159
160
161
162
163
164
165
166
167
168
169
# File 'lib/models/online_meeting_info.rb', line 159

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    writer.write_string_value("conferenceId", @conference_id)
    writer.write_string_value("joinUrl", @join_url)
    writer.write_string_value("@odata.type", @odata_type)
    writer.write_collection_of_object_values("phones", @phones)
    writer.write_string_value("quickDial", @quick_dial)
    writer.write_collection_of_primitive_values("tollFreeNumbers", @toll_free_numbers)
    writer.write_string_value("tollNumber", @toll_number)
    writer.write_additional_data(@additional_data)
end

#toll_free_numbersObject

Gets the tollFreeNumbers property value. The toll free numbers that can be used to join the conference.

Returns:

  • a string



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

def toll_free_numbers
    return @toll_free_numbers
end

#toll_free_numbers=(value) ⇒ Object

Sets the tollFreeNumbers property value. The toll free numbers that can be used to join the conference.

Parameters:

  • value

    Value to set for the tollFreeNumbers property.

Returns:

  • a void



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

def toll_free_numbers=(value)
    @toll_free_numbers = value
end

#toll_numberObject

Gets the tollNumber property value. The toll number that can be used to join the conference.

Returns:

  • a string



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

def toll_number
    return @toll_number
end

#toll_number=(value) ⇒ Object

Sets the tollNumber property value. The toll number that can be used to join the conference.

Parameters:

  • value

    Value to set for the tollNumber property.

Returns:

  • a void



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

def toll_number=(value)
    @toll_number = value
end