Class: MicrosoftGraph::Models::TeleconferenceDeviceMediaQuality
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::TeleconferenceDeviceMediaQuality
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/teleconference_device_media_quality.rb
Direct Known Subclasses
TeleconferenceDeviceAudioQuality, TeleconferenceDeviceVideoQuality
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.
-
#average_inbound_jitter ⇒ Object
Gets the averageInboundJitter property value.
-
#average_inbound_jitter=(value) ⇒ Object
Sets the averageInboundJitter property value.
-
#average_inbound_packet_loss_rate_in_percentage ⇒ Object
Gets the averageInboundPacketLossRateInPercentage property value.
-
#average_inbound_packet_loss_rate_in_percentage=(value) ⇒ Object
Sets the averageInboundPacketLossRateInPercentage property value.
-
#average_inbound_round_trip_delay ⇒ Object
Gets the averageInboundRoundTripDelay property value.
-
#average_inbound_round_trip_delay=(value) ⇒ Object
Sets the averageInboundRoundTripDelay property value.
-
#average_outbound_jitter ⇒ Object
Gets the averageOutboundJitter property value.
-
#average_outbound_jitter=(value) ⇒ Object
Sets the averageOutboundJitter property value.
-
#average_outbound_packet_loss_rate_in_percentage ⇒ Object
Gets the averageOutboundPacketLossRateInPercentage property value.
-
#average_outbound_packet_loss_rate_in_percentage=(value) ⇒ Object
Sets the averageOutboundPacketLossRateInPercentage property value.
-
#average_outbound_round_trip_delay ⇒ Object
Gets the averageOutboundRoundTripDelay property value.
-
#average_outbound_round_trip_delay=(value) ⇒ Object
Sets the averageOutboundRoundTripDelay property value.
-
#channel_index ⇒ Object
Gets the channelIndex property value.
-
#channel_index=(value) ⇒ Object
Sets the channelIndex property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#inbound_packets ⇒ Object
Gets the inboundPackets property value.
-
#inbound_packets=(value) ⇒ Object
Sets the inboundPackets property value.
-
#initialize ⇒ Object
constructor
Instantiates a new teleconferenceDeviceMediaQuality and sets the default values.
-
#local_i_p_address ⇒ Object
Gets the localIPAddress property value.
-
#local_i_p_address=(value) ⇒ Object
Sets the localIPAddress property value.
-
#local_port ⇒ Object
Gets the localPort property value.
-
#local_port=(value) ⇒ Object
Sets the localPort property value.
-
#maximum_inbound_jitter ⇒ Object
Gets the maximumInboundJitter property value.
-
#maximum_inbound_jitter=(value) ⇒ Object
Sets the maximumInboundJitter property value.
-
#maximum_inbound_packet_loss_rate_in_percentage ⇒ Object
Gets the maximumInboundPacketLossRateInPercentage property value.
-
#maximum_inbound_packet_loss_rate_in_percentage=(value) ⇒ Object
Sets the maximumInboundPacketLossRateInPercentage property value.
-
#maximum_inbound_round_trip_delay ⇒ Object
Gets the maximumInboundRoundTripDelay property value.
-
#maximum_inbound_round_trip_delay=(value) ⇒ Object
Sets the maximumInboundRoundTripDelay property value.
-
#maximum_outbound_jitter ⇒ Object
Gets the maximumOutboundJitter property value.
-
#maximum_outbound_jitter=(value) ⇒ Object
Sets the maximumOutboundJitter property value.
-
#maximum_outbound_packet_loss_rate_in_percentage ⇒ Object
Gets the maximumOutboundPacketLossRateInPercentage property value.
-
#maximum_outbound_packet_loss_rate_in_percentage=(value) ⇒ Object
Sets the maximumOutboundPacketLossRateInPercentage property value.
-
#maximum_outbound_round_trip_delay ⇒ Object
Gets the maximumOutboundRoundTripDelay property value.
-
#maximum_outbound_round_trip_delay=(value) ⇒ Object
Sets the maximumOutboundRoundTripDelay property value.
-
#media_duration ⇒ Object
Gets the mediaDuration property value.
-
#media_duration=(value) ⇒ Object
Sets the mediaDuration property value.
-
#network_link_speed_in_bytes ⇒ Object
Gets the networkLinkSpeedInBytes property value.
-
#network_link_speed_in_bytes=(value) ⇒ Object
Sets the networkLinkSpeedInBytes property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#outbound_packets ⇒ Object
Gets the outboundPackets property value.
-
#outbound_packets=(value) ⇒ Object
Sets the outboundPackets property value.
-
#remote_i_p_address ⇒ Object
Gets the remoteIPAddress property value.
-
#remote_i_p_address=(value) ⇒ Object
Sets the remoteIPAddress property value.
-
#remote_port ⇒ Object
Gets the remotePort property value.
-
#remote_port=(value) ⇒ Object
Sets the remotePort property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Constructor Details
#initialize ⇒ Object
Instantiates a new teleconferenceDeviceMediaQuality and sets the default values.
202 203 204 |
# File 'lib/models/teleconference_device_media_quality.rb', line 202 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
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 |
# File 'lib/models/teleconference_device_media_quality.rb', line 210 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? mapping_value_node = parse_node.get_child_node("@odata.type") unless mapping_value_node.nil? then mapping_value = mapping_value_node.get_string_value case mapping_value when "#microsoft.graph.teleconferenceDeviceAudioQuality" return TeleconferenceDeviceAudioQuality.new when "#microsoft.graph.teleconferenceDeviceScreenSharingQuality" return TeleconferenceDeviceScreenSharingQuality.new when "#microsoft.graph.teleconferenceDeviceVideoQuality" return TeleconferenceDeviceVideoQuality.new end end return TeleconferenceDeviceMediaQuality.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/teleconference_device_media_quality.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/teleconference_device_media_quality.rb', line 90 def additional_data=(value) @additional_data = value end |
#average_inbound_jitter ⇒ Object
Gets the averageInboundJitter property value. The average inbound stream network jitter.
97 98 99 |
# File 'lib/models/teleconference_device_media_quality.rb', line 97 def average_inbound_jitter return @average_inbound_jitter end |
#average_inbound_jitter=(value) ⇒ Object
Sets the averageInboundJitter property value. The average inbound stream network jitter.
105 106 107 |
# File 'lib/models/teleconference_device_media_quality.rb', line 105 def average_inbound_jitter=(value) @average_inbound_jitter = value end |
#average_inbound_packet_loss_rate_in_percentage ⇒ Object
Gets the averageInboundPacketLossRateInPercentage property value. The average inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%.
112 113 114 |
# File 'lib/models/teleconference_device_media_quality.rb', line 112 def average_inbound_packet_loss_rate_in_percentage return @average_inbound_packet_loss_rate_in_percentage end |
#average_inbound_packet_loss_rate_in_percentage=(value) ⇒ Object
Sets the averageInboundPacketLossRateInPercentage property value. The average inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%.
120 121 122 |
# File 'lib/models/teleconference_device_media_quality.rb', line 120 def average_inbound_packet_loss_rate_in_percentage=(value) @average_inbound_packet_loss_rate_in_percentage = value end |
#average_inbound_round_trip_delay ⇒ Object
Gets the averageInboundRoundTripDelay property value. The average inbound stream network round trip delay.
127 128 129 |
# File 'lib/models/teleconference_device_media_quality.rb', line 127 def average_inbound_round_trip_delay return @average_inbound_round_trip_delay end |
#average_inbound_round_trip_delay=(value) ⇒ Object
Sets the averageInboundRoundTripDelay property value. The average inbound stream network round trip delay.
135 136 137 |
# File 'lib/models/teleconference_device_media_quality.rb', line 135 def average_inbound_round_trip_delay=(value) @average_inbound_round_trip_delay = value end |
#average_outbound_jitter ⇒ Object
Gets the averageOutboundJitter property value. The average outbound stream network jitter.
142 143 144 |
# File 'lib/models/teleconference_device_media_quality.rb', line 142 def average_outbound_jitter return @average_outbound_jitter end |
#average_outbound_jitter=(value) ⇒ Object
Sets the averageOutboundJitter property value. The average outbound stream network jitter.
150 151 152 |
# File 'lib/models/teleconference_device_media_quality.rb', line 150 def average_outbound_jitter=(value) @average_outbound_jitter = value end |
#average_outbound_packet_loss_rate_in_percentage ⇒ Object
Gets the averageOutboundPacketLossRateInPercentage property value. The average outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%.
157 158 159 |
# File 'lib/models/teleconference_device_media_quality.rb', line 157 def average_outbound_packet_loss_rate_in_percentage return @average_outbound_packet_loss_rate_in_percentage end |
#average_outbound_packet_loss_rate_in_percentage=(value) ⇒ Object
Sets the averageOutboundPacketLossRateInPercentage property value. The average outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%.
165 166 167 |
# File 'lib/models/teleconference_device_media_quality.rb', line 165 def average_outbound_packet_loss_rate_in_percentage=(value) @average_outbound_packet_loss_rate_in_percentage = value end |
#average_outbound_round_trip_delay ⇒ Object
Gets the averageOutboundRoundTripDelay property value. The average outbound stream network round trip delay.
172 173 174 |
# File 'lib/models/teleconference_device_media_quality.rb', line 172 def average_outbound_round_trip_delay return @average_outbound_round_trip_delay end |
#average_outbound_round_trip_delay=(value) ⇒ Object
Sets the averageOutboundRoundTripDelay property value. The average outbound stream network round trip delay.
180 181 182 |
# File 'lib/models/teleconference_device_media_quality.rb', line 180 def average_outbound_round_trip_delay=(value) @average_outbound_round_trip_delay = value end |
#channel_index ⇒ Object
Gets the channelIndex property value. The channel index of media. Indexing begins with 1. If a media session contains 3 video modalities, channel indexes will be 1, 2, and 3.
187 188 189 |
# File 'lib/models/teleconference_device_media_quality.rb', line 187 def channel_index return @channel_index end |
#channel_index=(value) ⇒ Object
Sets the channelIndex property value. The channel index of media. Indexing begins with 1. If a media session contains 3 video modalities, channel indexes will be 1, 2, and 3.
195 196 197 |
# File 'lib/models/teleconference_device_media_quality.rb', line 195 def channel_index=(value) @channel_index = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'lib/models/teleconference_device_media_quality.rb', line 230 def get_field_deserializers() return { "averageInboundJitter" => lambda {|n| @average_inbound_jitter = n.get_duration_value() }, "averageInboundPacketLossRateInPercentage" => lambda {|n| @average_inbound_packet_loss_rate_in_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "averageInboundRoundTripDelay" => lambda {|n| @average_inbound_round_trip_delay = n.get_duration_value() }, "averageOutboundJitter" => lambda {|n| @average_outbound_jitter = n.get_duration_value() }, "averageOutboundPacketLossRateInPercentage" => lambda {|n| @average_outbound_packet_loss_rate_in_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "averageOutboundRoundTripDelay" => lambda {|n| @average_outbound_round_trip_delay = n.get_duration_value() }, "channelIndex" => lambda {|n| @channel_index = n.get_number_value() }, "inboundPackets" => lambda {|n| @inbound_packets = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "localIPAddress" => lambda {|n| @local_i_p_address = n.get_string_value() }, "localPort" => lambda {|n| @local_port = n.get_number_value() }, "maximumInboundJitter" => lambda {|n| @maximum_inbound_jitter = n.get_duration_value() }, "maximumInboundPacketLossRateInPercentage" => lambda {|n| @maximum_inbound_packet_loss_rate_in_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "maximumInboundRoundTripDelay" => lambda {|n| @maximum_inbound_round_trip_delay = n.get_duration_value() }, "maximumOutboundJitter" => lambda {|n| @maximum_outbound_jitter = n.get_duration_value() }, "maximumOutboundPacketLossRateInPercentage" => lambda {|n| @maximum_outbound_packet_loss_rate_in_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "maximumOutboundRoundTripDelay" => lambda {|n| @maximum_outbound_round_trip_delay = n.get_duration_value() }, "mediaDuration" => lambda {|n| @media_duration = n.get_duration_value() }, "networkLinkSpeedInBytes" => lambda {|n| @network_link_speed_in_bytes = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "outboundPackets" => lambda {|n| @outbound_packets = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "remoteIPAddress" => lambda {|n| @remote_i_p_address = n.get_string_value() }, "remotePort" => lambda {|n| @remote_port = n.get_number_value() }, } end |
#inbound_packets ⇒ Object
Gets the inboundPackets property value. The total number of the inbound packets.
260 261 262 |
# File 'lib/models/teleconference_device_media_quality.rb', line 260 def inbound_packets return @inbound_packets end |
#inbound_packets=(value) ⇒ Object
Sets the inboundPackets property value. The total number of the inbound packets.
268 269 270 |
# File 'lib/models/teleconference_device_media_quality.rb', line 268 def inbound_packets=(value) @inbound_packets = value end |
#local_i_p_address ⇒ Object
Gets the localIPAddress property value. the local IP address for the media session.
275 276 277 |
# File 'lib/models/teleconference_device_media_quality.rb', line 275 def local_i_p_address return @local_i_p_address end |
#local_i_p_address=(value) ⇒ Object
Sets the localIPAddress property value. the local IP address for the media session.
283 284 285 |
# File 'lib/models/teleconference_device_media_quality.rb', line 283 def local_i_p_address=(value) @local_i_p_address = value end |
#local_port ⇒ Object
Gets the localPort property value. The local media port.
290 291 292 |
# File 'lib/models/teleconference_device_media_quality.rb', line 290 def local_port return @local_port end |
#local_port=(value) ⇒ Object
Sets the localPort property value. The local media port.
298 299 300 |
# File 'lib/models/teleconference_device_media_quality.rb', line 298 def local_port=(value) @local_port = value end |
#maximum_inbound_jitter ⇒ Object
Gets the maximumInboundJitter property value. The maximum inbound stream network jitter.
305 306 307 |
# File 'lib/models/teleconference_device_media_quality.rb', line 305 def maximum_inbound_jitter return @maximum_inbound_jitter end |
#maximum_inbound_jitter=(value) ⇒ Object
Sets the maximumInboundJitter property value. The maximum inbound stream network jitter.
313 314 315 |
# File 'lib/models/teleconference_device_media_quality.rb', line 313 def maximum_inbound_jitter=(value) @maximum_inbound_jitter = value end |
#maximum_inbound_packet_loss_rate_in_percentage ⇒ Object
Gets the maximumInboundPacketLossRateInPercentage property value. The maximum inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%.
320 321 322 |
# File 'lib/models/teleconference_device_media_quality.rb', line 320 def maximum_inbound_packet_loss_rate_in_percentage return @maximum_inbound_packet_loss_rate_in_percentage end |
#maximum_inbound_packet_loss_rate_in_percentage=(value) ⇒ Object
Sets the maximumInboundPacketLossRateInPercentage property value. The maximum inbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%.
328 329 330 |
# File 'lib/models/teleconference_device_media_quality.rb', line 328 def maximum_inbound_packet_loss_rate_in_percentage=(value) @maximum_inbound_packet_loss_rate_in_percentage = value end |
#maximum_inbound_round_trip_delay ⇒ Object
Gets the maximumInboundRoundTripDelay property value. The maximum inbound stream network round trip delay.
335 336 337 |
# File 'lib/models/teleconference_device_media_quality.rb', line 335 def maximum_inbound_round_trip_delay return @maximum_inbound_round_trip_delay end |
#maximum_inbound_round_trip_delay=(value) ⇒ Object
Sets the maximumInboundRoundTripDelay property value. The maximum inbound stream network round trip delay.
343 344 345 |
# File 'lib/models/teleconference_device_media_quality.rb', line 343 def maximum_inbound_round_trip_delay=(value) @maximum_inbound_round_trip_delay = value end |
#maximum_outbound_jitter ⇒ Object
Gets the maximumOutboundJitter property value. The maximum outbound stream network jitter.
350 351 352 |
# File 'lib/models/teleconference_device_media_quality.rb', line 350 def maximum_outbound_jitter return @maximum_outbound_jitter end |
#maximum_outbound_jitter=(value) ⇒ Object
Sets the maximumOutboundJitter property value. The maximum outbound stream network jitter.
358 359 360 |
# File 'lib/models/teleconference_device_media_quality.rb', line 358 def maximum_outbound_jitter=(value) @maximum_outbound_jitter = value end |
#maximum_outbound_packet_loss_rate_in_percentage ⇒ Object
Gets the maximumOutboundPacketLossRateInPercentage property value. The maximum outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%.
365 366 367 |
# File 'lib/models/teleconference_device_media_quality.rb', line 365 def maximum_outbound_packet_loss_rate_in_percentage return @maximum_outbound_packet_loss_rate_in_percentage end |
#maximum_outbound_packet_loss_rate_in_percentage=(value) ⇒ Object
Sets the maximumOutboundPacketLossRateInPercentage property value. The maximum outbound stream packet loss rate in percentage (0-100). For example, 0.01 means 0.01%.
373 374 375 |
# File 'lib/models/teleconference_device_media_quality.rb', line 373 def maximum_outbound_packet_loss_rate_in_percentage=(value) @maximum_outbound_packet_loss_rate_in_percentage = value end |
#maximum_outbound_round_trip_delay ⇒ Object
Gets the maximumOutboundRoundTripDelay property value. The maximum outbound stream network round trip delay.
380 381 382 |
# File 'lib/models/teleconference_device_media_quality.rb', line 380 def maximum_outbound_round_trip_delay return @maximum_outbound_round_trip_delay end |
#maximum_outbound_round_trip_delay=(value) ⇒ Object
Sets the maximumOutboundRoundTripDelay property value. The maximum outbound stream network round trip delay.
388 389 390 |
# File 'lib/models/teleconference_device_media_quality.rb', line 388 def maximum_outbound_round_trip_delay=(value) @maximum_outbound_round_trip_delay = value end |
#media_duration ⇒ Object
Gets the mediaDuration property value. The total modality duration. If the media enabled and disabled multiple times, MediaDuration will the summation of all of the durations.
395 396 397 |
# File 'lib/models/teleconference_device_media_quality.rb', line 395 def media_duration return @media_duration end |
#media_duration=(value) ⇒ Object
Sets the mediaDuration property value. The total modality duration. If the media enabled and disabled multiple times, MediaDuration will the summation of all of the durations.
403 404 405 |
# File 'lib/models/teleconference_device_media_quality.rb', line 403 def media_duration=(value) @media_duration = value end |
#network_link_speed_in_bytes ⇒ Object
Gets the networkLinkSpeedInBytes property value. The network link speed in bytes
410 411 412 |
# File 'lib/models/teleconference_device_media_quality.rb', line 410 def network_link_speed_in_bytes return @network_link_speed_in_bytes end |
#network_link_speed_in_bytes=(value) ⇒ Object
Sets the networkLinkSpeedInBytes property value. The network link speed in bytes
418 419 420 |
# File 'lib/models/teleconference_device_media_quality.rb', line 418 def network_link_speed_in_bytes=(value) @network_link_speed_in_bytes = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
425 426 427 |
# File 'lib/models/teleconference_device_media_quality.rb', line 425 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
433 434 435 |
# File 'lib/models/teleconference_device_media_quality.rb', line 433 def odata_type=(value) @odata_type = value end |
#outbound_packets ⇒ Object
Gets the outboundPackets property value. The total number of the outbound packets.
440 441 442 |
# File 'lib/models/teleconference_device_media_quality.rb', line 440 def outbound_packets return @outbound_packets end |
#outbound_packets=(value) ⇒ Object
Sets the outboundPackets property value. The total number of the outbound packets.
448 449 450 |
# File 'lib/models/teleconference_device_media_quality.rb', line 448 def outbound_packets=(value) @outbound_packets = value end |
#remote_i_p_address ⇒ Object
Gets the remoteIPAddress property value. The remote IP address for the media session.
455 456 457 |
# File 'lib/models/teleconference_device_media_quality.rb', line 455 def remote_i_p_address return @remote_i_p_address end |
#remote_i_p_address=(value) ⇒ Object
Sets the remoteIPAddress property value. The remote IP address for the media session.
463 464 465 |
# File 'lib/models/teleconference_device_media_quality.rb', line 463 def remote_i_p_address=(value) @remote_i_p_address = value end |
#remote_port ⇒ Object
Gets the remotePort property value. The remote media port.
470 471 472 |
# File 'lib/models/teleconference_device_media_quality.rb', line 470 def remote_port return @remote_port end |
#remote_port=(value) ⇒ Object
Sets the remotePort property value. The remote media port.
478 479 480 |
# File 'lib/models/teleconference_device_media_quality.rb', line 478 def remote_port=(value) @remote_port = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 |
# File 'lib/models/teleconference_device_media_quality.rb', line 486 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_duration_value("averageInboundJitter", @average_inbound_jitter) writer.write_object_value("averageInboundPacketLossRateInPercentage", @average_inbound_packet_loss_rate_in_percentage) writer.write_duration_value("averageInboundRoundTripDelay", @average_inbound_round_trip_delay) writer.write_duration_value("averageOutboundJitter", @average_outbound_jitter) writer.write_object_value("averageOutboundPacketLossRateInPercentage", @average_outbound_packet_loss_rate_in_percentage) writer.write_duration_value("averageOutboundRoundTripDelay", @average_outbound_round_trip_delay) writer.write_number_value("channelIndex", @channel_index) writer.write_object_value("inboundPackets", @inbound_packets) writer.write_string_value("localIPAddress", @local_i_p_address) writer.write_number_value("localPort", @local_port) writer.write_duration_value("maximumInboundJitter", @maximum_inbound_jitter) writer.write_object_value("maximumInboundPacketLossRateInPercentage", @maximum_inbound_packet_loss_rate_in_percentage) writer.write_duration_value("maximumInboundRoundTripDelay", @maximum_inbound_round_trip_delay) writer.write_duration_value("maximumOutboundJitter", @maximum_outbound_jitter) writer.write_object_value("maximumOutboundPacketLossRateInPercentage", @maximum_outbound_packet_loss_rate_in_percentage) writer.write_duration_value("maximumOutboundRoundTripDelay", @maximum_outbound_round_trip_delay) writer.write_duration_value("mediaDuration", @media_duration) writer.write_object_value("networkLinkSpeedInBytes", @network_link_speed_in_bytes) writer.write_string_value("@odata.type", @odata_type) writer.write_object_value("outboundPackets", @outbound_packets) writer.write_string_value("remoteIPAddress", @remote_i_p_address) writer.write_number_value("remotePort", @remote_port) writer.write_additional_data(@additional_data) end |