swagger_server.models.site_role module

class swagger_server.models.site_role.SiteRole(site_id: int = None, role_id: int = None, grant_implicitly: bool = None, created_at: datetime.datetime = None, updated_at: datetime.datetime = 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.

created_at

Gets the created_at of this SiteRole.

Returns:The created_at of this SiteRole.
Return type:datetime
classmethod from_dict(dikt) → swagger_server.models.site_role.SiteRole[source]

Returns the dict as a model

Parameters:dikt – A dict.
Type:dict
Returns:The site_role of this SiteRole. # noqa: E501
Return type:SiteRole
grant_implicitly

Gets the grant_implicitly of this SiteRole.

Returns:The grant_implicitly of this SiteRole.
Return type:bool
role_id

Gets the role_id of this SiteRole.

Returns:The role_id of this SiteRole.
Return type:int
site_id

Gets the site_id of this SiteRole.

Returns:The site_id of this SiteRole.
Return type:int
updated_at

Gets the updated_at of this SiteRole.

Returns:The updated_at of this SiteRole.
Return type:datetime