# coding: utf-8

"""
    NCBI Datasets API

    ### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability. 

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

    """
    allowed enum values
    """
    ELEMENT_FASTA = 'element_fasta'
    ELEMENT_FLANK_FASTA = 'element_flank_fasta'
    CONTIG_FASTA = 'contig_fasta'
    PROTEIN_FASTA = 'protein_fasta'

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


