models_v2.acl_grant module

class models_v2.acl_grant.AclGrant(grantee=None, permissions=None)[source]

Bases: object

Implementation of the ‘AclGrant’ model.

Specifies an ACL grant.

Attributes:

grantee (Grantee): Specifies the grantee. permissions (list of PermissionEnum): Specifies a list of permissions

granted to the grantees.

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.