Class: TencentCloud::Cdb::V20170320::InstEventInfo

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

Overview

实例事件信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(eventname = nil, eventstatus = nil, occurtime = nil, instanceid = nil, nodeid = nil) ⇒ InstEventInfo

Returns a new instance of InstEventInfo.



9206
9207
9208
9209
9210
9211
9212
# File 'lib/v20170320/models.rb', line 9206

def initialize(eventname=nil, eventstatus=nil, occurtime=nil, instanceid=nil, nodeid=nil)
  @EventName = eventname
  @EventStatus = eventstatus
  @OccurTime = occurtime
  @InstanceId = instanceid
  @NodeId = nodeid
end

Instance Attribute Details

#EventNameObject

Parameters:

  • EventName:

    事件名称。

  • EventStatus:

    事件状态。

  • OccurTime:

    事件发生时间。

  • InstanceId:

    实例ID。

  • NodeId:

    节点ID



9204
9205
9206
# File 'lib/v20170320/models.rb', line 9204

def EventName
  @EventName
end

#EventStatusObject

Parameters:

  • EventName:

    事件名称。

  • EventStatus:

    事件状态。

  • OccurTime:

    事件发生时间。

  • InstanceId:

    实例ID。

  • NodeId:

    节点ID



9204
9205
9206
# File 'lib/v20170320/models.rb', line 9204

def EventStatus
  @EventStatus
end

#InstanceIdObject

Parameters:

  • EventName:

    事件名称。

  • EventStatus:

    事件状态。

  • OccurTime:

    事件发生时间。

  • InstanceId:

    实例ID。

  • NodeId:

    节点ID



9204
9205
9206
# File 'lib/v20170320/models.rb', line 9204

def InstanceId
  @InstanceId
end

#NodeIdObject

Parameters:

  • EventName:

    事件名称。

  • EventStatus:

    事件状态。

  • OccurTime:

    事件发生时间。

  • InstanceId:

    实例ID。

  • NodeId:

    节点ID



9204
9205
9206
# File 'lib/v20170320/models.rb', line 9204

def NodeId
  @NodeId
end

#OccurTimeObject

Parameters:

  • EventName:

    事件名称。

  • EventStatus:

    事件状态。

  • OccurTime:

    事件发生时间。

  • InstanceId:

    实例ID。

  • NodeId:

    节点ID



9204
9205
9206
# File 'lib/v20170320/models.rb', line 9204

def OccurTime
  @OccurTime
end

Instance Method Details

#deserialize(params) ⇒ Object



9214
9215
9216
9217
9218
9219
9220
# File 'lib/v20170320/models.rb', line 9214

def deserialize(params)
  @EventName = params['EventName']
  @EventStatus = params['EventStatus']
  @OccurTime = params['OccurTime']
  @InstanceId = params['InstanceId']
  @NodeId = params['NodeId']
end