Class: TencentCloud::Live::V20180801::DescribeLivePadStreamListResponse

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

Overview

DescribeLivePadStreamList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(streaminfolist = nil, pagenum = nil, pagesize = nil, totalnum = nil, totalpage = nil, requestid = nil) ⇒ DescribeLivePadStreamListResponse



7317
7318
7319
7320
7321
7322
7323
7324
# File 'lib/v20180801/models.rb', line 7317

def initialize(streaminfolist=nil, pagenum=nil, pagesize=nil, totalnum=nil, totalpage=nil, requestid=nil)
  @StreamInfoList = streaminfolist
  @PageNum = pagenum
  @PageSize = pagesize
  @TotalNum = totalnum
  @TotalPage = totalpage
  @RequestId = requestid
end

Instance Attribute Details

#PageNumObject



7315
7316
7317
# File 'lib/v20180801/models.rb', line 7315

def PageNum
  @PageNum
end

#PageSizeObject



7315
7316
7317
# File 'lib/v20180801/models.rb', line 7315

def PageSize
  @PageSize
end

#RequestIdObject



7315
7316
7317
# File 'lib/v20180801/models.rb', line 7315

def RequestId
  @RequestId
end

#StreamInfoListObject



7315
7316
7317
# File 'lib/v20180801/models.rb', line 7315

def StreamInfoList
  @StreamInfoList
end

#TotalNumObject



7315
7316
7317
# File 'lib/v20180801/models.rb', line 7315

def TotalNum
  @TotalNum
end

#TotalPageObject



7315
7316
7317
# File 'lib/v20180801/models.rb', line 7315

def TotalPage
  @TotalPage
end

Instance Method Details

#deserialize(params) ⇒ Object



7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
# File 'lib/v20180801/models.rb', line 7326

def deserialize(params)
  unless params['StreamInfoList'].nil?
    @StreamInfoList = []
    params['StreamInfoList'].each do |i|
      padstreaminfo_tmp = PadStreamInfo.new
      padstreaminfo_tmp.deserialize(i)
      @StreamInfoList << padstreaminfo_tmp
    end
  end
  @PageNum = params['PageNum']
  @PageSize = params['PageSize']
  @TotalNum = params['TotalNum']
  @TotalPage = params['TotalPage']
  @RequestId = params['RequestId']
end