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.
5555 5556 5557 5558 5559 5560 |
# File 'lib/v20201201/models.rb', line 5555 def initialize(channelid=nil, presetid=nil, presetname=nil, deviceid=nil) @ChannelId = channelid @PresetId = presetid @PresetName = presetname @DeviceId = deviceid end |
Instance Attribute Details
#ChannelId ⇒ Object
5553 5554 5555 |
# File 'lib/v20201201/models.rb', line 5553 def ChannelId @ChannelId end |
#DeviceId ⇒ Object
5553 5554 5555 |
# File 'lib/v20201201/models.rb', line 5553 def DeviceId @DeviceId end |
#PresetId ⇒ Object
5553 5554 5555 |
# File 'lib/v20201201/models.rb', line 5553 def PresetId @PresetId end |
#PresetName ⇒ Object
5553 5554 5555 |
# File 'lib/v20201201/models.rb', line 5553 def PresetName @PresetName end |
Instance Method Details
#deserialize(params) ⇒ Object
5562 5563 5564 5565 5566 5567 |
# File 'lib/v20201201/models.rb', line 5562 def deserialize(params) @ChannelId = params['ChannelId'] @PresetId = params['PresetId'] @PresetName = params['PresetName'] @DeviceId = params['DeviceId'] end |