swagger_server.models.site module

class swagger_server.models.site.Site(id: int = None, name: str = None, client_id: int = None, domain_id: int = None, description: str = None, is_active: 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.

client_id

Gets the client_id of this Site.

Returns:The client_id of this Site.
Return type:int
created_at

Gets the created_at of this Site.

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

Gets the description of this Site.

Returns:The description of this Site.
Return type:str
domain_id

Gets the domain_id of this Site.

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

Returns the dict as a model

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

Gets the id of this Site.

Returns:The id of this Site.
Return type:int
is_active

Gets the is_active of this Site.

Returns:The is_active of this Site.
Return type:bool
name

Gets the name of this Site.

Returns:The name of this Site.
Return type:str
updated_at

Gets the updated_at of this Site.

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