Class: TencentCloud::Dbbrain::V20210527::DescribeDBDiagEventsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeDBDiagEventsResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeDBDiagEvents返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeDBDiagEventsResponse
constructor
A new instance of DescribeDBDiagEventsResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeDBDiagEventsResponse
Returns a new instance of DescribeDBDiagEventsResponse.
2311 2312 2313 2314 2315 |
# File 'lib/v20210527/models.rb', line 2311 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
2309 2310 2311 |
# File 'lib/v20210527/models.rb', line 2309 def Items @Items end |
#RequestId ⇒ Object
2309 2310 2311 |
# File 'lib/v20210527/models.rb', line 2309 def RequestId @RequestId end |
#TotalCount ⇒ Object
2309 2310 2311 |
# File 'lib/v20210527/models.rb', line 2309 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 |
# File 'lib/v20210527/models.rb', line 2317 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| diaghistoryeventitem_tmp = DiagHistoryEventItem.new diaghistoryeventitem_tmp.deserialize(i) @Items << diaghistoryeventitem_tmp end end @RequestId = params['RequestId'] end |