models.datastore_info module

class models.datastore_info.DatastoreInfo(capacity=None, free_space=None)[source]

Bases: object

Implementation of the ‘DatastoreInfo’ model.

TODO: type model description here.

Attributes:

capacity (int): Specifies the capacity of the datastore in bytes. free_space (int): Specifies the available space on the datastore in

bytes.

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.