Class: TencentCloud::Iotvideoindustry::V20201201::DescribeRecordStreamRequest

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

Overview

DescribeRecordStream请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceid = nil, expiretime = nil, recordid = nil, starttime = nil, endtime = nil, channelid = nil) ⇒ DescribeRecordStreamRequest

Returns a new instance of DescribeRecordStreamRequest.



3449
3450
3451
3452
3453
3454
3455
3456
# File 'lib/v20201201/models.rb', line 3449

def initialize(deviceid=nil, expiretime=nil, recordid=nil, starttime=nil, endtime=nil, channelid=nil)
  @DeviceId = deviceid
  @ExpireTime = expiretime
  @RecordId = recordid
  @StartTime = starttime
  @EndTime = endtime
  @ChannelId = channelid
end

Instance Attribute Details

#ChannelIdObject

Parameters:

  • DeviceId:

    设备Id

  • ExpireTime:

    流失效时间,UNIX时间戳,30天内

  • RecordId:

    录像文件ID

  • StartTime:

    录像流开始时间,当录像文件ID为空时有效,UNIX时间戳

  • EndTime:

    录像流结束时间,当录像文件iD为空时有效,UNIX时间戳

  • ChannelId:

    通道唯一标识(此接口升级为必填字段)



3447
3448
3449
# File 'lib/v20201201/models.rb', line 3447

def ChannelId
  @ChannelId
end

#DeviceIdObject

Parameters:

  • DeviceId:

    设备Id

  • ExpireTime:

    流失效时间,UNIX时间戳,30天内

  • RecordId:

    录像文件ID

  • StartTime:

    录像流开始时间,当录像文件ID为空时有效,UNIX时间戳

  • EndTime:

    录像流结束时间,当录像文件iD为空时有效,UNIX时间戳

  • ChannelId:

    通道唯一标识(此接口升级为必填字段)



3447
3448
3449
# File 'lib/v20201201/models.rb', line 3447

def DeviceId
  @DeviceId
end

#EndTimeObject

Parameters:

  • DeviceId:

    设备Id

  • ExpireTime:

    流失效时间,UNIX时间戳,30天内

  • RecordId:

    录像文件ID

  • StartTime:

    录像流开始时间,当录像文件ID为空时有效,UNIX时间戳

  • EndTime:

    录像流结束时间,当录像文件iD为空时有效,UNIX时间戳

  • ChannelId:

    通道唯一标识(此接口升级为必填字段)



3447
3448
3449
# File 'lib/v20201201/models.rb', line 3447

def EndTime
  @EndTime
end

#ExpireTimeObject

Parameters:

  • DeviceId:

    设备Id

  • ExpireTime:

    流失效时间,UNIX时间戳,30天内

  • RecordId:

    录像文件ID

  • StartTime:

    录像流开始时间,当录像文件ID为空时有效,UNIX时间戳

  • EndTime:

    录像流结束时间,当录像文件iD为空时有效,UNIX时间戳

  • ChannelId:

    通道唯一标识(此接口升级为必填字段)



3447
3448
3449
# File 'lib/v20201201/models.rb', line 3447

def ExpireTime
  @ExpireTime
end

#RecordIdObject

Parameters:

  • DeviceId:

    设备Id

  • ExpireTime:

    流失效时间,UNIX时间戳,30天内

  • RecordId:

    录像文件ID

  • StartTime:

    录像流开始时间,当录像文件ID为空时有效,UNIX时间戳

  • EndTime:

    录像流结束时间,当录像文件iD为空时有效,UNIX时间戳

  • ChannelId:

    通道唯一标识(此接口升级为必填字段)



3447
3448
3449
# File 'lib/v20201201/models.rb', line 3447

def RecordId
  @RecordId
end

#StartTimeObject

Parameters:

  • DeviceId:

    设备Id

  • ExpireTime:

    流失效时间,UNIX时间戳,30天内

  • RecordId:

    录像文件ID

  • StartTime:

    录像流开始时间,当录像文件ID为空时有效,UNIX时间戳

  • EndTime:

    录像流结束时间,当录像文件iD为空时有效,UNIX时间戳

  • ChannelId:

    通道唯一标识(此接口升级为必填字段)



3447
3448
3449
# File 'lib/v20201201/models.rb', line 3447

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



3458
3459
3460
3461
3462
3463
3464
3465
# File 'lib/v20201201/models.rb', line 3458

def deserialize(params)
  @DeviceId = params['DeviceId']
  @ExpireTime = params['ExpireTime']
  @RecordId = params['RecordId']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @ChannelId = params['ChannelId']
end