swagger_server.models.site_create module

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

client_id

Gets the client_id of this SiteCreate.

Returns:The client_id of this SiteCreate.
Return type:int
description

Gets the description of this SiteCreate.

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

Gets the domain_id of this SiteCreate.

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

Returns the dict as a model

Parameters:dikt – A dict.
Type:dict
Returns:The site_create of this SiteCreate. # noqa: E501
Return type:SiteCreate
is_active

Gets the is_active of this SiteCreate.

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

Gets the name of this SiteCreate.

Returns:The name of this SiteCreate.
Return type:str