Class: TencentCloud::Iotvideoindustry::V20201201::DescribeDeviceEventRequest

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

Overview

DescribeDeviceEvent请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(starttime = nil, endtime = nil, deviceid = nil, eventtypes = nil, offset = nil, limit = nil) ⇒ DescribeDeviceEventRequest

Returns a new instance of DescribeDeviceEventRequest.



2086
2087
2088
2089
2090
2091
2092
2093
# File 'lib/v20201201/models.rb', line 2086

def initialize(starttime=nil, endtime=nil, deviceid=nil, eventtypes=nil, offset=nil, limit=nil)
  @StartTime = starttime
  @EndTime = endtime
  @DeviceId = deviceid
  @EventTypes = eventtypes
  @Offset = offset
  @Limit = limit
end

Instance Attribute Details

#DeviceIdObject

Parameters:

  • StartTime:

    开始时间,秒级时间戳

  • EndTime:

    结束时间,秒级时间戳

  • DeviceId:

    设备Id

  • EventTypes:

    默认为全部 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断

  • Offset:

    偏移值

  • Limit:

    limit限制值



2084
2085
2086
# File 'lib/v20201201/models.rb', line 2084

def DeviceId
  @DeviceId
end

#EndTimeObject

Parameters:

  • StartTime:

    开始时间,秒级时间戳

  • EndTime:

    结束时间,秒级时间戳

  • DeviceId:

    设备Id

  • EventTypes:

    默认为全部 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断

  • Offset:

    偏移值

  • Limit:

    limit限制值



2084
2085
2086
# File 'lib/v20201201/models.rb', line 2084

def EndTime
  @EndTime
end

#EventTypesObject

Parameters:

  • StartTime:

    开始时间,秒级时间戳

  • EndTime:

    结束时间,秒级时间戳

  • DeviceId:

    设备Id

  • EventTypes:

    默认为全部 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断

  • Offset:

    偏移值

  • Limit:

    limit限制值



2084
2085
2086
# File 'lib/v20201201/models.rb', line 2084

def EventTypes
  @EventTypes
end

#LimitObject

Parameters:

  • StartTime:

    开始时间,秒级时间戳

  • EndTime:

    结束时间,秒级时间戳

  • DeviceId:

    设备Id

  • EventTypes:

    默认为全部 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断

  • Offset:

    偏移值

  • Limit:

    limit限制值



2084
2085
2086
# File 'lib/v20201201/models.rb', line 2084

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • StartTime:

    开始时间,秒级时间戳

  • EndTime:

    结束时间,秒级时间戳

  • DeviceId:

    设备Id

  • EventTypes:

    默认为全部 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断

  • Offset:

    偏移值

  • Limit:

    limit限制值



2084
2085
2086
# File 'lib/v20201201/models.rb', line 2084

def Offset
  @Offset
end

#StartTimeObject

Parameters:

  • StartTime:

    开始时间,秒级时间戳

  • EndTime:

    结束时间,秒级时间戳

  • DeviceId:

    设备Id

  • EventTypes:

    默认为全部 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断

  • Offset:

    偏移值

  • Limit:

    limit限制值



2084
2085
2086
# File 'lib/v20201201/models.rb', line 2084

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



2095
2096
2097
2098
2099
2100
2101
2102
# File 'lib/v20201201/models.rb', line 2095

def deserialize(params)
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @DeviceId = params['DeviceId']
  @EventTypes = params['EventTypes']
  @Offset = params['Offset']
  @Limit = params['Limit']
end