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

"""Enumeration of agent registration created data kind values."""

from __future__ import annotations

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


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

    ANONYMOUS = "anonymous"
    SERVICE_AUTH = "service_auth"
    IDENTITY_ASSERTION = "identity_assertion"

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


AgentRegistrationCreatedDataKindLiteral: TypeAlias = Literal[
    "anonymous", "service_auth", "identity_assertion"
]
