# This file is auto-generated by oagen. Do not edit.

"""Enumeration of organization created data domain state values."""

from __future__ import annotations

from enum import Enum
from typing import Optional
from typing import Literal, TypeAlias


class OrganizationCreatedDataDomainState(str, Enum):
    """Known values for OrganizationCreatedDataDomainState."""

    FAILED = "failed"
    LEGACY_VERIFIED = "legacy_verified"
    PENDING = "pending"
    UNVERIFIED = "unverified"
    VERIFIED = "verified"

    @classmethod
    def _missing_(cls, value: object) -> Optional["OrganizationCreatedDataDomainState"]:
        if not isinstance(value, str):
            return None
        unknown = str.__new__(cls, value)
        unknown._name_ = value.upper()
        unknown._value_ = value
        return unknown


OrganizationCreatedDataDomainStateLiteral: TypeAlias = Literal[
    "failed", "legacy_verified", "pending", "unverified", "verified"
]
