swagger_server.models.site_and_domain_roles module¶
-
class
swagger_server.models.site_and_domain_roles.
SiteAndDomainRoles
(site_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.
-
classmethod
from_dict
(dikt) → swagger_server.models.site_and_domain_roles.SiteAndDomainRoles[source]¶ Returns the dict as a model
Parameters: dikt – A dict. Type: dict Returns: The site_and_domain_roles of this SiteAndDomainRoles. # noqa: E501 Return type: SiteAndDomainRoles
-
roles_map
¶ Gets the roles_map of this SiteAndDomainRoles.
A dictionary where the keys are site and domain ids prefixed with s: and d:, respectively and the values are lists of role ids. # noqa: E501
Returns: The roles_map of this SiteAndDomainRoles. Return type: Dict[str, List[int]]
-
site_id
¶ Gets the site_id of this SiteAndDomainRoles.
The site for which the request was made. # noqa: E501
Returns: The site_id of this SiteAndDomainRoles. Return type: int
-
classmethod