Class: TencentCloud::Thpc::V20230321::DetachNodesRequest

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

Overview

DetachNodes请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, nodeids = nil) ⇒ DetachNodesRequest

Returns a new instance of DetachNodesRequest.



1550
1551
1552
1553
# File 'lib/v20230321/models.rb', line 1550

def initialize(clusterid=nil, nodeids=nil)
  @ClusterId = clusterid
  @NodeIds = nodeids
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群id

  • NodeIds:

    集群中的节点id



1548
1549
1550
# File 'lib/v20230321/models.rb', line 1548

def ClusterId
  @ClusterId
end

#NodeIdsObject

Parameters:

  • ClusterId:

    集群id

  • NodeIds:

    集群中的节点id



1548
1549
1550
# File 'lib/v20230321/models.rb', line 1548

def NodeIds
  @NodeIds
end

Instance Method Details

#deserialize(params) ⇒ Object



1555
1556
1557
1558
# File 'lib/v20230321/models.rb', line 1555

def deserialize(params)
  @ClusterId = params['ClusterId']
  @NodeIds = params['NodeIds']
end