models_v2.scope module¶
-
class
models_v2.scope.
Scope
(mtype=None, project_scope_params=None, domain_scope_params=None)[source]¶ Bases:
object
Implementation of the ‘Scope’ model.
Specifies parameters related to Keystone scope.
- Attributes:
mtype (Type12Enum): Specifies the scope type. project_scope_params (ProjectScopeParams2): Specifies the parameter
for project type scope.
- domain_scope_params (DomainScopeParams2): Specifies the parameters for
domain type scope.
-
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.