Class: TencentCloud::Live::V20180801::DescribeLivePadStreamListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeLivePadStreamListResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeLivePadStreamList返回参数结构体
Instance Attribute Summary collapse
- #PageNum ⇒ Object
- #PageSize ⇒ Object
- #RequestId ⇒ Object
- #StreamInfoList ⇒ Object
- #TotalNum ⇒ Object
- #TotalPage ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(streaminfolist = nil, pagenum = nil, pagesize = nil, totalnum = nil, totalpage = nil, requestid = nil) ⇒ DescribeLivePadStreamListResponse
constructor
A new instance of DescribeLivePadStreamListResponse.
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
#PageNum ⇒ Object
7315 7316 7317 |
# File 'lib/v20180801/models.rb', line 7315 def PageNum @PageNum end |
#PageSize ⇒ Object
7315 7316 7317 |
# File 'lib/v20180801/models.rb', line 7315 def PageSize @PageSize end |
#RequestId ⇒ Object
7315 7316 7317 |
# File 'lib/v20180801/models.rb', line 7315 def RequestId @RequestId end |
#StreamInfoList ⇒ Object
7315 7316 7317 |
# File 'lib/v20180801/models.rb', line 7315 def StreamInfoList @StreamInfoList end |
#TotalNum ⇒ Object
7315 7316 7317 |
# File 'lib/v20180801/models.rb', line 7315 def TotalNum @TotalNum end |
#TotalPage ⇒ Object
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 |