Class: TencentCloud::Iotvideoindustry::V20201201::GetRecordDatesByDevRequest

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

Overview

GetRecordDatesByDev请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceid = nil, limit = nil, offset = nil, channelid = nil, type = nil) ⇒ GetRecordDatesByDevRequest

Returns a new instance of GetRecordDatesByDevRequest.



4451
4452
4453
4454
4455
4456
4457
# File 'lib/v20201201/models.rb', line 4451

def initialize(deviceid=nil, limit=nil, offset=nil, channelid=nil, type=nil)
  @DeviceId = deviceid
  @Limit = limit
  @Offset = offset
  @ChannelId = channelid
  @Type = type
end

Instance Attribute Details

#ChannelIdObject

Parameters:

  • DeviceId:

    设备唯一标识

  • Limit:

    限制量,默认200

  • Offset:

    偏移量,默认0

  • ChannelId:

    通道唯一标识,对于NVR设备,多通道IPC设备,设备编码与通道编码不一致的IPC设备,此字段为必填

  • Type:

    1: 云端录制 2: 本地录制



4449
4450
4451
# File 'lib/v20201201/models.rb', line 4449

def ChannelId
  @ChannelId
end

#DeviceIdObject

Parameters:

  • DeviceId:

    设备唯一标识

  • Limit:

    限制量,默认200

  • Offset:

    偏移量,默认0

  • ChannelId:

    通道唯一标识,对于NVR设备,多通道IPC设备,设备编码与通道编码不一致的IPC设备,此字段为必填

  • Type:

    1: 云端录制 2: 本地录制



4449
4450
4451
# File 'lib/v20201201/models.rb', line 4449

def DeviceId
  @DeviceId
end

#LimitObject

Parameters:

  • DeviceId:

    设备唯一标识

  • Limit:

    限制量,默认200

  • Offset:

    偏移量,默认0

  • ChannelId:

    通道唯一标识,对于NVR设备,多通道IPC设备,设备编码与通道编码不一致的IPC设备,此字段为必填

  • Type:

    1: 云端录制 2: 本地录制



4449
4450
4451
# File 'lib/v20201201/models.rb', line 4449

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • DeviceId:

    设备唯一标识

  • Limit:

    限制量,默认200

  • Offset:

    偏移量,默认0

  • ChannelId:

    通道唯一标识,对于NVR设备,多通道IPC设备,设备编码与通道编码不一致的IPC设备,此字段为必填

  • Type:

    1: 云端录制 2: 本地录制



4449
4450
4451
# File 'lib/v20201201/models.rb', line 4449

def Offset
  @Offset
end

#TypeObject

Parameters:

  • DeviceId:

    设备唯一标识

  • Limit:

    限制量,默认200

  • Offset:

    偏移量,默认0

  • ChannelId:

    通道唯一标识,对于NVR设备,多通道IPC设备,设备编码与通道编码不一致的IPC设备,此字段为必填

  • Type:

    1: 云端录制 2: 本地录制



4449
4450
4451
# File 'lib/v20201201/models.rb', line 4449

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



4459
4460
4461
4462
4463
4464
4465
# File 'lib/v20201201/models.rb', line 4459

def deserialize(params)
  @DeviceId = params['DeviceId']
  @Limit = params['Limit']
  @Offset = params['Offset']
  @ChannelId = params['ChannelId']
  @Type = params['Type']
end