models.dir_quota_info module

class models.dir_quota_info.DirQuotaInfo(config=None, quotas=None)[source]

Bases: object

Implementation of the ‘DirQuotaInfo’ model.

Specifies the configuration and policy details for directory quota in a view.

Attributes:
config (DirQuotaConfig): Specifies the configuration object of a

directory quota.

quotas (list of DirQuotaPolicy): Specifies the list of directory quota

policies applied on 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.