Class: MicrosoftGraph::Models::TeleconferenceDeviceQuality

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeObject

Instantiates a new teleconferenceDeviceQuality and sets the default values.



139
140
141
# File 'lib/models/teleconference_device_quality.rb', line 139

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 teleconference_device_quality

Raises:

  • (StandardError)


147
148
149
150
# File 'lib/models/teleconference_device_quality.rb', line 147

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return TeleconferenceDeviceQuality.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



49
50
51
# File 'lib/models/teleconference_device_quality.rb', line 49

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



57
58
59
# File 'lib/models/teleconference_device_quality.rb', line 57

def additional_data=(value)
    @additional_data = value
end

#call_chain_idObject

Gets the callChainId property value. A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId.

Returns:

  • a guid



64
65
66
# File 'lib/models/teleconference_device_quality.rb', line 64

def call_chain_id
    return @call_chain_id
end

#call_chain_id=(value) ⇒ Object

Sets the callChainId property value. A unique identifier for all the participant calls in a conference or a unique identifier for two participant calls in P2P call. This needs to be copied over from Microsoft.Graph.Call.CallChainId.

Parameters:

  • value

    Value to set for the callChainId property.

Returns:

  • a void



72
73
74
# File 'lib/models/teleconference_device_quality.rb', line 72

def call_chain_id=(value)
    @call_chain_id = value
end

#cloud_service_deployment_environmentObject

Gets the cloudServiceDeploymentEnvironment property value. A geo-region where the service is deployed, such as ProdNoam.

Returns:

  • a string



79
80
81
# File 'lib/models/teleconference_device_quality.rb', line 79

def cloud_service_deployment_environment
    return @cloud_service_deployment_environment
end

#cloud_service_deployment_environment=(value) ⇒ Object

Sets the cloudServiceDeploymentEnvironment property value. A geo-region where the service is deployed, such as ProdNoam.

Parameters:

  • value

    Value to set for the cloudServiceDeploymentEnvironment property.

Returns:

  • a void



87
88
89
# File 'lib/models/teleconference_device_quality.rb', line 87

def cloud_service_deployment_environment=(value)
    @cloud_service_deployment_environment = value
end

#cloud_service_deployment_idObject

Gets the cloudServiceDeploymentId property value. A unique deployment identifier assigned by Azure.

Returns:

  • a string



94
95
96
# File 'lib/models/teleconference_device_quality.rb', line 94

def cloud_service_deployment_id
    return @cloud_service_deployment_id
end

#cloud_service_deployment_id=(value) ⇒ Object

Sets the cloudServiceDeploymentId property value. A unique deployment identifier assigned by Azure.

Parameters:

  • value

    Value to set for the cloudServiceDeploymentId property.

Returns:

  • a void



102
103
104
# File 'lib/models/teleconference_device_quality.rb', line 102

def cloud_service_deployment_id=(value)
    @cloud_service_deployment_id = value
end

#cloud_service_instance_nameObject

Gets the cloudServiceInstanceName property value. The Azure deployed cloud service instance name, such as FrontEndIN3.

Returns:

  • a string



109
110
111
# File 'lib/models/teleconference_device_quality.rb', line 109

def cloud_service_instance_name
    return @cloud_service_instance_name
end

#cloud_service_instance_name=(value) ⇒ Object

Sets the cloudServiceInstanceName property value. The Azure deployed cloud service instance name, such as FrontEndIN3.

Parameters:

  • value

    Value to set for the cloudServiceInstanceName property.

Returns:

  • a void



117
118
119
# File 'lib/models/teleconference_device_quality.rb', line 117

def cloud_service_instance_name=(value)
    @cloud_service_instance_name = value
end

#cloud_service_nameObject

Gets the cloudServiceName property value. The Azure deployed cloud service name, such as contoso.cloudapp.net.

Returns:

  • a string



124
125
126
# File 'lib/models/teleconference_device_quality.rb', line 124

def cloud_service_name
    return @cloud_service_name
end

#cloud_service_name=(value) ⇒ Object

Sets the cloudServiceName property value. The Azure deployed cloud service name, such as contoso.cloudapp.net.

Parameters:

  • value

    Value to set for the cloudServiceName property.

Returns:

  • a void



132
133
134
# File 'lib/models/teleconference_device_quality.rb', line 132

def cloud_service_name=(value)
    @cloud_service_name = value
end

#device_descriptionObject

Gets the deviceDescription property value. Any additional description, such as VTC Bldg 30/21.

Returns:

  • a string



155
156
157
# File 'lib/models/teleconference_device_quality.rb', line 155

def device_description
    return @device_description
end

#device_description=(value) ⇒ Object

Sets the deviceDescription property value. Any additional description, such as VTC Bldg 30/21.

Parameters:

  • value

    Value to set for the deviceDescription property.

Returns:

  • a void



163
164
165
# File 'lib/models/teleconference_device_quality.rb', line 163

def device_description=(value)
    @device_description = value
end

#device_nameObject

Gets the deviceName property value. The user media agent name, such as Cisco SX80.

Returns:

  • a string



