Class: TencentCloud::Mps::V20190612::FlowRealtimeStatusSRT
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::FlowRealtimeStatusSRT
- Defined in:
- lib/v20190612/models.rb
Overview
流状态实时查询接口的SRT信息。
Instance Attribute Summary collapse
- #DroppedPackets ⇒ Object
- #Encryption ⇒ Object
- #Latency ⇒ Object
- #PacketLossRate ⇒ Object
- #Packets ⇒ Object
- #RetransmitRate ⇒ Object
- #RTT ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(latency = nil, rtt = nil, packets = nil, packetlossrate = nil, retransmitrate = nil, droppedpackets = nil, encryption = nil) ⇒ FlowRealtimeStatusSRT
constructor
A new instance of FlowRealtimeStatusSRT.
Constructor Details
#initialize(latency = nil, rtt = nil, packets = nil, packetlossrate = nil, retransmitrate = nil, droppedpackets = nil, encryption = nil) ⇒ FlowRealtimeStatusSRT
17209 17210 17211 17212 17213 17214 17215 17216 17217 |
# File 'lib/v20190612/models.rb', line 17209 def initialize(latency=nil, rtt=nil, packets=nil, packetlossrate=nil, retransmitrate=nil, droppedpackets=nil, encryption=nil) @Latency = latency @RTT = rtt @Packets = packets @PacketLossRate = packetlossrate @RetransmitRate = retransmitrate @DroppedPackets = droppedpackets @Encryption = encryption end |
Instance Attribute Details
#DroppedPackets ⇒ Object
17207 17208 17209 |
# File 'lib/v20190612/models.rb', line 17207 def DroppedPackets @DroppedPackets end |
#Encryption ⇒ Object
17207 17208 17209 |
# File 'lib/v20190612/models.rb', line 17207 def Encryption @Encryption end |
#Latency ⇒ Object
17207 17208 17209 |
# File 'lib/v20190612/models.rb', line 17207 def Latency @Latency end |
#PacketLossRate ⇒ Object
17207 17208 17209 |
# File 'lib/v20190612/models.rb', line 17207 def PacketLossRate @PacketLossRate end |
#Packets ⇒ Object
17207 17208 17209 |
# File 'lib/v20190612/models.rb', line 17207 def Packets @Packets end |
#RetransmitRate ⇒ Object
17207 17208 17209 |
# File 'lib/v20190612/models.rb', line 17207 def RetransmitRate @RetransmitRate end |
#RTT ⇒ Object
17207 17208 17209 |
# File 'lib/v20190612/models.rb', line 17207 def RTT @RTT end |
Instance Method Details
#deserialize(params) ⇒ Object
17219 17220 17221 17222 17223 17224 17225 17226 17227 |
# File 'lib/v20190612/models.rb', line 17219 def deserialize(params) @Latency = params['Latency'] @RTT = params['RTT'] @Packets = params['Packets'] @PacketLossRate = params['PacketLossRate'] @RetransmitRate = params['RetransmitRate'] @DroppedPackets = params['DroppedPackets'] @Encryption = params['Encryption'] end |