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.



9145
9146
9147
9148
9149
9150
9151
# File 'lib/v20170320/models.rb', line 9145

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



9143
9144
9145
# File 'lib/v20170320/models.rb', line 9143

def EventName
  @EventName
end

#EventStatusObject

Parameters:

  • EventName:

    事件名称。

  • EventStatus:

    事件状态。

  • OccurTime:

    事件发生时间。

  • InstanceId:

    实例ID。

  • NodeId:

    节点ID



9143
9144
9145
# File 'lib/v20170320/models.rb', line 9143

def EventStatus
  @EventStatus
end

#InstanceIdObject

Parameters:

  • EventName:

    事件名称。

  • EventStatus:

    事件状态。

  • OccurTime:

    事件发生时间。

  • InstanceId:

    实例ID。

  • NodeId:

    节点ID



9143
9144
9145
# File 'lib/v20170320/models.rb', line 9143

def InstanceId
  @InstanceId
end

#NodeIdObject

Parameters:

  • EventName:

    事件名称。

  • EventStatus:

    事件状态。

  • OccurTime:

    事件发生时间。

  • InstanceId:

    实例ID。

  • NodeId:

    节点ID



9143
9144
9145
# File 'lib/v20170320/models.rb', line 9143

def NodeId
  @NodeId
end

#OccurTimeObject

Parameters:

  • EventName:

    事件名称。

  • EventStatus:

    事件状态。

  • OccurTime:

    事件发生时间。

  • InstanceId:

    实例ID。

  • NodeId:

    节点ID



9143
9144
9145
# File 'lib/v20170320/models.rb', line 9143

def OccurTime
  @OccurTime
end

Instance Method Details

#deserialize(params) ⇒ Object



9153
9154
9155
9156
9157
9158
9159
# File 'lib/v20170320/models.rb', line 9153

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