Class: TencentCloud::Tke::V20180525::CreateClusterNodePoolResponse

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

Overview

CreateClusterNodePool返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nodepoolid = nil, requestid = nil) ⇒ CreateClusterNodePoolResponse

Returns a new instance of CreateClusterNodePoolResponse.



2213
2214
2215
2216
# File 'lib/v20180525/models.rb', line 2213

def initialize(nodepoolid=nil, requestid=nil)
  @NodePoolId = nodepoolid
  @RequestId = requestid
end

Instance Attribute Details

#NodePoolIdObject

Parameters:

  • NodePoolId:

    节点池id

  • RequestId:

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



2211
2212
2213
# File 'lib/v20180525/models.rb', line 2211

def NodePoolId
  @NodePoolId
end

#RequestIdObject

Parameters:

  • NodePoolId:

    节点池id

  • RequestId:

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



2211
2212
2213
# File 'lib/v20180525/models.rb', line 2211

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2218
2219
2220
2221
# File 'lib/v20180525/models.rb', line 2218

def deserialize(params)
  @NodePoolId = params['NodePoolId']
  @RequestId = params['RequestId']
end