swagger_server.models.user_with_roles module¶
-
class
swagger_server.models.user_with_roles.
UserWithRoles
(user_id: str = None, role_ids: 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.
-
classmethod
from_dict
(dikt) → swagger_server.models.user_with_roles.UserWithRoles[source]¶ Returns the dict as a model
Parameters: dikt – A dict. Type: dict Returns: The user_with_roles of this UserWithRoles. # noqa: E501 Return type: UserWithRoles
-
role_ids
¶ Gets the role_ids of this UserWithRoles.
Returns: The role_ids of this UserWithRoles. Return type: List[int]
-
user_id
¶ Gets the user_id of this UserWithRoles.
Returns: The user_id of this UserWithRoles. Return type: str
-
classmethod