models.update_sources_for_principals_params module¶
-
class
models.update_sources_for_principals_params.
UpdateSourcesForPrincipalsParams
(sources_for_principals=None)[source]¶ Bases:
object
Implementation of the ‘UpdateSourcesForPrincipalsParams’ model.
Set Access Permissions for Principals. Specifies a list of principals to set access permissions for. For each principal, set the Protection Sources and View names that the specified principal has permissions to access.
- Attributes:
- sources_for_principals (list of SourceForPrincipalParam): Array of
Principals, Sources and Views. Specifies a list of principals. For each principal, specify the Protection Sources and Views that the principal has permissions to access.
-
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.