170
171
172
# File 'lib/models/teleconference_device_quality.rb', line 170

def device_name
    return @device_name
end

#device_name=(value) ⇒ Object

Sets the deviceName property value. The user media agent name, such as Cisco SX80.

Parameters:

  • value

    Value to set for the deviceName property.

Returns:

  • a void



178
179
180
# File 'lib/models/teleconference_device_quality.rb', line 178

def device_name=(value)
    @device_name = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
# File 'lib/models/teleconference_device_quality.rb', line 185

def get_field_deserializers()
    return {
        "callChainId" => lambda {|n| @call_chain_id = n.get_guid_value() },
        "cloudServiceDeploymentEnvironment" => lambda {|n| @cloud_service_deployment_environment = n.get_string_value() },
        "cloudServiceDeploymentId" => lambda {|n| @cloud_service_deployment_id = n.get_string_value() },
        "cloudServiceInstanceName" => lambda {|n| @cloud_service_instance_name = n.get_string_value() },
        "cloudServiceName" => lambda {|n| @cloud_service_name = n.get_string_value() },
        "deviceDescription" => lambda {|n| @device_description = n.get_string_value() },
        "deviceName" => lambda {|n| @device_name = n.get_string_value() },
        "mediaLegId" => lambda {|n| @media_leg_id = n.get_guid_value() },
        "mediaQualityList" => lambda {|n| @media_quality_list = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::TeleconferenceDeviceMediaQuality.create_from_discriminator_value(pn) }) },
        "@odata.type" => lambda {|n| @odata_type = n.get_string_value() },
        "participantId" => lambda {|n| @participant_id = n.get_guid_value() },
    }
end

#media_leg_idObject

Gets the mediaLegId property value. A unique identifier for a specific media leg of a participant in a conference. One participant can have multiple media leg identifiers if retargeting happens. CVI partner assigns this value.

Returns:

  • a guid



204
205
206
# File 'lib/models/teleconference_device_quality.rb', line 204

def media_leg_id
    return @media_leg_id
end

#media_leg_id=(value) ⇒ Object

Sets the mediaLegId property value. A unique identifier for a specific media leg of a participant in a conference. One participant can have multiple media leg identifiers if retargeting happens. CVI partner assigns this value.

Parameters:

  • value

    Value to set for the mediaLegId property.

Returns:

  • a void



212
213
214
# File 'lib/models/teleconference_device_quality.rb', line 212

def media_leg_id=(value)
    @media_leg_id = value
end

#media_quality_listObject

Gets the mediaQualityList property value. The list of media qualities in a media session (call), such as audio quality, video quality, and/or screen sharing quality.

Returns:

  • a teleconference_device_media_quality



219
220
221
# File 'lib/models/teleconference_device_quality.rb', line 219

def media_quality_list
    return @media_quality_list
end

#media_quality_list=(value) ⇒ Object

Sets the mediaQualityList property value. The list of media qualities in a media session (call), such as audio quality, video quality, and/or screen sharing quality.

Parameters:

  • value

    Value to set for the mediaQualityList property.

Returns:

  • a void



227
228
229
# File 'lib/models/teleconference_device_quality.rb', line 227

def media_quality_list=(value)
    @media_quality_list = value
end

#odata_typeObject

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

Returns:

  • a string



234
235
236
# File 'lib/models/teleconference_device_quality.rb', line 234

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



242
243
244
# File 'lib/models/teleconference_device_quality.rb', line 242

def odata_type=(value)
    @odata_type = value
end

#participant_idObject

Gets the participantId property value. A unique identifier for a specific participant in a conference. The CVI partner needs to copy over Call.MyParticipantId to this property.

Returns:

  • a guid



249
250
251
# File 'lib/models/teleconference_device_quality.rb', line 249

def participant_id
    return @participant_id
end

#participant_id=(value) ⇒ Object

Sets the participantId property value. A unique identifier for a specific participant in a conference. The CVI partner needs to copy over Call.MyParticipantId to this property.

Parameters:

  • value

    Value to set for the participantId property.

Returns:

  • a void



257
258
259
# File 'lib/models/teleconference_device_quality.rb', line 257

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


265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
# File 'lib/models/teleconference_device_quality.rb', line 265

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    writer.write_guid_value("callChainId", @call_chain_id)
    writer.write_string_value("cloudServiceDeploymentEnvironment", @cloud_service_deployment_environment)
    writer.write_string_value("cloudServiceDeploymentId", @cloud_service_deployment_id)
    writer.write_string_value("cloudServiceInstanceName", @cloud_service_instance_name)
    writer.write_string_value("cloudServiceName", @cloud_service_name)
    writer.write_string_value("deviceDescription", @device_description)
    writer.write_string_value("deviceName", @device_name)
    writer.write_guid_value("mediaLegId", @media_leg_id)
    writer.write_collection_of_object_values("mediaQualityList", @media_quality_list)
    writer.write_string_value("@odata.type", @odata_type)
    writer.write_guid_value("participantId", @participant_id)
    writer.write_additional_data(@additional_data)
end