Class: TencentCloud::Dbbrain::V20210527::DescribeDBDiagHistoryResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeDBDiagHistoryResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeDBDiagHistory返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(events = nil, requestid = nil) ⇒ DescribeDBDiagHistoryResponse
constructor
A new instance of DescribeDBDiagHistoryResponse.
Constructor Details
#initialize(events = nil, requestid = nil) ⇒ DescribeDBDiagHistoryResponse
Returns a new instance of DescribeDBDiagHistoryResponse.
2370 2371 2372 2373 |
# File 'lib/v20210527/models.rb', line 2370 def initialize(events=nil, requestid=nil) @Events = events @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
2368 2369 2370 |
# File 'lib/v20210527/models.rb', line 2368 def Events @Events end |
#RequestId ⇒ Object
2368 2369 2370 |
# File 'lib/v20210527/models.rb', line 2368 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 |
# File 'lib/v20210527/models.rb', line 2375 def deserialize(params) unless params['Events'].nil? @Events = [] params['Events'].each do |i| diaghistoryeventitem_tmp = DiagHistoryEventItem.new diaghistoryeventitem_tmp.deserialize(i) @Events << diaghistoryeventitem_tmp end end @RequestId = params['RequestId'] end |