# coding: utf-8

"""
    FastAPI

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: 0.1.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 DeepgramModel(str, Enum):
    """
    An enumeration.
    """

    """
    allowed enum values
    """
    NOVA_MINUS_2 = 'nova-2'
    NOVA_MINUS_2_MINUS_GENERAL = 'nova-2-general'
    NOVA_MINUS_2_MINUS_MEETING = 'nova-2-meeting'
    NOVA_MINUS_2_MINUS_PHONECALL = 'nova-2-phonecall'
    NOVA_MINUS_2_MINUS_FINANCE = 'nova-2-finance'
    NOVA_MINUS_2_MINUS_VOICEMAIL = 'nova-2-voicemail'
    NOVA_MINUS_2_MINUS_MEDICAL = 'nova-2-medical'
    NOVA_MINUS_2_MINUS_DRIVETHRU = 'nova-2-drivethru'
    NOVA_MINUS_2_MINUS_AUTOMOTIVE = 'nova-2-automotive'
    NOVA_MINUS_2_MINUS_CONVERSATIONALAI = 'nova-2-conversationalai'

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


