swagger_server.models.domain_role_create module

class swagger_server.models.domain_role_create.DomainRoleCreate(domain_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.

domain_id

Gets the domain_id of this DomainRoleCreate.

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

Returns the dict as a model

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

Gets the grant_implicitly of this DomainRoleCreate.

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

Gets the role_id of this DomainRoleCreate.

Returns:The role_id of this DomainRoleCreate.
Return type:int