Class: TencentCloud::Tke::V20180525::UpgradeClusterReleaseResponse

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

Overview

UpgradeClusterRelease返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(release = nil, requestid = nil) ⇒ UpgradeClusterReleaseResponse

Returns a new instance of UpgradeClusterReleaseResponse.



19476
19477
19478
19479
# File 'lib/v20180525/models.rb', line 19476

def initialize(release=nil, requestid=nil)
  @Release = release
  @RequestId = requestid
end

Instance Attribute Details

#ReleaseObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Release:

    应用详情

  • RequestId:

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



19474
19475
19476
# File 'lib/v20180525/models.rb', line 19474

def Release
  @Release
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Release:

    应用详情

  • RequestId:

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



19474
19475
19476
# File 'lib/v20180525/models.rb', line 19474

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



19481
19482
19483
19484
19485
19486
19487
# File 'lib/v20180525/models.rb', line 19481

def deserialize(params)
  unless params['Release'].nil?
    @Release = PendingRelease.new
    @Release.deserialize(params['Release'])
  end
  @RequestId = params['RequestId']
end