models_v2.node_free_disks module¶
-
class
models_v2.node_free_disks.
NodeFreeDisks
(node_id=None, free_disks=None, chassis_serial=None, slot=None, error_message=None)[source]¶ Bases:
object
Implementation of the ‘NodeFreeDisks’ model.
Sepcifies the free disks of a node.
- Attributes:
node_id (long|int): Specifies the id of a node. free_disks (list of FreeDisk): Specifies list of free disks of node. chassis_serial (string): Chassis serial number. slot (long|int): Slot number of node error_message (string): Error message of disks assimilation request.
-
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.