Class: TencentCloud::Tke::V20180525::DescribeUpgradeTaskDetailResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

DescribeUpgradeTaskDetail返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject

Parameters:

  • UpgradePlans:

    升级计划

  • TotalCount:

    总条目数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11312
11313
11314
# File 'lib/v20180525/models.rb', line 11312

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • UpgradePlans:

    升级计划

  • TotalCount:

    总条目数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11312
11313
11314
# File 'lib/v20180525/models.rb', line 11312

def TotalCount
  @TotalCount
end

#UpgradePlansObject

Parameters:

  • UpgradePlans:

    升级计划

  • TotalCount:

    总条目数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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