models.dir_quota_config module

class models.dir_quota_config.DirQuotaConfig(enabled=None, view_name=None)[source]

Bases: object

Implementation of the ‘DirQuotaConfig’ model.

Specifies the configuration object of a directory quota.

Attributes:
enabled (bool): Specifies whether the directory quota is enabled on

the view.

view_name (string): Specifies the name of the view.

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.