from __future__ import annotations
# coding: utf-8

"""
    fine-tuning-api-server

    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


import json
import pprint
import re  # noqa: F401
from enum import Enum





class TuneType(str, Enum):
    """
    The type of tune requested.
    """

    """
    allowed enum values
    """
    LORA_TUNE = 'lora_tune'
    TEXT_TO_SPEECH_LATENT_TUNE = 'text_to_speech_latent_tune'
    TEXT_TO_SPEECH_RVC_TUNE = 'text_to_speech_rvc_tune'
    TEXT_TO_SPEECH_TORTOISE_TUNE = 'text_to_speech_tortoise_tune'

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


