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.
11429 11430 11431 11432 11433 |
# File 'lib/v20180525/models.rb', line 11429 def initialize(upgradetasks=nil, totalcount=nil, requestid=nil) @UpgradeTasks = upgradetasks @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
11427 11428 11429 |
# File 'lib/v20180525/models.rb', line 11427 def RequestId @RequestId end |
#TotalCount ⇒ Object
11427 11428 11429 |
# File 'lib/v20180525/models.rb', line 11427 def TotalCount @TotalCount end |
#UpgradeTasks ⇒ Object
11427 11428 11429 |
# File 'lib/v20180525/models.rb', line 11427 def UpgradeTasks @UpgradeTasks end |
Instance Method Details
#deserialize(params) ⇒ Object
11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 |
# File 'lib/v20180525/models.rb', line 11435 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 |