Class: TencentCloud::Dbbrain::V20191016::DescribeDBDiagReportTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20191016::DescribeDBDiagReportTasksResponse
- Defined in:
- lib/v20191016/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.
695 696 697 698 699 |
# File 'lib/v20191016/models.rb', line 695 def initialize(totalcount=nil, tasks=nil, requestid=nil) @TotalCount = totalcount @Tasks = tasks @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
693 694 695 |
# File 'lib/v20191016/models.rb', line 693 def RequestId @RequestId end |
#Tasks ⇒ Object
693 694 695 |
# File 'lib/v20191016/models.rb', line 693 def Tasks @Tasks end |
#TotalCount ⇒ Object
693 694 695 |
# File 'lib/v20191016/models.rb', line 693 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
701 702 703 704 705 706 707 708 709 710 711 712 |
# File 'lib/v20191016/models.rb', line 701 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 |