# Generated by ariadne-codegen
# Source: operations/

from typing import Optional

from pydantic import Field

from .base_model import BaseModel


class CheckDomainAvailable(BaseModel):
    check_domain_available: "CheckDomainAvailableCheckDomainAvailable" = Field(
        alias="checkDomainAvailable"
    )


class CheckDomainAvailableCheckDomainAvailable(BaseModel):
    is_available: bool = Field(alias="isAvailable")
    reason: Optional[str]
    available_suffixes: list[str] = Field(alias="availableSuffixes")


CheckDomainAvailable.model_rebuild()
