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.
11314 11315 11316 11317 11318 |
# File 'lib/v20180525/models.rb', line 11314 def initialize(upgradeplans=nil, totalcount=nil, requestid=nil) @UpgradePlans = upgradeplans @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
11312 11313 11314 |
# File 'lib/v20180525/models.rb', line 11312 def RequestId @RequestId end |
#TotalCount ⇒ Object
11312 11313 11314 |
# File 'lib/v20180525/models.rb', line 11312 def TotalCount @TotalCount end |
#UpgradePlans ⇒ Object
11312 11313 11314 |
# File 'lib/v20180525/models.rb', line 11312 def UpgradePlans @UpgradePlans end |
Instance Method Details
#deserialize(params) ⇒ Object
11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 |
# File 'lib/v20180525/models.rb', line 11320 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 |