Class: TencentCloud::Iotvideoindustry::V20201201::DescribeBindSceneChannelsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeBindSceneChannelsResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeBindSceneChannels返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, list = nil, requestid = nil) ⇒ DescribeBindSceneChannelsResponse
constructor
A new instance of DescribeBindSceneChannelsResponse.
Constructor Details
#initialize(total = nil, list = nil, requestid = nil) ⇒ DescribeBindSceneChannelsResponse
Returns a new instance of DescribeBindSceneChannelsResponse.
1630 1631 1632 1633 1634 |
# File 'lib/v20201201/models.rb', line 1630 def initialize(total=nil, list=nil, requestid=nil) @Total = total @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
1628 1629 1630 |
# File 'lib/v20201201/models.rb', line 1628 def List @List end |
#RequestId ⇒ Object
1628 1629 1630 |
# File 'lib/v20201201/models.rb', line 1628 def RequestId @RequestId end |
#Total ⇒ Object
1628 1629 1630 |
# File 'lib/v20201201/models.rb', line 1628 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 |
# File 'lib/v20201201/models.rb', line 1636 def deserialize(params) @Total = params['Total'] unless params['List'].nil? @List = [] params['List'].each do |i| channelitem_tmp = ChannelItem.new channelitem_tmp.deserialize(i) @List << channelitem_tmp end end @RequestId = params['RequestId'] end |