Class: TencentCloud::Iotvideoindustry::V20201201::DescribeVideoListByChannelRequest

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

Overview

DescribeVideoListByChannel请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeVideoListByChannelRequest.



3978
3979
3980
3981
3982
3983
3984
3985
# File 'lib/v20201201/models.rb', line 3978

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

Instance Attribute Details

#ChannelIdObject

为空时默认查询最近一天的记录

Parameters:

  • DeviceId:

    设备唯一标识

  • ChannelId:

    通道唯一标识

  • Type:

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

  • Date:

    指定某天。取值【YYYY-MM-DD】

  • Limit:

    限制量,默认2000

  • Offset:

    偏移量,默认0



3976
3977
3978
# File 'lib/v20201201/models.rb', line 3976

def ChannelId
  @ChannelId
end

#DateObject

为空时默认查询最近一天的记录

Parameters:

  • DeviceId:

    设备唯一标识

  • ChannelId:

    通道唯一标识

  • Type:

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

  • Date:

    指定某天。取值【YYYY-MM-DD】

  • Limit:

    限制量,默认2000

  • Offset:

    偏移量,默认0



3976
3977
3978
# File 'lib/v20201201/models.rb', line 3976

def Date
  @Date
end

#DeviceIdObject

为空时默认查询最近一天的记录

Parameters:

  • DeviceId:

    设备唯一标识

  • ChannelId:

    通道唯一标识

  • Type:

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

  • Date:

    指定某天。取值【YYYY-MM-DD】

  • Limit:

    限制量,默认2000

  • Offset:

    偏移量,默认0



3976
3977
3978
# File 'lib/v20201201/models.rb', line 3976

def DeviceId
  @DeviceId
end

#LimitObject

为空时默认查询最近一天的记录

Parameters:

  • DeviceId:

    设备唯一标识

  • ChannelId:

    通道唯一标识

  • Type:

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

  • Date:

    指定某天。取值【YYYY-MM-DD】

  • Limit:

    限制量,默认2000

  • Offset:

    偏移量,默认0



3976
3977
3978
# File 'lib/v20201201/models.rb', line 3976

def Limit
  @Limit
end

#OffsetObject

为空时默认查询最近一天的记录

Parameters:

  • DeviceId:

    设备唯一标识

  • ChannelId:

    通道唯一标识

  • Type:

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

  • Date:

    指定某天。取值【YYYY-MM-DD】

  • Limit:

    限制量,默认2000

  • Offset:

    偏移量,默认0



3976
3977
3978
# File 'lib/v20201201/models.rb', line 3976

def Offset
  @Offset
end

#TypeObject

为空时默认查询最近一天的记录

Parameters:

  • DeviceId:

    设备唯一标识

  • ChannelId:

    通道唯一标识

  • Type:

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

  • Date:

    指定某天。取值【YYYY-MM-DD】

  • Limit:

    限制量,默认2000

  • Offset:

    偏移量,默认0



3976
3977
3978
# File 'lib/v20201201/models.rb', line 3976

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



3987
3988
3989
3990
3991
3992
3993
3994
# File 'lib/v20201201/models.rb', line 3987

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