models_v2.disk_identify_params module¶
-
class
models_v2.disk_identify_params.
DiskIdentifyParams
(node_id=None, serial_number=None, identify=None)[source]¶ Bases:
object
Implementation of the ‘Disk identify params.’ model.
Specifies the parameters needed to identify disk.
- Attributes:
- node_id (long|int): Specifies the node id of node that disk belongs
to.
serial_number (string): Specifies serial number of disk. identify (bool): Turn on/off led light if it is set to true/false
-
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.