Class: TencentCloud::Iotvideoindustry::V20201201::ModifyPresetRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201201/models.rb

Overview

ModifyPreset请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ChannelIdObject

Parameters:

  • ChannelId:

    通道ID

  • PresetId:

    预置位编码 范围1-8

  • PresetName:

    预制位名称

  • DeviceId:

    设备Id



5553
5554
5555
# File 'lib/v20201201/models.rb', line 5553

def ChannelId
  @ChannelId
end

#DeviceIdObject

Parameters:

  • ChannelId:

    通道ID

  • PresetId:

    预置位编码 范围1-8

  • PresetName:

    预制位名称

  • DeviceId:

    设备Id



5553
5554
5555
# File 'lib/v20201201/models.rb', line 5553

def DeviceId
  @DeviceId
end

#PresetIdObject

Parameters:

  • ChannelId:

    通道ID

  • PresetId:

    预置位编码 范围1-8

  • PresetName:

    预制位名称

  • DeviceId:

    设备Id



5553
5554
5555
# File 'lib/v20201201/models.rb', line 5553

def PresetId
  @PresetId
end

#PresetNameObject

Parameters:

  • ChannelId:

    通道ID

  • PresetId:

    预置位编码 范围1-8

  • PresetName:

    预制位名称

  • DeviceId:

    设备Id



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