models.entity_permission_information module

class models.entity_permission_information.EntityPermissionInformation(entity_id=None, groups=None, is_inferred=None, tenant=None, users=None)[source]

Bases: object

Implementation of the ‘EntityPermissionInformation’ model.

Specifies the permission information of entities.

Attributes:

entity_id (long|int): Specifies the entity id. groups (list of GroupInfo): Specifies groups that have access to

entity in case of restricted user.

is_inferred (bool): Specifies whether the Entity Permission

Information is inferred or not. For example, SQL application hosted over vCenter will have inferred entity permission information.

tenant (TenantInfo): Specifies struct with basic tenant details. users (list of UserInfo): Specifies users that have access to entity

in case of restricted user.

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.