Class: TencentCloud::Tke::V20180525::DescribeUpgradeTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeUpgradeTasksResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeUpgradeTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(upgradetasks = nil, totalcount = nil, requestid = nil) ⇒ DescribeUpgradeTasksResponse
constructor
A new instance of DescribeUpgradeTasksResponse.
Constructor Details
#initialize(upgradetasks = nil, totalcount = nil, requestid = nil) ⇒ DescribeUpgradeTasksResponse
Returns a new instance of DescribeUpgradeTasksResponse.
11365 11366 11367 11368 11369 |
# File 'lib/v20180525/models.rb', line 11365 def initialize(upgradetasks=nil, totalcount=nil, requestid=nil) @UpgradeTasks = upgradetasks @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
11363 11364 11365 |
# File 'lib/v20180525/models.rb', line 11363 def RequestId @RequestId end |
#TotalCount ⇒ Object
11363 11364 11365 |
# File 'lib/v20180525/models.rb', line 11363 def TotalCount @TotalCount end |
#UpgradeTasks ⇒ Object
11363 11364 11365 |
# File 'lib/v20180525/models.rb', line 11363 def UpgradeTasks @UpgradeTasks end |
Instance Method Details
#deserialize(params) ⇒ Object
11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 |
# File 'lib/v20180525/models.rb', line 11371 def deserialize(params) unless params['UpgradeTasks'].nil? @UpgradeTasks = [] params['UpgradeTasks'].each do |i| upgradetask_tmp = UpgradeTask.new upgradetask_tmp.deserialize(i) @UpgradeTasks << upgradetask_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |