Class: TencentCloud::Iotvideoindustry::V20201201::Events

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

Overview

设备事件列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(eventtime = nil, eventtype = nil, eventdesc = nil, devicetype = nil, deviceaddress = nil, deviceid = nil, channelid = nil, eventlog = nil, devicename = nil) ⇒ Events

Returns a new instance of Events.



4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
# File 'lib/v20201201/models.rb', line 4296

def initialize(eventtime=nil, eventtype=nil, eventdesc=nil, devicetype=nil, deviceaddress=nil, deviceid=nil, channelid=nil, eventlog=nil, devicename=nil)
  @EventTime = eventtime
  @EventType = eventtype
  @EventDesc = eventdesc
  @DeviceType = devicetype
  @DeviceAddress = deviceaddress
  @DeviceId = deviceid
  @ChannelId = channelid
  @EventLog = eventlog
  @DeviceName = devicename
end

Instance Attribute Details

#ChannelIdObject

Parameters:

  • EventTime:

    开始时间,秒级时间戳

  • EventType:

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

  • EventDesc:

    事件描述

  • DeviceType:

    设备类型

  • DeviceAddress:

    设备地址

  • DeviceId:

    设备Id

  • ChannelId:

    通道Id

  • EventLog:

    事件日志

  • DeviceName:

    设备备注名称



4294
4295
4296
# File 'lib/v20201201/models.rb', line 4294

def ChannelId
  @ChannelId
end

#DeviceAddressObject

Parameters:

  • EventTime:

    开始时间,秒级时间戳

  • EventType:

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

  • EventDesc:

    事件描述

  • DeviceType:

    设备类型

  • DeviceAddress:

    设备地址

  • DeviceId:

    设备Id

  • ChannelId:

    通道Id

  • EventLog:

    事件日志

  • DeviceName:

    设备备注名称



4294
4295
4296
# File 'lib/v20201201/models.rb', line 4294

def DeviceAddress
  @DeviceAddress
end

#DeviceIdObject

Parameters:

  • EventTime:

    开始时间,秒级时间戳

  • EventType:

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

  • EventDesc:

    事件描述

  • DeviceType:

    设备类型

  • DeviceAddress:

    设备地址

  • DeviceId:

    设备Id

  • ChannelId:

    通道Id

  • EventLog:

    事件日志

  • DeviceName:

    设备备注名称



4294
4295
4296
# File 'lib/v20201201/models.rb', line 4294

def DeviceId
  @DeviceId
end

#DeviceNameObject

Parameters:

  • EventTime:

    开始时间,秒级时间戳

  • EventType:

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

  • EventDesc:

    事件描述

  • DeviceType:

    设备类型

  • DeviceAddress:

    设备地址

  • DeviceId:

    设备Id

  • ChannelId:

    通道Id

  • EventLog:

    事件日志

  • DeviceName:

    设备备注名称



4294
4295
4296
# File 'lib/v20201201/models.rb', line 4294

def DeviceName
  @DeviceName
end

#DeviceTypeObject

Parameters:

  • EventTime:

    开始时间,秒级时间戳

  • EventType:

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

  • EventDesc:

    事件描述

  • DeviceType:

    设备类型

  • DeviceAddress:

    设备地址

  • DeviceId:

    设备Id

  • ChannelId:

    通道Id

  • EventLog:

    事件日志

  • DeviceName:

    设备备注名称



4294
4295
4296
# File 'lib/v20201201/models.rb', line 4294

def DeviceType
  @DeviceType
end

#EventDescObject

Parameters:

  • EventTime:

    开始时间,秒级时间戳

  • EventType:

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

  • EventDesc:

    事件描述

  • DeviceType:

    设备类型

  • DeviceAddress:

    设备地址

  • DeviceId:

    设备Id

  • ChannelId:

    通道Id

  • EventLog:

    事件日志

  • DeviceName:

    设备备注名称



4294
4295
4296
# File 'lib/v20201201/models.rb', line 4294

def EventDesc
  @EventDesc
end

#EventLogObject

Parameters:

  • EventTime:

    开始时间,秒级时间戳

  • EventType:

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

  • EventDesc:

    事件描述

  • DeviceType:

    设备类型

  • DeviceAddress:

    设备地址

  • DeviceId:

    设备Id

  • ChannelId:

    通道Id

  • EventLog:

    事件日志

  • DeviceName:

    设备备注名称



4294
4295
4296
# File 'lib/v20201201/models.rb', line 4294

def EventLog
  @EventLog
end

#EventTimeObject

Parameters:

  • EventTime:

    开始时间,秒级时间戳

  • EventType:

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

  • EventDesc:

    事件描述

  • DeviceType:

    设备类型

  • DeviceAddress:

    设备地址

  • DeviceId:

    设备Id

  • ChannelId:

    通道Id

  • EventLog:

    事件日志

  • DeviceName:

    设备备注名称



4294
4295
4296
# File 'lib/v20201201/models.rb', line 4294

def EventTime
  @EventTime
end

#EventTypeObject

Parameters:

  • EventTime:

    开始时间,秒级时间戳

  • EventType:

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

  • EventDesc:

    事件描述

  • DeviceType:

    设备类型

  • DeviceAddress:

    设备地址

  • DeviceId:

    设备Id

  • ChannelId:

    通道Id

  • EventLog:

    事件日志

  • DeviceName:

    设备备注名称



4294
4295
4296
# File 'lib/v20201201/models.rb', line 4294

def EventType
  @EventType
end

Instance Method Details

#deserialize(params) ⇒ Object



4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
# File 'lib/v20201201/models.rb', line 4308

def deserialize(params)
  @EventTime = params['EventTime']
  @EventType = params['EventType']
  @EventDesc = params['EventDesc']
  @DeviceType = params['DeviceType']
  @DeviceAddress = params['DeviceAddress']
  @DeviceId = params['DeviceId']
  @ChannelId = params['ChannelId']
  @EventLog = params['EventLog']
  @DeviceName = params['DeviceName']
end