# coding: utf-8

"""
    Docling Serve

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

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

    """
    allowed enum values
    """
    ADA = 'Ada'
    AWK = 'Awk'
    BASH = 'Bash'
    BC = 'bc'
    C = 'C'
    C_HASH = 'C#'
    C_PLUS_PLUS = 'C++'
    CMAKE = 'CMake'
    COBOL = 'COBOL'
    CSS = 'CSS'
    CEYLON = 'Ceylon'
    CLOJURE = 'Clojure'
    CRYSTAL = 'Crystal'
    CUDA = 'Cuda'
    CYTHON = 'Cython'
    D = 'D'
    DART = 'Dart'
    DC = 'dc'
    DOCKERFILE = 'Dockerfile'
    ELIXIR = 'Elixir'
    ERLANG = 'Erlang'
    FORTRAN = 'FORTRAN'
    FORTH = 'Forth'
    GO = 'Go'
    HTML = 'HTML'
    HASKELL = 'Haskell'
    HAXE = 'Haxe'
    JAVA = 'Java'
    JAVASCRIPT = 'JavaScript'
    JSON = 'JSON'
    JULIA = 'Julia'
    KOTLIN = 'Kotlin'
    LISP = 'Lisp'
    LUA = 'Lua'
    MATLAB = 'Matlab'
    MOONSCRIPT = 'MoonScript'
    NIM = 'Nim'
    OCAML = 'OCaml'
    OBJECTIVEC = 'ObjectiveC'
    OCTAVE = 'Octave'
    PHP = 'PHP'
    PASCAL = 'Pascal'
    PERL = 'Perl'
    PROLOG = 'Prolog'
    PYTHON = 'Python'
    RACKET = 'Racket'
    RUBY = 'Ruby'
    RUST = 'Rust'
    SML = 'SML'
    SQL = 'SQL'
    SCALA = 'Scala'
    SCHEME = 'Scheme'
    SWIFT = 'Swift'
    TYPESCRIPT = 'TypeScript'
    UNKNOWN = 'unknown'
    VISUALBASIC = 'VisualBasic'
    XML = 'XML'
    YAML = 'YAML'

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


