models.pure_volume module

class models.pure_volume.PureVolume(created_time=None, parent_volume=None, serial_number=None, size_bytes=None, used_bytes=None)[source]

Bases: object

Implementation of the ‘PureVolume’ model.

Specifies a Pure Volume in a Pure Storage Array.

created_time (string): Specifies the created time (e.g.,

“2015-07-21T17:59:41Z”) of the volume.

parent_volume (string): Specifies the name of the source volume, if

this volume was copied or cloned from it.

serial_number (string): Specifies the serial number of the volume. size_bytes (long|int): Specifies the provisioned size in bytes of the


used_bytes (long|int): Specifies the total space actually used by the


classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.