Class: MicrosoftGraph::Models::CallRecordsDeviceInfo
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::CallRecordsDeviceInfo
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/call_records_device_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.
-
#capture_device_driver ⇒ Object
Gets the captureDeviceDriver property value.
-
#capture_device_driver=(value) ⇒ Object
Sets the captureDeviceDriver property value.
-
#capture_device_name ⇒ Object
Gets the captureDeviceName property value.
-
#capture_device_name=(value) ⇒ Object
Sets the captureDeviceName property value.
-
#capture_not_functioning_event_ratio ⇒ Object
Gets the captureNotFunctioningEventRatio property value.
-
#capture_not_functioning_event_ratio=(value) ⇒ Object
Sets the captureNotFunctioningEventRatio property value.
-
#cpu_insufficent_event_ratio ⇒ Object
Gets the cpuInsufficentEventRatio property value.
-
#cpu_insufficent_event_ratio=(value) ⇒ Object
Sets the cpuInsufficentEventRatio property value.
-
#device_clipping_event_ratio ⇒ Object
Gets the deviceClippingEventRatio property value.
-
#device_clipping_event_ratio=(value) ⇒ Object
Sets the deviceClippingEventRatio property value.
-
#device_glitch_event_ratio ⇒ Object
Gets the deviceGlitchEventRatio property value.
-
#device_glitch_event_ratio=(value) ⇒ Object
Sets the deviceGlitchEventRatio property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#howling_event_count ⇒ Object
Gets the howlingEventCount property value.
-
#howling_event_count=(value) ⇒ Object
Sets the howlingEventCount property value.
-
#initial_signal_level_root_mean_square ⇒ Object
Gets the initialSignalLevelRootMeanSquare property value.
-
#initial_signal_level_root_mean_square=(value) ⇒ Object
Sets the initialSignalLevelRootMeanSquare property value.
-
#initialize ⇒ Object
constructor
Instantiates a new callRecordsDeviceInfo and sets the default values.
-
#low_speech_level_event_ratio ⇒ Object
Gets the lowSpeechLevelEventRatio property value.
-
#low_speech_level_event_ratio=(value) ⇒ Object
Sets the lowSpeechLevelEventRatio property value.
-
#low_speech_to_noise_event_ratio ⇒ Object
Gets the lowSpeechToNoiseEventRatio property value.
-
#low_speech_to_noise_event_ratio=(value) ⇒ Object
Sets the lowSpeechToNoiseEventRatio property value.
-
#mic_glitch_rate ⇒ Object
Gets the micGlitchRate property value.
-
#mic_glitch_rate=(value) ⇒ Object
Sets the micGlitchRate property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#received_noise_level ⇒ Object
Gets the receivedNoiseLevel property value.
-
#received_noise_level=(value) ⇒ Object
Sets the receivedNoiseLevel property value.
-
#received_signal_level ⇒ Object
Gets the receivedSignalLevel property value.
-
#received_signal_level=(value) ⇒ Object
Sets the receivedSignalLevel property value.
-
#render_device_driver ⇒ Object
Gets the renderDeviceDriver property value.
-
#render_device_driver=(value) ⇒ Object
Sets the renderDeviceDriver property value.
-
#render_device_name ⇒ Object
Gets the renderDeviceName property value.
-
#render_device_name=(value) ⇒ Object
Sets the renderDeviceName property value.
-
#render_mute_event_ratio ⇒ Object
Gets the renderMuteEventRatio property value.
-
#render_mute_event_ratio=(value) ⇒ Object
Sets the renderMuteEventRatio property value.
-
#render_not_functioning_event_ratio ⇒ Object
Gets the renderNotFunctioningEventRatio property value.
-
#render_not_functioning_event_ratio=(value) ⇒ Object
Sets the renderNotFunctioningEventRatio property value.
-
#render_zero_volume_event_ratio ⇒ Object
Gets the renderZeroVolumeEventRatio property value.
-
#render_zero_volume_event_ratio=(value) ⇒ Object
Sets the renderZeroVolumeEventRatio property value.
-
#sent_noise_level ⇒ Object
Gets the sentNoiseLevel property value.
-
#sent_noise_level=(value) ⇒ Object
Sets the sentNoiseLevel property value.
-
#sent_signal_level ⇒ Object
Gets the sentSignalLevel property value.
-
#sent_signal_level=(value) ⇒ Object
Sets the sentSignalLevel property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#speaker_glitch_rate ⇒ Object
Gets the speakerGlitchRate property value.
-
#speaker_glitch_rate=(value) ⇒ Object
Sets the speakerGlitchRate property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new callRecordsDeviceInfo and sets the default values.
142 143 144 |
# File 'lib/models/call_records_device_info.rb', line 142 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
165 166 167 168 |
# File 'lib/models/call_records_device_info.rb', line 165 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return CallRecordsDeviceInfo.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.
82 83 84 |
# File 'lib/models/call_records_device_info.rb', line 82 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.
90 91 92 |
# File 'lib/models/call_records_device_info.rb', line 90 def additional_data=(value) @additional_data = value end |
#capture_device_driver ⇒ Object
Gets the captureDeviceDriver property value. Name of the capture device driver used by the media endpoint.
97 98 99 |
# File 'lib/models/call_records_device_info.rb', line 97 def capture_device_driver return @capture_device_driver end |
#capture_device_driver=(value) ⇒ Object
Sets the captureDeviceDriver property value. Name of the capture device driver used by the media endpoint.
105 106 107 |
# File 'lib/models/call_records_device_info.rb', line 105 def capture_device_driver=(value) @capture_device_driver = value end |
#capture_device_name ⇒ Object
Gets the captureDeviceName property value. Name of the capture device used by the media endpoint.
112 113 114 |
# File 'lib/models/call_records_device_info.rb', line 112 def capture_device_name return @capture_device_name end |
#capture_device_name=(value) ⇒ Object
Sets the captureDeviceName property value. Name of the capture device used by the media endpoint.
120 121 122 |
# File 'lib/models/call_records_device_info.rb', line 120 def capture_device_name=(value) @capture_device_name = value end |
#capture_not_functioning_event_ratio ⇒ Object
Gets the captureNotFunctioningEventRatio property value. Fraction of the call that the media endpoint detected the capture device was not working properly.
127 128 129 |
# File 'lib/models/call_records_device_info.rb', line 127 def capture_not_functioning_event_ratio return @capture_not_functioning_event_ratio end |
#capture_not_functioning_event_ratio=(value) ⇒ Object
Sets the captureNotFunctioningEventRatio property value. Fraction of the call that the media endpoint detected the capture device was not working properly.
135 136 137 |
# File 'lib/models/call_records_device_info.rb', line 135 def capture_not_functioning_event_ratio=(value) @capture_not_functioning_event_ratio = value end |
#cpu_insufficent_event_ratio ⇒ Object
Gets the cpuInsufficentEventRatio property value. Fraction of the call that the media endpoint detected the CPU resources available were insufficient and caused poor quality of the audio sent and received.
149 150 151 |
# File 'lib/models/call_records_device_info.rb', line 149 def cpu_insufficent_event_ratio return @cpu_insufficent_event_ratio end |
#cpu_insufficent_event_ratio=(value) ⇒ Object
Sets the cpuInsufficentEventRatio property value. Fraction of the call that the media endpoint detected the CPU resources available were insufficient and caused poor quality of the audio sent and received.
157 158 159 |
# File 'lib/models/call_records_device_info.rb', line 157 def cpu_insufficent_event_ratio=(value) @cpu_insufficent_event_ratio = value end |
#device_clipping_event_ratio ⇒ Object
Gets the deviceClippingEventRatio property value. Fraction of the call that the media endpoint detected clipping in the captured audio that caused poor quality of the audio being sent.
173 174 175 |
# File 'lib/models/call_records_device_info.rb', line 173 def device_clipping_event_ratio return @device_clipping_event_ratio end |
#device_clipping_event_ratio=(value) ⇒ Object
Sets the deviceClippingEventRatio property value. Fraction of the call that the media endpoint detected clipping in the captured audio that caused poor quality of the audio being sent.
181 182 183 |
# File 'lib/models/call_records_device_info.rb', line 181 def device_clipping_event_ratio=(value) @device_clipping_event_ratio = value end |
#device_glitch_event_ratio ⇒ Object
Gets the deviceGlitchEventRatio property value. Fraction of the call that the media endpoint detected glitches or gaps in the audio played or captured that caused poor quality of the audio being sent or received.
188 189 190 |
# File 'lib/models/call_records_device_info.rb', line 188 def device_glitch_event_ratio return @device_glitch_event_ratio end |
#device_glitch_event_ratio=(value) ⇒ Object
Sets the deviceGlitchEventRatio property value. Fraction of the call that the media endpoint detected glitches or gaps in the audio played or captured that caused poor quality of the audio being sent or received.
196 197 198 |
# File 'lib/models/call_records_device_info.rb', line 196 def device_glitch_event_ratio=(value) @device_glitch_event_ratio = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 |
# File 'lib/models/call_records_device_info.rb', line 203 def get_field_deserializers() return { "captureDeviceDriver" => lambda {|n| @capture_device_driver = n.get_string_value() }, "captureDeviceName" => lambda {|n| @capture_device_name = n.get_string_value() }, "captureNotFunctioningEventRatio" => lambda {|n| @capture_not_functioning_event_ratio = n.get_float_value() }, "cpuInsufficentEventRatio" => lambda {|n| @cpu_insufficent_event_ratio = n.get_float_value() }, "deviceClippingEventRatio" => lambda {|n| @device_clipping_event_ratio = n.get_float_value() }, "deviceGlitchEventRatio" => lambda {|n| @device_glitch_event_ratio = n.get_float_value() }, "howlingEventCount" => lambda {|n| @howling_event_count = n.get_number_value() }, "initialSignalLevelRootMeanSquare" => lambda {|n| @initial_signal_level_root_mean_square = n.get_float_value() }, "lowSpeechLevelEventRatio" => lambda {|n| @low_speech_level_event_ratio = n.get_float_value() }, "lowSpeechToNoiseEventRatio" => lambda {|n| @low_speech_to_noise_event_ratio = n.get_float_value() }, "micGlitchRate" => lambda {|n| @mic_glitch_rate = n.get_float_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "receivedNoiseLevel" => lambda {|n| @received_noise_level = n.get_number_value() }, "receivedSignalLevel" => lambda {|n| @received_signal_level = n.get_number_value() }, "renderDeviceDriver" => lambda {|n| @render_device_driver = n.get_string_value() }, "renderDeviceName" => lambda {|n| @render_device_name = n.get_string_value() }, "renderMuteEventRatio" => lambda {|n| @render_mute_event_ratio = n.get_float_value() }, "renderNotFunctioningEventRatio" => lambda {|n| @render_not_functioning_event_ratio = n.get_float_value() }, "renderZeroVolumeEventRatio" => lambda {|n| @render_zero_volume_event_ratio = n.get_float_value() }, "sentNoiseLevel" => lambda {|n| @sent_noise_level = n.get_number_value() }, "sentSignalLevel" => lambda {|n| @sent_signal_level = n.get_number_value() }, "speakerGlitchRate" => lambda {|n| @speaker_glitch_rate = n.get_float_value() }, } end |
#howling_event_count ⇒ Object
Gets the howlingEventCount property value. Number of times during the call that the media endpoint detected howling or screeching audio.
233 234 235 |
# File 'lib/models/call_records_device_info.rb', line 233 def howling_event_count return @howling_event_count end |
#howling_event_count=(value) ⇒ Object
Sets the howlingEventCount property value. Number of times during the call that the media endpoint detected howling or screeching audio.
241 242 243 |
# File 'lib/models/call_records_device_info.rb', line 241 def howling_event_count=(value) @howling_event_count = value end |
#initial_signal_level_root_mean_square ⇒ Object
Gets the initialSignalLevelRootMeanSquare property value. The root mean square (RMS) of the incoming signal of up to the first 30 seconds of the call.
248 249 250 |
# File 'lib/models/call_records_device_info.rb', line 248 def initial_signal_level_root_mean_square return @initial_signal_level_root_mean_square end |
#initial_signal_level_root_mean_square=(value) ⇒ Object
Sets the initialSignalLevelRootMeanSquare property value. The root mean square (RMS) of the incoming signal of up to the first 30 seconds of the call.
256 257 258 |
# File 'lib/models/call_records_device_info.rb', line 256 def initial_signal_level_root_mean_square=(value) @initial_signal_level_root_mean_square = value end |
#low_speech_level_event_ratio ⇒ Object
Gets the lowSpeechLevelEventRatio property value. Fraction of the call that the media endpoint detected low speech level that caused poor quality of the audio being sent.
263 264 265 |
# File 'lib/models/call_records_device_info.rb', line 263 def low_speech_level_event_ratio return @low_speech_level_event_ratio end |
#low_speech_level_event_ratio=(value) ⇒ Object
Sets the lowSpeechLevelEventRatio property value. Fraction of the call that the media endpoint detected low speech level that caused poor quality of the audio being sent.
271 272 273 |
# File 'lib/models/call_records_device_info.rb', line 271 def low_speech_level_event_ratio=(value) @low_speech_level_event_ratio = value end |
#low_speech_to_noise_event_ratio ⇒ Object
Gets the lowSpeechToNoiseEventRatio property value. Fraction of the call that the media endpoint detected low speech to noise level that caused poor quality of the audio being sent.
278 279 280 |
# File 'lib/models/call_records_device_info.rb', line 278 def low_speech_to_noise_event_ratio return @low_speech_to_noise_event_ratio end |
#low_speech_to_noise_event_ratio=(value) ⇒ Object
Sets the lowSpeechToNoiseEventRatio property value. Fraction of the call that the media endpoint detected low speech to noise level that caused poor quality of the audio being sent.
286 287 288 |
# File 'lib/models/call_records_device_info.rb', line 286 def low_speech_to_noise_event_ratio=(value) @low_speech_to_noise_event_ratio = value end |
#mic_glitch_rate ⇒ Object
Gets the micGlitchRate property value. Glitches per 5 minute interval for the media endpoint’s microphone.
293 294 295 |
# File 'lib/models/call_records_device_info.rb', line 293 def mic_glitch_rate return @mic_glitch_rate end |
#mic_glitch_rate=(value) ⇒ Object
Sets the micGlitchRate property value. Glitches per 5 minute interval for the media endpoint’s microphone.
301 302 303 |
# File 'lib/models/call_records_device_info.rb', line 301 def mic_glitch_rate=(value) @mic_glitch_rate = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
308 309 310 |
# File 'lib/models/call_records_device_info.rb', line 308 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
316 317 318 |
# File 'lib/models/call_records_device_info.rb', line 316 def odata_type=(value) @odata_type = value end |
#received_noise_level ⇒ Object
Gets the receivedNoiseLevel property value. Average energy level of received audio for audio classified as mono noise or left channel of stereo noise by the media endpoint.
323 324 325 |
# File 'lib/models/call_records_device_info.rb', line 323 def received_noise_level return @received_noise_level end |
#received_noise_level=(value) ⇒ Object
Sets the receivedNoiseLevel property value. Average energy level of received audio for audio classified as mono noise or left channel of stereo noise by the media endpoint.
331 332 333 |
# File 'lib/models/call_records_device_info.rb', line 331 def received_noise_level=(value) @received_noise_level = value end |
#received_signal_level ⇒ Object
Gets the receivedSignalLevel property value. Average energy level of received audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint.
338 339 340 |
# File 'lib/models/call_records_device_info.rb', line 338 def received_signal_level return @received_signal_level end |
#received_signal_level=(value) ⇒ Object
Sets the receivedSignalLevel property value. Average energy level of received audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint.
346 347 348 |
# File 'lib/models/call_records_device_info.rb', line 346 def received_signal_level=(value) @received_signal_level = value end |
#render_device_driver ⇒ Object
Gets the renderDeviceDriver property value. Name of the render device driver used by the media endpoint.
353 354 355 |
# File 'lib/models/call_records_device_info.rb', line 353 def render_device_driver return @render_device_driver end |
#render_device_driver=(value) ⇒ Object
Sets the renderDeviceDriver property value. Name of the render device driver used by the media endpoint.
361 362 363 |
# File 'lib/models/call_records_device_info.rb', line 361 def render_device_driver=(value) @render_device_driver = value end |
#render_device_name ⇒ Object
Gets the renderDeviceName property value. Name of the render device used by the media endpoint.
368 369 370 |
# File 'lib/models/call_records_device_info.rb', line 368 def render_device_name return @render_device_name end |
#render_device_name=(value) ⇒ Object
Sets the renderDeviceName property value. Name of the render device used by the media endpoint.
376 377 378 |
# File 'lib/models/call_records_device_info.rb', line 376 def render_device_name=(value) @render_device_name = value end |
#render_mute_event_ratio ⇒ Object
Gets the renderMuteEventRatio property value. Fraction of the call that media endpoint detected device render is muted.
383 384 385 |
# File 'lib/models/call_records_device_info.rb', line 383 def render_mute_event_ratio return @render_mute_event_ratio end |
#render_mute_event_ratio=(value) ⇒ Object
Sets the renderMuteEventRatio property value. Fraction of the call that media endpoint detected device render is muted.
391 392 393 |
# File 'lib/models/call_records_device_info.rb', line 391 def render_mute_event_ratio=(value) @render_mute_event_ratio = value end |
#render_not_functioning_event_ratio ⇒ Object
Gets the renderNotFunctioningEventRatio property value. Fraction of the call that the media endpoint detected the render device was not working properly.
398 399 400 |
# File 'lib/models/call_records_device_info.rb', line 398 def render_not_functioning_event_ratio return @render_not_functioning_event_ratio end |
#render_not_functioning_event_ratio=(value) ⇒ Object
Sets the renderNotFunctioningEventRatio property value. Fraction of the call that the media endpoint detected the render device was not working properly.
406 407 408 |
# File 'lib/models/call_records_device_info.rb', line 406 def render_not_functioning_event_ratio=(value) @render_not_functioning_event_ratio = value end |
#render_zero_volume_event_ratio ⇒ Object
Gets the renderZeroVolumeEventRatio property value. Fraction of the call that media endpoint detected device render volume is set to 0.
413 414 415 |
# File 'lib/models/call_records_device_info.rb', line 413 def render_zero_volume_event_ratio return @render_zero_volume_event_ratio end |
#render_zero_volume_event_ratio=(value) ⇒ Object
Sets the renderZeroVolumeEventRatio property value. Fraction of the call that media endpoint detected device render volume is set to 0.
421 422 423 |
# File 'lib/models/call_records_device_info.rb', line 421 def render_zero_volume_event_ratio=(value) @render_zero_volume_event_ratio = value end |
#sent_noise_level ⇒ Object
Gets the sentNoiseLevel property value. Average energy level of sent audio for audio classified as mono noise or left channel of stereo noise by the media endpoint.
428 429 430 |
# File 'lib/models/call_records_device_info.rb', line 428 def sent_noise_level return @sent_noise_level end |
#sent_noise_level=(value) ⇒ Object
Sets the sentNoiseLevel property value. Average energy level of sent audio for audio classified as mono noise or left channel of stereo noise by the media endpoint.
436 437 438 |
# File 'lib/models/call_records_device_info.rb', line 436 def sent_noise_level=(value) @sent_noise_level = value end |
#sent_signal_level ⇒ Object
Gets the sentSignalLevel property value. Average energy level of sent audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint.
443 444 445 |
# File 'lib/models/call_records_device_info.rb', line 443 def sent_signal_level return @sent_signal_level end |
#sent_signal_level=(value) ⇒ Object
Sets the sentSignalLevel property value. Average energy level of sent audio for audio classified as mono speech, or left channel of stereo speech by the media endpoint.
451 452 453 |
# File 'lib/models/call_records_device_info.rb', line 451 def sent_signal_level=(value) @sent_signal_level = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 |
# File 'lib/models/call_records_device_info.rb', line 459 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("captureDeviceDriver", @capture_device_driver) writer.write_string_value("captureDeviceName", @capture_device_name) writer.write_float_value("captureNotFunctioningEventRatio", @capture_not_functioning_event_ratio) writer.write_float_value("cpuInsufficentEventRatio", @cpu_insufficent_event_ratio) writer.write_float_value("deviceClippingEventRatio", @device_clipping_event_ratio) writer.write_float_value("deviceGlitchEventRatio", @device_glitch_event_ratio) writer.write_number_value("howlingEventCount", @howling_event_count) writer.write_float_value("initialSignalLevelRootMeanSquare", @initial_signal_level_root_mean_square) writer.write_float_value("lowSpeechLevelEventRatio", @low_speech_level_event_ratio) writer.write_float_value("lowSpeechToNoiseEventRatio", @low_speech_to_noise_event_ratio) writer.write_float_value("micGlitchRate", @mic_glitch_rate) writer.write_string_value("@odata.type", @odata_type) writer.write_number_value("receivedNoiseLevel", @received_noise_level) writer.write_number_value("receivedSignalLevel", @received_signal_level) writer.write_string_value("renderDeviceDriver", @render_device_driver) writer.write_string_value("renderDeviceName", @render_device_name) writer.write_float_value("renderMuteEventRatio", @render_mute_event_ratio) writer.write_float_value("renderNotFunctioningEventRatio", @render_not_functioning_event_ratio) writer.write_float_value("renderZeroVolumeEventRatio", @render_zero_volume_event_ratio) writer.write_number_value("sentNoiseLevel", @sent_noise_level) writer.write_number_value("sentSignalLevel", @sent_signal_level) writer.write_float_value("speakerGlitchRate", @speaker_glitch_rate) writer.write_additional_data(@additional_data) end |
#speaker_glitch_rate ⇒ Object
Gets the speakerGlitchRate property value. Glitches per 5 minute internal for the media endpoint’s loudspeaker.
489 490 491 |
# File 'lib/models/call_records_device_info.rb', line 489 def speaker_glitch_rate return @speaker_glitch_rate end |
#speaker_glitch_rate=(value) ⇒ Object
Sets the speakerGlitchRate property value. Glitches per 5 minute internal for the media endpoint’s loudspeaker.
497 498 499 |
# File 'lib/models/call_records_device_info.rb', line 497 def speaker_glitch_rate=(value) @speaker_glitch_rate = value end |