Class: TencentCloud::Youmall::V20180228::NetworkInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::NetworkInfo
- Defined in:
- lib/v20180228/models.rb
Overview
没有店铺信息的网络状态
Instance Attribute Summary collapse
- #AvgRtt ⇒ Object
- #Download ⇒ Object
- #Loss ⇒ Object
- #Mac ⇒ Object
- #MaxRtt ⇒ Object
- #MdevRtt ⇒ Object
- #MinRtt ⇒ Object
- #UpdateTime ⇒ Object
- #Upload ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(upload = nil, download = nil, minrtt = nil, avgrtt = nil, maxrtt = nil, mdevrtt = nil, loss = nil, updatetime = nil, mac = nil) ⇒ NetworkInfo
constructor
A new instance of NetworkInfo.
Constructor Details
#initialize(upload = nil, download = nil, minrtt = nil, avgrtt = nil, maxrtt = nil, mdevrtt = nil, loss = nil, updatetime = nil, mac = nil) ⇒ NetworkInfo
Returns a new instance of NetworkInfo.
2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 |
# File 'lib/v20180228/models.rb', line 2321 def initialize(upload=nil, download=nil, minrtt=nil, avgrtt=nil, maxrtt=nil, mdevrtt=nil, loss=nil, updatetime=nil, mac=nil) @Upload = upload @Download = download @MinRtt = minrtt @AvgRtt = avgrtt @MaxRtt = maxrtt @MdevRtt = mdevrtt @Loss = loss @UpdateTime = updatetime @Mac = mac end |
Instance Attribute Details
#AvgRtt ⇒ Object
2319 2320 2321 |
# File 'lib/v20180228/models.rb', line 2319 def AvgRtt @AvgRtt end |
#Download ⇒ Object
2319 2320 2321 |
# File 'lib/v20180228/models.rb', line 2319 def Download @Download end |
#Loss ⇒ Object
2319 2320 2321 |
# File 'lib/v20180228/models.rb', line 2319 def Loss @Loss end |
#Mac ⇒ Object
2319 2320 2321 |
# File 'lib/v20180228/models.rb', line 2319 def Mac @Mac end |
#MaxRtt ⇒ Object
2319 2320 2321 |
# File 'lib/v20180228/models.rb', line 2319 def MaxRtt @MaxRtt end |
#MdevRtt ⇒ Object
2319 2320 2321 |
# File 'lib/v20180228/models.rb', line 2319 def MdevRtt @MdevRtt end |
#MinRtt ⇒ Object
2319 2320 2321 |
# File 'lib/v20180228/models.rb', line 2319 def MinRtt @MinRtt end |
#UpdateTime ⇒ Object
2319 2320 2321 |
# File 'lib/v20180228/models.rb', line 2319 def UpdateTime @UpdateTime end |
#Upload ⇒ Object
2319 2320 2321 |
# File 'lib/v20180228/models.rb', line 2319 def Upload @Upload end |
Instance Method Details
#deserialize(params) ⇒ Object
2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 |
# File 'lib/v20180228/models.rb', line 2333 def deserialize(params) @Upload = params['Upload'] @Download = params['Download'] @MinRtt = params['MinRtt'] @AvgRtt = params['AvgRtt'] @MaxRtt = params['MaxRtt'] @MdevRtt = params['MdevRtt'] @Loss = params['Loss'] @UpdateTime = params['UpdateTime'] @Mac = params['Mac'] end |