Class: TencentCloud::Tke::V20180525::DescribeUpgradeTaskDetailResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeUpgradeTaskDetailResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeUpgradeTaskDetail返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(upgradeplans = nil, totalcount = nil, requestid = nil) ⇒ DescribeUpgradeTaskDetailResponse
constructor
A new instance of DescribeUpgradeTaskDetailResponse.
Constructor Details
#initialize(upgradeplans = nil, totalcount = nil, requestid = nil) ⇒ DescribeUpgradeTaskDetailResponse
Returns a new instance of DescribeUpgradeTaskDetailResponse.
11378 11379 11380 11381 11382 |
# File 'lib/v20180525/models.rb', line 11378 def initialize(upgradeplans=nil, totalcount=nil, requestid=nil) @UpgradePlans = upgradeplans @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
11376 11377 11378 |
# File 'lib/v20180525/models.rb', line 11376 def RequestId @RequestId end |
#TotalCount ⇒ Object
11376 11377 11378 |
# File 'lib/v20180525/models.rb', line 11376 def TotalCount @TotalCount end |
#UpgradePlans ⇒ Object
11376 11377 11378 |
# File 'lib/v20180525/models.rb', line 11376 def UpgradePlans @UpgradePlans end |
Instance Method Details
#deserialize(params) ⇒ Object
11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 |
# File 'lib/v20180525/models.rb', line 11384 def deserialize(params) unless params['UpgradePlans'].nil? @UpgradePlans = [] params['UpgradePlans'].each do |i| upgradeplan_tmp = UpgradePlan.new upgradeplan_tmp.deserialize(i) @UpgradePlans << upgradeplan_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |