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

from __future__ import annotations

from typing import NotRequired, TypeAlias, TypedDict


class Cursors(TypedDict):
    prev: str
    next: NotRequired[str]
    index: float
    tag: NotRequired[str]


class TopLevel(TypedDict):
    cursors: Cursors


class Info(TypedDict):
    name: str


class User(TypedDict):
    info: Info


class Api(TypedDict):
    apiKey: NotRequired[str]
    apiVersionNumber: NotRequired[str]
    apiUrl: NotRequired[str]
    apiDocumentationUrl: NotRequired[str]


Apis: TypeAlias = list[Api] | None


class EmailItem(TypedDict):
    author: str
    address: str
    description: NotRequired[str]
    tag: NotRequired[str]


Email: TypeAlias = list[EmailItem]


Id: TypeAlias = int


Description: TypeAlias = str | None


Name: TypeAlias = str | None


Tag: TypeAlias = str


class Notes(TypedDict):
    comments: NotRequired[list[str]]


class Options(TypedDict):
    comments: list[str]
    oneOfComments: list[str | float]
    simpleUnion: NotRequired[str | float]
