swagger_server.models.site_role_create module¶
-
class
swagger_server.models.site_role_create.
SiteRoleCreate
(site_id: int = None, role_id: int = None, grant_implicitly: bool = 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_role_create.SiteRoleCreate[source]¶ Returns the dict as a model
Parameters: dikt – A dict. Type: dict Returns: The site_role_create of this SiteRoleCreate. # noqa: E501 Return type: SiteRoleCreate
-
grant_implicitly
¶ Gets the grant_implicitly of this SiteRoleCreate.
Returns: The grant_implicitly of this SiteRoleCreate. Return type: bool
-
role_id
¶ Gets the role_id of this SiteRoleCreate.
Returns: The role_id of this SiteRoleCreate. Return type: int
-
site_id
¶ Gets the site_id of this SiteRoleCreate.
Returns: The site_id of this SiteRoleCreate. Return type: int
-
classmethod