Class: TencentCloud::Tke::V20180525::CreateClusterVirtualNodeResponse

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

Overview

CreateClusterVirtualNode返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nodename = nil, requestid = nil) ⇒ CreateClusterVirtualNodeResponse

Returns a new instance of CreateClusterVirtualNodeResponse.



2646
2647
2648
2649
# File 'lib/v20180525/models.rb', line 2646

def initialize(nodename=nil, requestid=nil)
  @NodeName = nodename
  @RequestId = requestid
end

Instance Attribute Details

#NodeNameObject

Parameters:

  • NodeName:

    虚拟节点名称

  • RequestId:

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



2644
2645
2646
# File 'lib/v20180525/models.rb', line 2644

def NodeName
  @NodeName
end

#RequestIdObject

Parameters:

  • NodeName:

    虚拟节点名称

  • RequestId:

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



2644
2645
2646
# File 'lib/v20180525/models.rb', line 2644

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2651
2652
2653
2654
# File 'lib/v20180525/models.rb', line 2651

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