Class: TencentCloud::Cdb::V20170320::DescribeInstanceAlarmEventsResponse

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

Overview

DescribeInstanceAlarmEvents返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeInstanceAlarmEventsResponse



7190
7191
7192
7193
7194
# File 'lib/v20170320/models.rb', line 7190

def initialize(totalcount=nil, items=nil, requestid=nil)
  @TotalCount = totalcount
  @Items = items
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject



7188
7189
7190
# File 'lib/v20170320/models.rb', line 7188

def Items
  @Items
end

#RequestIdObject



7188
7189
7190
# File 'lib/v20170320/models.rb', line 7188

def RequestId
  @RequestId
end

#TotalCountObject



7188
7189
7190
# File 'lib/v20170320/models.rb', line 7188

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
# File 'lib/v20170320/models.rb', line 7196

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      insteventinfo_tmp = InstEventInfo.new
      insteventinfo_tmp.deserialize(i)
      @Items << insteventinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end