models.update_dir_quota_args module

class models.update_dir_quota_args.UpdateDirQuotaArgs(disable_dir_quota=None, quota=None, view_name=None)[source]

Bases: object

Implementation of the ‘UpdateDirQuotaArgs’ model.

Specifies the arguments for updating the directory quota policies. This structure can be used for adding, updating and removing the policies.

Attributes:
disable_dir_quota (bool): Specifies directory quota to be disabled on

the view.

quota (DirQuotaPolicy): Specifies a policy configuration for the

directory quota. A policy is the sole entity which describes the usage limits of a directory in a view. DirPath is the identifier of a policy. It must be specified for adding, updating or removing a policy. If Policy is not set, then it is considered to be removed.

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.