Class: TencentCloud::Iotvideoindustry::V20201201::DescribeChannelsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeChannelsResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeChannels返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, channels = nil, requestid = nil) ⇒ DescribeChannelsResponse
constructor
A new instance of DescribeChannelsResponse.
Constructor Details
#initialize(totalcount = nil, channels = nil, requestid = nil) ⇒ DescribeChannelsResponse
Returns a new instance of DescribeChannelsResponse.
1956 1957 1958 1959 1960 |
# File 'lib/v20201201/models.rb', line 1956 def initialize(totalcount=nil, channels=nil, requestid=nil) @TotalCount = totalcount @Channels = channels @RequestId = requestid end |
Instance Attribute Details
#Channels ⇒ Object
1954 1955 1956 |
# File 'lib/v20201201/models.rb', line 1954 def Channels @Channels end |
#RequestId ⇒ Object
1954 1955 1956 |
# File 'lib/v20201201/models.rb', line 1954 def RequestId @RequestId end |
#TotalCount ⇒ Object
1954 1955 1956 |
# File 'lib/v20201201/models.rb', line 1954 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 |
# File 'lib/v20201201/models.rb', line 1962 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Channels'].nil? @Channels = [] params['Channels'].each do |i| channeldetail_tmp = ChannelDetail.new channeldetail_tmp.deserialize(i) @Channels << channeldetail_tmp end end @RequestId = params['RequestId'] end |