Module coolipy.models.deployments

Classes

class DeploymentsModel (id: Optional[int] = None, application_id: Optional[str] = None, deployment_uuid: Optional[str] = None, pull_request_id: Optional[int] = None, force_rebuild: Optional[bool] = None, commit: Optional[str] = None, status: Optional[str] = None, is_webhook: Optional[bool] = None, is_api: Optional[bool] = None, logs: Optional[str] = None, current_process_id: Optional[str] = None, restart_only: Optional[bool] = None, git_type: Optional[str] = None, server_id: Optional[int] = None, application_name: Optional[str] = None, server_name: Optional[str] = None, deployment_url: Optional[str] = None, destination_id: Optional[str] = None, only_this_server: Optional[bool] = None, rollback: Optional[bool] = None, commit_message: Optional[str] = None, message: Optional[str] = None, created_at: Union[str, datetime.datetime, ForwardRef(None)] = None, updated_at: Union[str, datetime.datetime, ForwardRef(None)] = None)

Coolify Deployments data model.

Expand source code
@dataclass
class DeploymentsModel(CoolipyBaseModel):
    """
    Coolify Deployments data model.
    """

    id: Optional[int] = None
    application_id: Optional[str] = None
    deployment_uuid: Optional[str] = None
    pull_request_id: Optional[int] = None
    force_rebuild: Optional[bool] = None
    commit: Optional[str] = None
    status: Optional[str] = None
    is_webhook: Optional[bool] = None
    is_api: Optional[bool] = None
    logs: Optional[str] = None
    current_process_id: Optional[str] = None
    restart_only: Optional[bool] = None
    git_type: Optional[str] = None
    server_id: Optional[int] = None
    application_name: Optional[str] = None
    server_name: Optional[str] = None
    deployment_url: Optional[str] = None
    destination_id: Optional[str] = None
    only_this_server: Optional[bool] = None
    rollback: Optional[bool] = None
    commit_message: Optional[str] = None
    message: Optional[str] = None
    created_at: Optional[Union[str, datetime]] = None
    updated_at: Optional[Union[str, datetime]] = None

Ancestors

Class variables

var application_id : Optional[str]
var application_name : Optional[str]
var commit : Optional[str]
var commit_message : Optional[str]
var created_at : Union[str, datetime.datetime, ForwardRef(None)]
var current_process_id : Optional[str]
var deployment_url : Optional[str]
var deployment_uuid : Optional[str]
var destination_id : Optional[str]
var force_rebuild : Optional[bool]
var git_type : Optional[str]
var id : Optional[int]
var is_api : Optional[bool]
var is_webhook : Optional[bool]
var logs : Optional[str]
var message : Optional[str]
var only_this_server : Optional[bool]
var pull_request_id : Optional[int]
var restart_only : Optional[bool]
var rollback : Optional[bool]
var server_id : Optional[int]
var server_name : Optional[str]
var status : Optional[str]
var updated_at : Union[str, datetime.datetime, ForwardRef(None)]

Inherited members