Class: TencentCloud::Iotvideoindustry::V20201201::ModifyBindSceneChannelsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::ModifyBindSceneChannelsRequest
- Defined in:
- lib/v20201201/models.rb
Overview
ModifyBindSceneChannels请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sceneid = nil, type = nil, channels = nil) ⇒ ModifyBindSceneChannelsRequest
constructor
A new instance of ModifyBindSceneChannelsRequest.
Constructor Details
#initialize(sceneid = nil, type = nil, channels = nil) ⇒ ModifyBindSceneChannelsRequest
Returns a new instance of ModifyBindSceneChannelsRequest.
5270 5271 5272 5273 5274 |
# File 'lib/v20201201/models.rb', line 5270 def initialize(sceneid=nil, type=nil, channels=nil) @SceneId = sceneid @Type = type @Channels = channels end |
Instance Attribute Details
#Channels ⇒ Object
5268 5269 5270 |
# File 'lib/v20201201/models.rb', line 5268 def Channels @Channels end |
#SceneId ⇒ Object
5268 5269 5270 |
# File 'lib/v20201201/models.rb', line 5268 def SceneId @SceneId end |
#Type ⇒ Object
5268 5269 5270 |
# File 'lib/v20201201/models.rb', line 5268 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 |
# File 'lib/v20201201/models.rb', line 5276 def deserialize(params) @SceneId = params['SceneId'] @Type = params['Type'] unless params['Channels'].nil? @Channels = [] params['Channels'].each do |i| channelitem_tmp = ChannelItem.new channelitem_tmp.deserialize(i) @Channels << channelitem_tmp end end end |