# generated by datamodel-codegen:
#   filename:  api.yaml
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from dataclasses import dataclass
from typing import TypeAlias


@dataclass
class Pet:
    id: int
    name: str
    tag: str | None = None


Pets: TypeAlias = list[Pet]


@dataclass
class User:
    id: int
    name: str
    tag: str | None = None


Users: TypeAlias = list[User]


Id: TypeAlias = str


Rules: TypeAlias = list[str]


@dataclass
class Error:
    code: int
    message: str


@dataclass
class Api:
    apiKey: str | None = None
    apiVersionNumber: str | None = None
    apiUrl: str | None = None
    apiDocumentationUrl: str | None = None


Apis: TypeAlias = list[Api]


@dataclass
class Event:
    name: str | None = None


@dataclass
class Result:
    event: Event | None = None
