models_v2.free_disk module¶
-
class
models_v2.free_disk.
FreeDisk
(serial_number=None, location=None, path=None, size_in_bytes=None)[source]¶ Bases:
object
Implementation of the ‘FreeDisk’ model.
Specifies the details of a free disk.
- Attributes:
location (string): Specifies the location of disk. serial_number (string): Specifies serial number of disk. path (string): Specifies path of disk. size_in_bytes (long|int): Size of disk.
-
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.