models.acl_proto_grant module¶
-
class
models.acl_proto_grant.
ACLProto_Grant
(grantee=None, permission_vec=None)[source]¶ Bases:
object
Implementation of the ‘ACLProto_Grant’ model.
IP Range for range of vip address addition.
- Attributes:
- grantee (GranteeProto): Identifier of a grantee. It can be either a
registered user or one of Amazon S3 predefined group.
- permission_vec (list of int): Vector of permission granted to this
grantee.
-
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.