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

"""Enumeration of data integration credentials credentials type values."""

from __future__ import annotations

from enum import Enum
from typing import Literal, TypeAlias


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

    SHARED = "shared"
    CUSTOM = "custom"
    ORGANIZATION = "organization"

    @classmethod
    def _missing_(
        cls, value: object
    ) -> DataIntegrationCredentialsCredentialsType | None:
        if not isinstance(value, str):
            return None
        unknown = str.__new__(cls, value)
        unknown._name_ = value.upper()
        unknown._value_ = value
        return unknown


DataIntegrationCredentialsCredentialsTypeLiteral: TypeAlias = Literal[
    "shared", "custom", "organization"
]
