Class: TencentCloud::Dbbrain::V20191016::DescribeDBDiagHistoryResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20191016::DescribeDBDiagHistoryResponse
- Defined in:
- lib/v20191016/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.
618 619 620 621 |
# File 'lib/v20191016/models.rb', line 618 def initialize(events=nil, requestid=nil) @Events = events @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
616 617 618 |
# File 'lib/v20191016/models.rb', line 616 def Events @Events end |
#RequestId ⇒ Object
616 617 618 |
# File 'lib/v20191016/models.rb', line 616 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
623 624 625 626 627 628 629 630 631 632 633 |
# File 'lib/v20191016/models.rb', line 623 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 |