Class: TencentCloud::Youmall::V20180228::NetworkLastInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

获取当前门店最新网络状态数据返回结构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count = nil, infos = nil) ⇒ NetworkLastInfo

Returns a new instance of NetworkLastInfo.



2355
2356
2357
2358
# File 'lib/v20180228/models.rb', line 2355

def initialize(count=nil, infos=nil)
  @Count = count
  @Infos = infos
end

Instance Attribute Details

#CountObject

Parameters:

  • Count:

    总数

  • Infos:

    网络状态



2353
2354
2355
# File 'lib/v20180228/models.rb', line 2353

def Count
  @Count
end

#InfosObject

Parameters:

  • Count:

    总数

  • Infos:

    网络状态



2353
2354
2355
# File 'lib/v20180228/models.rb', line 2353

def Infos
  @Infos
end

Instance Method Details

#deserialize(params) ⇒ Object



2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
# File 'lib/v20180228/models.rb', line 2360

def deserialize(params)
  @Count = params['Count']
  unless params['Infos'].nil?
    @Infos = []
    params['Infos'].each do |i|
      networkandshopinfo_tmp = NetworkAndShopInfo.new
      networkandshopinfo_tmp.deserialize(i)
      @Infos << networkandshopinfo_tmp
    end
  end
end