models.role_update_parameters module¶
-
class
models.role_update_parameters.
RoleUpdateParameters
(description=None, privileges=None)[source]¶ Bases:
object
Implementation of the ‘RoleUpdateParameters’ model.
Specifies parameters required to update a role.
- Attributes:
description (string): Specifies a description about the role. privileges (list of string): Array of Privileges. Specifies the list
of privileges to assign to the role.
-
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.