swagger_server.models.domain_roles module¶
-
class
swagger_server.models.domain_roles.
DomainRoles
(domain_id: int = None, roles_map: Dict[str, List[int]] = None)[source]¶ Bases:
swagger_server.models.base_model_.Model
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
-
domain_id
¶ Gets the domain_id of this DomainRoles.
The domain for which the request was made. # noqa: E501
Returns: The domain_id of this DomainRoles. Return type: int
-
classmethod
from_dict
(dikt) → swagger_server.models.domain_roles.DomainRoles[source]¶ Returns the dict as a model
Parameters: dikt – A dict. Type: dict Returns: The domain_roles of this DomainRoles. # noqa: E501 Return type: DomainRoles
-
roles_map
¶ Gets the roles_map of this DomainRoles.
A dictionary where the keys are domain ids prefixed with d: and the values are lists of role ids. # noqa: E501
Returns: The roles_map of this DomainRoles. Return type: Dict[str, List[int]]
-