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.
7220 7221 7222 7223 7224 |
# File 'lib/v20170320/models.rb', line 7220 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
7218 7219 7220 |
# File 'lib/v20170320/models.rb', line 7218 def Items @Items end |
#RequestId ⇒ Object
7218 7219 7220 |
# File 'lib/v20170320/models.rb', line 7218 def RequestId @RequestId end |
#TotalCount ⇒ Object
7218 7219 7220 |
# File 'lib/v20170320/models.rb', line 7218 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 |
# File 'lib/v20170320/models.rb', line 7226 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 |