Class: TencentCloud::Iotvideoindustry::V20201201::ModifyPresetRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::ModifyPresetRequest
- Defined in:
- lib/v20201201/models.rb
Overview
ModifyPreset请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(channelid = nil, presetid = nil, presetname = nil, deviceid = nil) ⇒ ModifyPresetRequest
constructor
A new instance of ModifyPresetRequest.
Constructor Details
#initialize(channelid = nil, presetid = nil, presetname = nil, deviceid = nil) ⇒ ModifyPresetRequest
Returns a new instance of ModifyPresetRequest.
5384 5385 5386 5387 5388 5389 |
# File 'lib/v20201201/models.rb', line 5384 def initialize(channelid=nil, presetid=nil, presetname=nil, deviceid=nil) @ChannelId = channelid @PresetId = presetid @PresetName = presetname @DeviceId = deviceid end |
Instance Attribute Details
#ChannelId ⇒ Object
5382 5383 5384 |
# File 'lib/v20201201/models.rb', line 5382 def ChannelId @ChannelId end |
#DeviceId ⇒ Object
5382 5383 5384 |
# File 'lib/v20201201/models.rb', line 5382 def DeviceId @DeviceId end |
#PresetId ⇒ Object
5382 5383 5384 |
# File 'lib/v20201201/models.rb', line 5382 def PresetId @PresetId end |
#PresetName ⇒ Object
5382 5383 5384 |
# File 'lib/v20201201/models.rb', line 5382 def PresetName @PresetName end |
Instance Method Details
#deserialize(params) ⇒ Object
5391 5392 5393 5394 5395 5396 |
# File 'lib/v20201201/models.rb', line 5391 def deserialize(params) @ChannelId = params['ChannelId'] @PresetId = params['PresetId'] @PresetName = params['PresetName'] @DeviceId = params['DeviceId'] end |