# coding: utf-8

"""
    AI Stats Gateway API

    A gateway API for accessing various AI models with OpenAI-compatible endpoints.

    The version of the OpenAPI document: 1.0.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self


class OrganisationId(str, Enum):
    """
    Organisation identifier.
    """

    """
    allowed enum values
    """
    AI21 = 'ai21'
    AMAZON = 'amazon'
    ANTHROPIC = 'anthropic'
    BAIDU = 'baidu'
    BLACK_MINUS_FOREST_MINUS_LABS = 'black-forest-labs'
    BYTEDANCE = 'bytedance'
    COHERE = 'cohere'
    DEEPSEEK = 'deepseek'
    ELEVEN_MINUS_LABS = 'eleven-labs'
    ESSENTIAL_MINUS_AI = 'essential-ai'
    GOOGLE = 'google'
    IBM = 'ibm'
    INCLUSIONAI = 'inclusionai'
    LG = 'lg'
    META = 'meta'
    MICROSOFT = 'microsoft'
    MINIMAX = 'minimax'
    MISTRAL = 'mistral'
    MOONSHOTAI = 'moonshotai'
    NOUS = 'nous'
    NVIDIA = 'nvidia'
    OPENAI = 'openai'
    PERPLEXITY = 'perplexity'
    QWEN = 'qwen'
    SUNO = 'suno'
    X_MINUS_AI = 'x-ai'
    Z_MINUS_AI = 'z-ai'

    @classmethod
    def from_json(cls, json_str: str) -> Self:
        """Create an instance of OrganisationId from a JSON string"""
        return cls(json.loads(json_str))


