Class: TencentCloud::Live::V20180801::DescribeLiveStreamPublishedListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeLiveStreamPublishedListResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeLiveStreamPublishedList返回参数结构体
Instance Attribute Summary collapse
- #PageNum ⇒ Object
- #PageSize ⇒ Object
- #PublishInfo ⇒ Object
- #RequestId ⇒ Object
- #TotalNum ⇒ Object
- #TotalPage ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(publishinfo = nil, pagenum = nil, pagesize = nil, totalnum = nil, totalpage = nil, requestid = nil) ⇒ DescribeLiveStreamPublishedListResponse
constructor
A new instance of DescribeLiveStreamPublishedListResponse.
Constructor Details
#initialize(publishinfo = nil, pagenum = nil, pagesize = nil, totalnum = nil, totalpage = nil, requestid = nil) ⇒ DescribeLiveStreamPublishedListResponse
Returns a new instance of DescribeLiveStreamPublishedListResponse.
8191 8192 8193 8194 8195 8196 8197 8198 |
# File 'lib/v20180801/models.rb', line 8191 def initialize(publishinfo=nil, pagenum=nil, pagesize=nil, totalnum=nil, totalpage=nil, requestid=nil) @PublishInfo = publishinfo @PageNum = pagenum @PageSize = pagesize @TotalNum = totalnum @TotalPage = totalpage @RequestId = requestid end |
Instance Attribute Details
#PageNum ⇒ Object
8189 8190 8191 |
# File 'lib/v20180801/models.rb', line 8189 def PageNum @PageNum end |
#PageSize ⇒ Object
8189 8190 8191 |
# File 'lib/v20180801/models.rb', line 8189 def PageSize @PageSize end |
#PublishInfo ⇒ Object
8189 8190 8191 |
# File 'lib/v20180801/models.rb', line 8189 def PublishInfo @PublishInfo end |
#RequestId ⇒ Object
8189 8190 8191 |
# File 'lib/v20180801/models.rb', line 8189 def RequestId @RequestId end |
#TotalNum ⇒ Object
8189 8190 8191 |
# File 'lib/v20180801/models.rb', line 8189 def TotalNum @TotalNum end |
#TotalPage ⇒ Object
8189 8190 8191 |
# File 'lib/v20180801/models.rb', line 8189 def TotalPage @TotalPage end |
Instance Method Details
#deserialize(params) ⇒ Object
8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 |
# File 'lib/v20180801/models.rb', line 8200 def deserialize(params) unless params['PublishInfo'].nil? @PublishInfo = [] params['PublishInfo'].each do |i| streamname_tmp = StreamName.new streamname_tmp.deserialize(i) @PublishInfo << streamname_tmp end end @PageNum = params['PageNum'] @PageSize = params['PageSize'] @TotalNum = params['TotalNum'] @TotalPage = params['TotalPage'] @RequestId = params['RequestId'] end |