Class: TencentCloud::Iotvideoindustry::V20201201::ControlPresetRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::ControlPresetRequest
- Defined in:
- lib/v20201201/models.rb
Overview
ControlPreset请求参数结构体
Instance Attribute Summary collapse
-
#ChannelId ⇒ Object
Set-设置当前位置为预置位 Del-删除指定的预置位 Call-调用指定的预置位.
-
#Command ⇒ Object
Set-设置当前位置为预置位 Del-删除指定的预置位 Call-调用指定的预置位.
-
#DeviceId ⇒ Object
Set-设置当前位置为预置位 Del-删除指定的预置位 Call-调用指定的预置位.
-
#PresetId ⇒ Object
Set-设置当前位置为预置位 Del-删除指定的预置位 Call-调用指定的预置位.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(channelid = nil, command = nil, presetid = nil, deviceid = nil) ⇒ ControlPresetRequest
constructor
A new instance of ControlPresetRequest.
Constructor Details
#initialize(channelid = nil, command = nil, presetid = nil, deviceid = nil) ⇒ ControlPresetRequest
Returns a new instance of ControlPresetRequest.
458 459 460 461 462 463 |
# File 'lib/v20201201/models.rb', line 458 def initialize(channelid=nil, command=nil, presetid=nil, deviceid=nil) @ChannelId = channelid @Command = command @PresetId = presetid @DeviceId = deviceid end |
Instance Attribute Details
#ChannelId ⇒ Object
Set-设置当前位置为预置位Del-删除指定的预置位Call-调用指定的预置位
456 457 458 |
# File 'lib/v20201201/models.rb', line 456 def ChannelId @ChannelId end |
#Command ⇒ Object
Set-设置当前位置为预置位Del-删除指定的预置位Call-调用指定的预置位
456 457 458 |
# File 'lib/v20201201/models.rb', line 456 def Command @Command end |
#DeviceId ⇒ Object
Set-设置当前位置为预置位Del-删除指定的预置位Call-调用指定的预置位
456 457 458 |
# File 'lib/v20201201/models.rb', line 456 def DeviceId @DeviceId end |
#PresetId ⇒ Object
Set-设置当前位置为预置位Del-删除指定的预置位Call-调用指定的预置位
456 457 458 |
# File 'lib/v20201201/models.rb', line 456 def PresetId @PresetId end |
Instance Method Details
#deserialize(params) ⇒ Object
465 466 467 468 469 470 |
# File 'lib/v20201201/models.rb', line 465 def deserialize(params) @ChannelId = params['ChannelId'] @Command = params['Command'] @PresetId = params['PresetId'] @DeviceId = params['DeviceId'] end |