models.source_for_principal_param module¶
-
class
models.source_for_principal_param.
SourceForPrincipalParam
(protection_source_ids=None, sid=None, view_names=None)[source]¶ Bases:
object
Implementation of the ‘SourceForPrincipalParam’ model.
Set Access Permissions for a Principal. For the specified principal, grant access permissions to the the specified Protection Sources and View names.
- Attributes:
- protection_source_ids (list of long|int): Array of Protection Source
Ids. For the specified principal, grant access permissions to the Protection Sources listed in this array.
- sid (string): Specifies the SID of the principal to grant access
permissions to.
- view_names (list of string): Array of View names. For the specified
principal, grant access permissions to the Views names listed in this array.
-
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.