Class: TencentCloud::Tke::V20180525::CancelClusterReleaseResponse

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

Overview

CancelClusterRelease返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CancelClusterReleaseResponse.



547
548
549
550
# File 'lib/v20180525/models.rb', line 547

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

Instance Attribute Details

#ReleaseObject

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

Parameters:

  • Release:

    应用信息

  • RequestId:

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



545
546
547
# File 'lib/v20180525/models.rb', line 545

def Release
  @Release
end

#RequestIdObject

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

Parameters:

  • Release:

    应用信息

  • RequestId:

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



545
546
547
# File 'lib/v20180525/models.rb', line 545

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



552
553
554
555
556
557
558
# File 'lib/v20180525/models.rb', line 552

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