Class: TencentCloud::Iotvideoindustry::V20201201::DescribeLiveChannelListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeLiveChannelListResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeLiveChannelList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, livechannels = nil, requestid = nil) ⇒ DescribeLiveChannelListResponse
constructor
A new instance of DescribeLiveChannelListResponse.
Constructor Details
#initialize(total = nil, livechannels = nil, requestid = nil) ⇒ DescribeLiveChannelListResponse
Returns a new instance of DescribeLiveChannelListResponse.
2688 2689 2690 2691 2692 |
# File 'lib/v20201201/models.rb', line 2688 def initialize(total=nil, livechannels=nil, requestid=nil) @Total = total @LiveChannels = livechannels @RequestId = requestid end |
Instance Attribute Details
#LiveChannels ⇒ Object
2686 2687 2688 |
# File 'lib/v20201201/models.rb', line 2686 def LiveChannels @LiveChannels end |
#RequestId ⇒ Object
2686 2687 2688 |
# File 'lib/v20201201/models.rb', line 2686 def RequestId @RequestId end |
#Total ⇒ Object
2686 2687 2688 |
# File 'lib/v20201201/models.rb', line 2686 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 |
# File 'lib/v20201201/models.rb', line 2694 def deserialize(params) @Total = params['Total'] unless params['LiveChannels'].nil? @LiveChannels = [] params['LiveChannels'].each do |i| livechannelinfo_tmp = LiveChannelInfo.new livechannelinfo_tmp.deserialize(i) @LiveChannels << livechannelinfo_tmp end end @RequestId = params['RequestId'] end |