models_v2.node_specific_params module¶
-
class
models_v2.node_specific_params.
NodeSpecificParams
(node_id=None, node_ip=None)[source]¶ Bases:
object
Implementation of the ‘Node Specific Params.’ model.
Node params required for cluster creation
- Attributes:
node_id (long|int): Specifies the node id of the node. node_ip (string): Specifies the node ip address which is either in
ipv4/ipv6 format.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.