Class: TencentCloud::Cdb::V20170320::DescribeInstanceAlarmEventsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeInstanceAlarmEventsResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeInstanceAlarmEvents返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeInstanceAlarmEventsResponse
constructor
A new instance of DescribeInstanceAlarmEventsResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeInstanceAlarmEventsResponse
Returns a new instance of DescribeInstanceAlarmEventsResponse.
7246 7247 7248 7249 7250 |
# File 'lib/v20170320/models.rb', line 7246 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
7244 7245 7246 |
# File 'lib/v20170320/models.rb', line 7244 def Items @Items end |
#RequestId ⇒ Object
7244 7245 7246 |
# File 'lib/v20170320/models.rb', line 7244 def RequestId @RequestId end |
#TotalCount ⇒ Object
7244 7245 7246 |
# File 'lib/v20170320/models.rb', line 7244 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 |
# File 'lib/v20170320/models.rb', line 7252 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 |