Class: TencentCloud::Live::V20180801::DescribeStreamDayPlayInfoListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeStreamDayPlayInfoListResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeStreamDayPlayInfoList返回参数结构体
Instance Attribute Summary collapse
- #DataInfoList ⇒ Object
- #PageNum ⇒ Object
- #PageSize ⇒ Object
- #RequestId ⇒ Object
- #TotalNum ⇒ Object
- #TotalPage ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(datainfolist = nil, totalnum = nil, totalpage = nil, pagenum = nil, pagesize = nil, requestid = nil) ⇒ DescribeStreamDayPlayInfoListResponse
constructor
A new instance of DescribeStreamDayPlayInfoListResponse.
Constructor Details
#initialize(datainfolist = nil, totalnum = nil, totalpage = nil, pagenum = nil, pagesize = nil, requestid = nil) ⇒ DescribeStreamDayPlayInfoListResponse
Returns a new instance of DescribeStreamDayPlayInfoListResponse.
10013 10014 10015 10016 10017 10018 10019 10020 |
# File 'lib/v20180801/models.rb', line 10013 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
#DataInfoList ⇒ Object
10011 10012 10013 |
# File 'lib/v20180801/models.rb', line 10011 def DataInfoList @DataInfoList end |
#PageNum ⇒ Object
10011 10012 10013 |
# File 'lib/v20180801/models.rb', line 10011 def PageNum @PageNum end |
#PageSize ⇒ Object
10011 10012 10013 |
# File 'lib/v20180801/models.rb', line 10011 def PageSize @PageSize end |
#RequestId ⇒ Object
10011 10012 10013 |
# File 'lib/v20180801/models.rb', line 10011 def RequestId @RequestId end |
#TotalNum ⇒ Object
10011 10012 10013 |
# File 'lib/v20180801/models.rb', line 10011 def TotalNum @TotalNum end |
#TotalPage ⇒ Object
10011 10012 10013 |
# File 'lib/v20180801/models.rb', line 10011 def TotalPage @TotalPage end |
Instance Method Details
#deserialize(params) ⇒ Object
10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 |
# File 'lib/v20180801/models.rb', line 10022 def deserialize(params) unless params['DataInfoList'].nil? @DataInfoList = [] params['DataInfoList'].each do |i| playdatainfobystream_tmp = PlayDataInfoByStream.new playdatainfobystream_tmp.deserialize(i) @DataInfoList << playdatainfobystream_tmp end end @TotalNum = params['TotalNum'] @TotalPage = params['TotalPage'] @PageNum = params['PageNum'] @PageSize = params['PageSize'] @RequestId = params['RequestId'] end |