models_v2.grantee module¶
-
class
models_v2.grantee.
Grantee
(mtype='RegisteredUser', user_id=None)[source]¶ Bases:
object
Implementation of the ‘Grantee’ model.
Specifies the grantee.
- Attributes:
mtype (string): Specifies the grantee type. user_id (string): Specifies the user id of the 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.