models_v2.permissions_information module

class models_v2.permissions_information.PermissionsInformation(object_id=None, users=None, groups=None, tenant=None)[source]

Bases: object

Implementation of the ‘Permissions Information’ model.

Specifies the list of users, groups and users that have permissions for a given object.

Attributes:

object_id (long|int): Specifies the id of the object. users (list of User): Specifies the list of users which has the

permissions to the object.

groups (list of UserGroup): Specifies the list of user groups which

has permissions to the object.

tenant (Tenant): Specifies a tenant object.

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.