Class: TencentCloud::Live::V20180801::DescribeCallbackRecordsListResponse

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

Overview

DescribeCallbackRecordsList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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



5562
5563
5564
5565
5566
5567
5568
5569
# File 'lib/v20180801/models.rb', line 5562

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

Instance Attribute Details

#DataInfoListObject



5560
5561
5562
# File 'lib/v20180801/models.rb', line 5560

def DataInfoList
  @DataInfoList
end

#PageNumObject



5560
5561
5562
# File 'lib/v20180801/models.rb', line 5560

def PageNum
  @PageNum
end

#PageSizeObject



5560
5561
5562
# File 'lib/v20180801/models.rb', line 5560

def PageSize
  @PageSize
end

#RequestIdObject



5560
5561
5562
# File 'lib/v20180801/models.rb', line 5560

def RequestId
  @RequestId
end

#TotalNumObject



5560
5561
5562
# File 'lib/v20180801/models.rb', line 5560

def TotalNum
  @TotalNum
end

#TotalPageObject



5560
5561
5562
# File 'lib/v20180801/models.rb', line 5560

def TotalPage
  @TotalPage
end

Instance Method Details

#deserialize(params) ⇒ Object



5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
# File 'lib/v20180801/models.rb', line 5571

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