swagger_server.models.domain_role module

class swagger_server.models.domain_role.DomainRole(domain_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 DomainRole.

Returns:The created_at of this DomainRole.
Return type:datetime
domain_id

Gets the domain_id of this DomainRole.

Returns:The domain_id of this DomainRole.
Return type:int
classmethod from_dict(dikt) → swagger_server.models.domain_role.DomainRole[source]

Returns the dict as a model

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

Gets the grant_implicitly of this DomainRole.

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

Gets the role_id of this DomainRole.

Returns:The role_id of this DomainRole.
Return type:int
updated_at

Gets the updated_at of this DomainRole.

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