Class: TencentCloud::Dbbrain::V20210527::DescribeDBDiagReportTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeDBDiagReportTasksResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeDBDiagReportTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ DescribeDBDiagReportTasksResponse
constructor
A new instance of DescribeDBDiagReportTasksResponse.
Constructor Details
#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ DescribeDBDiagReportTasksResponse
Returns a new instance of DescribeDBDiagReportTasksResponse.
2491 2492 2493 2494 2495 |
# File 'lib/v20210527/models.rb', line 2491 def initialize(totalcount=nil, tasks=nil, requestid=nil) @TotalCount = totalcount @Tasks = tasks @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2489 2490 2491 |
# File 'lib/v20210527/models.rb', line 2489 def RequestId @RequestId end |
#Tasks ⇒ Object
2489 2490 2491 |
# File 'lib/v20210527/models.rb', line 2489 def Tasks @Tasks end |
#TotalCount ⇒ Object
2489 2490 2491 |
# File 'lib/v20210527/models.rb', line 2489 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 |
# File 'lib/v20210527/models.rb', line 2497 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| healthreporttask_tmp = HealthReportTask.new healthreporttask_tmp.deserialize(i) @Tasks << healthreporttask_tmp end end @RequestId = params['RequestId'] end |