Class: TencentCloud::Iotvideoindustry::V20201201::DescribeChannelsByLiveRecordPlanResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeChannelsByLiveRecordPlanResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeChannelsByLiveRecordPlan返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, livechannels = nil, requestid = nil) ⇒ DescribeChannelsByLiveRecordPlanResponse
constructor
A new instance of DescribeChannelsByLiveRecordPlanResponse.
Constructor Details
#initialize(totalcount = nil, livechannels = nil, requestid = nil) ⇒ DescribeChannelsByLiveRecordPlanResponse
Returns a new instance of DescribeChannelsByLiveRecordPlanResponse.
1889 1890 1891 1892 1893 |
# File 'lib/v20201201/models.rb', line 1889 def initialize(totalcount=nil, livechannels=nil, requestid=nil) @TotalCount = totalcount @LiveChannels = livechannels @RequestId = requestid end |
Instance Attribute Details
#LiveChannels ⇒ Object
1887 1888 1889 |
# File 'lib/v20201201/models.rb', line 1887 def LiveChannels @LiveChannels end |
#RequestId ⇒ Object
1887 1888 1889 |
# File 'lib/v20201201/models.rb', line 1887 def RequestId @RequestId end |
#TotalCount ⇒ Object
1887 1888 1889 |
# File 'lib/v20201201/models.rb', line 1887 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 |
# File 'lib/v20201201/models.rb', line 1895 def deserialize(params) @TotalCount = params['TotalCount'] unless params['LiveChannels'].nil? @LiveChannels = [] params['LiveChannels'].each do |i| livechannelitem_tmp = LiveChannelItem.new livechannelitem_tmp.deserialize(i) @LiveChannels << livechannelitem_tmp end end @RequestId = params['RequestId'] end |