Class: TencentCloud::Iotvideoindustry::V20201201::ControlHomePositionRequest

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

Overview

ControlHomePosition请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channelid = nil, deviceid = nil, enable = nil, presetid = nil, resettime = nil) ⇒ ControlHomePositionRequest

Returns a new instance of ControlHomePositionRequest.



435
436
437
438
439
440
441
# File 'lib/v20201201/models.rb', line 435

def initialize(channelid=nil, deviceid=nil, enable=nil, presetid=nil, resettime=nil)
  @ChannelId = channelid
  @DeviceId = deviceid
  @Enable = enable
  @PresetId = presetid
  @ResetTime = resettime
end

Instance Attribute Details

#ChannelIdObject

Parameters:

  • ChannelId:

    通道ID

  • DeviceId:

    设备Id

  • Enable:

    看守位使能 0-停用看守位 1-启用看守位

  • PresetId:

    预置位编码 范围1-8,启用看守位时必填

  • ResetTime:

    看守位自动归位时间, 启用看守位时必填



433
434
435
# File 'lib/v20201201/models.rb', line 433

def ChannelId
  @ChannelId
end

#DeviceIdObject

Parameters:

  • ChannelId:

    通道ID

  • DeviceId:

    设备Id

  • Enable:

    看守位使能 0-停用看守位 1-启用看守位

  • PresetId:

    预置位编码 范围1-8,启用看守位时必填

  • ResetTime:

    看守位自动归位时间, 启用看守位时必填



433
434
435
# File 'lib/v20201201/models.rb', line 433

def DeviceId
  @DeviceId
end

#EnableObject

Parameters:

  • ChannelId:

    通道ID

  • DeviceId:

    设备Id

  • Enable:

    看守位使能 0-停用看守位 1-启用看守位

  • PresetId:

    预置位编码 范围1-8,启用看守位时必填

  • ResetTime:

    看守位自动归位时间, 启用看守位时必填



433
434
435
# File 'lib/v20201201/models.rb', line 433

def Enable
  @Enable
end

#PresetIdObject

Parameters:

  • ChannelId:

    通道ID

  • DeviceId:

    设备Id

  • Enable:

    看守位使能 0-停用看守位 1-启用看守位

  • PresetId:

    预置位编码 范围1-8,启用看守位时必填

  • ResetTime:

    看守位自动归位时间, 启用看守位时必填



433
434
435
# File 'lib/v20201201/models.rb', line 433

def PresetId
  @PresetId
end

#ResetTimeObject

Parameters:

  • ChannelId:

    通道ID

  • DeviceId:

    设备Id

  • Enable:

    看守位使能 0-停用看守位 1-启用看守位

  • PresetId:

    预置位编码 范围1-8,启用看守位时必填

  • ResetTime:

    看守位自动归位时间, 启用看守位时必填



433
434
435
# File 'lib/v20201201/models.rb', line 433

def ResetTime
  @ResetTime
end

Instance Method Details

#deserialize(params) ⇒ Object



443
444
445
446
447
448
449
# File 'lib/v20201201/models.rb', line 443

def deserialize(params)
  @ChannelId = params['ChannelId']
  @DeviceId = params['DeviceId']
  @Enable = params['Enable']
  @PresetId = params['PresetId']
  @ResetTime = params['ResetTime']
end