Class: TencentCloud::Tke::V20180525::RollbackClusterReleaseResponse

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

Overview

RollbackClusterRelease返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RollbackClusterReleaseResponse.



17750
17751
17752
17753
# File 'lib/v20180525/models.rb', line 17750

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

Instance Attribute Details

#ReleaseObject

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

Parameters:

  • Release:

    应用详情

  • RequestId:

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



17748
17749
17750
# File 'lib/v20180525/models.rb', line 17748

def Release
  @Release
end

#RequestIdObject

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

Parameters:

  • Release:

    应用详情

  • RequestId:

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



17748
17749
17750
# File 'lib/v20180525/models.rb', line 17748

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



17755
17756
17757
17758
17759
17760
17761
# File 'lib/v20180525/models.rb', line 17755

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