Class: TencentCloud::Iotvideoindustry::V20201201::ModifyBindSceneDeviceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::ModifyBindSceneDeviceRequest
- Defined in:
- lib/v20201201/models.rb
Overview
ModifyBindSceneDevice请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sceneid = nil, type = nil, devices = nil) ⇒ ModifyBindSceneDeviceRequest
constructor
A new instance of ModifyBindSceneDeviceRequest.
Constructor Details
#initialize(sceneid = nil, type = nil, devices = nil) ⇒ ModifyBindSceneDeviceRequest
Returns a new instance of ModifyBindSceneDeviceRequest.
5317 5318 5319 5320 5321 |
# File 'lib/v20201201/models.rb', line 5317 def initialize(sceneid=nil, type=nil, devices=nil) @SceneId = sceneid @Type = type @Devices = devices end |
Instance Attribute Details
#Devices ⇒ Object
5315 5316 5317 |
# File 'lib/v20201201/models.rb', line 5315 def Devices @Devices end |
#SceneId ⇒ Object
5315 5316 5317 |
# File 'lib/v20201201/models.rb', line 5315 def SceneId @SceneId end |
#Type ⇒ Object
5315 5316 5317 |
# File 'lib/v20201201/models.rb', line 5315 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 |
# File 'lib/v20201201/models.rb', line 5323 def deserialize(params) @SceneId = params['SceneId'] @Type = params['Type'] unless params['Devices'].nil? @Devices = [] params['Devices'].each do |i| deviceitem_tmp = DeviceItem.new deviceitem_tmp.deserialize(i) @Devices << deviceitem_tmp end end end |