"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from postivo_client.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class PingResponseTypedDict(TypedDict):
    r"""Ping response."""

    status: NotRequired[str]
    r"""API service status: OK (available), ERR (unavailable)."""
    version: NotRequired[str]
    r"""Current API version."""
    sandbox: NotRequired[bool]
    r"""Indicates whether the connection was established to the test system (SANDBOX)."""


class PingResponse(BaseModel):
    r"""Ping response."""

    status: Optional[str] = None
    r"""API service status: OK (available), ERR (unavailable)."""

    version: Optional[str] = None
    r"""Current API version."""

    sandbox: Optional[bool] = None
    r"""Indicates whether the connection was established to the test system (SANDBOX)."""
