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



7257
7258
7259
7260
7261
# File 'lib/v20170320/models.rb', line 7257

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

Instance Attribute Details

#ItemsObject



7255
7256
7257
# File 'lib/v20170320/models.rb', line 7255

def Items
  @Items
end

#RequestIdObject



7255
7256
7257
# File 'lib/v20170320/models.rb', line 7255

def RequestId
  @RequestId
end

#TotalCountObject



7255
7256
7257
# File 'lib/v20170320/models.rb', line 7255

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
# File 'lib/v20170320/models.rb', line 7263

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