Class: TencentCloud::Live::V20180801::DescribeLiveStreamPushInfoListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeLiveStreamPushInfoListResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeLiveStreamPushInfoList返回参数结构体
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) ⇒ DescribeLiveStreamPushInfoListResponse
constructor
A new instance of DescribeLiveStreamPushInfoListResponse.
Constructor Details
#initialize(datainfolist = nil, totalnum = nil, totalpage = nil, pagenum = nil, pagesize = nil, requestid = nil) ⇒ DescribeLiveStreamPushInfoListResponse
Returns a new instance of DescribeLiveStreamPushInfoListResponse.
8197 8198 8199 8200 8201 8202 8203 8204 |
# File 'lib/v20180801/models.rb', line 8197 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
8195 8196 8197 |
# File 'lib/v20180801/models.rb', line 8195 def DataInfoList @DataInfoList end |
#PageNum ⇒ Object
8195 8196 8197 |
# File 'lib/v20180801/models.rb', line 8195 def PageNum @PageNum end |
#PageSize ⇒ Object
8195 8196 8197 |
# File 'lib/v20180801/models.rb', line 8195 def PageSize @PageSize end |
#RequestId ⇒ Object
8195 8196 8197 |
# File 'lib/v20180801/models.rb', line 8195 def RequestId @RequestId end |
#TotalNum ⇒ Object
8195 8196 8197 |
# File 'lib/v20180801/models.rb', line 8195 def TotalNum @TotalNum end |
#TotalPage ⇒ Object
8195 8196 8197 |
# File 'lib/v20180801/models.rb', line 8195 def TotalPage @TotalPage end |
Instance Method Details
#deserialize(params) ⇒ Object
8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 |
# File 'lib/v20180801/models.rb', line 8206 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 |