Class: TencentCloud::Dts::V20211206::DescribeCompareTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::DescribeCompareTasksResponse
- Defined in:
- lib/v20211206/models.rb
Overview
DescribeCompareTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeCompareTasksResponse
constructor
A new instance of DescribeCompareTasksResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeCompareTasksResponse
Returns a new instance of DescribeCompareTasksResponse.
2267 2268 2269 2270 2271 |
# File 'lib/v20211206/models.rb', line 2267 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
2265 2266 2267 |
# File 'lib/v20211206/models.rb', line 2265 def Items @Items end |
#RequestId ⇒ Object
2265 2266 2267 |
# File 'lib/v20211206/models.rb', line 2265 def RequestId @RequestId end |
#TotalCount ⇒ Object
2265 2266 2267 |
# File 'lib/v20211206/models.rb', line 2265 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 |
# File 'lib/v20211206/models.rb', line 2273 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| comparetaskitem_tmp = CompareTaskItem.new comparetaskitem_tmp.deserialize(i) @Items << comparetaskitem_tmp end end @RequestId = params['RequestId'] end |