Class: TencentCloud::Live::V20180801::DescribeLiveStreamPushInfoListResponse

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

Overview

DescribeLiveStreamPushInfoList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(datainfolist = nil, totalnum = nil, totalpage = nil, pagenum = nil, pagesize = nil, requestid = nil) ⇒ DescribeLiveStreamPushInfoListResponse



8266
8267
8268
8269
8270
8271
8272
8273
# File 'lib/v20180801/models.rb', line 8266

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

Instance Attribute Details

#DataInfoListObject



8264
8265
8266
# File 'lib/v20180801/models.rb', line 8264

def DataInfoList
  @DataInfoList
end

#PageNumObject



8264
8265
8266
# File 'lib/v20180801/models.rb', line 8264

def PageNum
  @PageNum
end

#PageSizeObject



8264
8265
8266
# File 'lib/v20180801/models.rb', line 8264

def PageSize
  @PageSize
end

#RequestIdObject



8264
8265
8266
# File 'lib/v20180801/models.rb', line 8264

def RequestId
  @RequestId
end

#TotalNumObject



8264
8265
8266
# File 'lib/v20180801/models.rb', line 8264

def TotalNum
  @TotalNum
end

#TotalPageObject



8264
8265
8266
# File 'lib/v20180801/models.rb', line 8264

def TotalPage
  @TotalPage
end

Instance Method Details

#deserialize(params) ⇒ Object



8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
# File 'lib/v20180801/models.rb', line 8275

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