swagger_server.models.domain module

class swagger_server.models.domain.Domain(id: int = None, parent_id: int = None, name: str = None, description: str = 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 Domain.

Returns:The created_at of this Domain.
Return type:datetime
description

Gets the description of this Domain.

Returns:The description of this Domain.
Return type:str
classmethod from_dict(dikt) → swagger_server.models.domain.Domain[source]

Returns the dict as a model

Parameters:dikt – A dict.
Type:dict
Returns:The domain of this Domain. # noqa: E501
Return type:Domain
id

Gets the id of this Domain.

Returns:The id of this Domain.
Return type:int
name

Gets the name of this Domain.

Returns:The name of this Domain.
Return type:str
parent_id

Gets the parent_id of this Domain.

Returns:The parent_id of this Domain.
Return type:int
updated_at

Gets the updated_at of this Domain.

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