# Generated by ariadne-codegen
# Source: gitsrht/graphql/

from typing import Any, Optional

from pydantic import Field

from .base_model import BaseModel
from .fragments import Sshkey


class GetDeployKeys(BaseModel):
    repository: Optional["GetDeployKeysRepository"]


class GetDeployKeysRepository(BaseModel):
    deploy_keys: "GetDeployKeysRepositoryDeployKeys" = Field(alias="deployKeys")


class GetDeployKeysRepositoryDeployKeys(BaseModel):
    cursor: Optional[Any]
    results: list["GetDeployKeysRepositoryDeployKeysResults"]


class GetDeployKeysRepositoryDeployKeysResults(Sshkey):
    pass


GetDeployKeys.model_rebuild()
GetDeployKeysRepository.model_rebuild()
GetDeployKeysRepositoryDeployKeys.model_rebuild()
