Class: TencentCloud::Iss::V20230517::DescribeRecordFileRequest

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

Overview

DescribeRecordFile请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceid = nil, channelid = nil, starttime = nil, endtime = nil, withurl = nil) ⇒ DescribeRecordFileRequest

Returns a new instance of DescribeRecordFileRequest.



3701
3702
3703
3704
3705
3706
3707
# File 'lib/v20230517/models.rb', line 3701

def initialize(deviceid=nil, channelid=nil, starttime=nil, endtime=nil, withurl=nil)
  @DeviceId = deviceid
  @ChannelId = channelid
  @StartTime = starttime
  @EndTime = endtime
  @WithUrl = withurl
end

Instance Attribute Details

#ChannelIdObject

Parameters:

  • DeviceId:

    通道所属设备ID

  • ChannelId:

    通道ID

  • StartTime:

    检索开始时间,UTC秒数,例如:1662114146,开始和结束时间段最长为一天,且不能跨天

  • EndTime:

    检索结束时间,UTC秒数,例如:1662114246,开始和结束时间段最长为一天,且不能跨天

  • WithUrl:

    是否携带每个时间段的播放url



3699
3700
3701
# File 'lib/v20230517/models.rb', line 3699

def ChannelId
  @ChannelId
end

#DeviceIdObject

Parameters:

  • DeviceId:

    通道所属设备ID

  • ChannelId:

    通道ID

  • StartTime:

    检索开始时间,UTC秒数,例如:1662114146,开始和结束时间段最长为一天,且不能跨天

  • EndTime:

    检索结束时间,UTC秒数,例如:1662114246,开始和结束时间段最长为一天,且不能跨天

  • WithUrl:

    是否携带每个时间段的播放url



3699
3700
3701
# File 'lib/v20230517/models.rb', line 3699

def DeviceId
  @DeviceId
end

#EndTimeObject

Parameters:

  • DeviceId:

    通道所属设备ID

  • ChannelId:

    通道ID

  • StartTime:

    检索开始时间,UTC秒数,例如:1662114146,开始和结束时间段最长为一天,且不能跨天

  • EndTime:

    检索结束时间,UTC秒数,例如:1662114246,开始和结束时间段最长为一天,且不能跨天

  • WithUrl:

    是否携带每个时间段的播放url



3699
3700
3701
# File 'lib/v20230517/models.rb', line 3699

def EndTime
  @EndTime
end

#StartTimeObject

Parameters:

  • DeviceId:

    通道所属设备ID

  • ChannelId:

    通道ID

  • StartTime:

    检索开始时间,UTC秒数,例如:1662114146,开始和结束时间段最长为一天,且不能跨天

  • EndTime:

    检索结束时间,UTC秒数,例如:1662114246,开始和结束时间段最长为一天,且不能跨天

  • WithUrl:

    是否携带每个时间段的播放url



3699
3700
3701
# File 'lib/v20230517/models.rb', line 3699

def StartTime
  @StartTime
end

#WithUrlObject

Parameters:

  • DeviceId:

    通道所属设备ID

  • ChannelId:

    通道ID

  • StartTime:

    检索开始时间,UTC秒数,例如:1662114146,开始和结束时间段最长为一天,且不能跨天

  • EndTime:

    检索结束时间,UTC秒数,例如:1662114246,开始和结束时间段最长为一天,且不能跨天

  • WithUrl:

    是否携带每个时间段的播放url



3699
3700
3701
# File 'lib/v20230517/models.rb', line 3699

def WithUrl
  @WithUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



3709
3710
3711
3712
3713
3714
3715
# File 'lib/v20230517/models.rb', line 3709

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