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.



4336
4337
4338
4339
4340
4341
4342
# File 'lib/v20201201/models.rb', line 4336

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: 本地录制



4334
4335
4336
# File 'lib/v20201201/models.rb', line 4334

def ChannelId
  @ChannelId
end

#DeviceIdObject

Parameters:

  • DeviceId:

    设备唯一标识

  • Limit:

    限制量,默认200

  • Offset:

    偏移量,默认0

  • ChannelId:

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

  • Type:

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



4334
4335
4336
# File 'lib/v20201201/models.rb', line 4334

def DeviceId
  @DeviceId
end

#LimitObject

Parameters:

  • DeviceId:

    设备唯一标识

  • Limit:

    限制量,默认200

  • Offset:

    偏移量,默认0

  • ChannelId:

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

  • Type:

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



4334
4335
4336
# File 'lib/v20201201/models.rb', line 4334

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • DeviceId:

    设备唯一标识

  • Limit:

    限制量,默认200

  • Offset:

    偏移量,默认0

  • ChannelId:

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

  • Type:

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



4334
4335
4336
# File 'lib/v20201201/models.rb', line 4334

def Offset
  @Offset
end

#TypeObject

Parameters:

  • DeviceId:

    设备唯一标识

  • Limit:

    限制量,默认200

  • Offset:

    偏移量,默认0

  • ChannelId:

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

  • Type:

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



4334
4335
4336
# File 'lib/v20201201/models.rb', line 4334

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



4344
4345
4346
4347
4348
4349
4350
# File 'lib/v20201201/models.rb', line 4344

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