# 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 V2reportsAverageNucleotideIdentityMatchStatus(str, Enum):
    """
    V2reportsAverageNucleotideIdentityMatchStatus
    """

    """
    allowed enum values
    """
    BEST_MATCH_STATUS_UNKNOWN = 'BEST_MATCH_STATUS_UNKNOWN'
    APPROVED_MISMATCH = 'approved_mismatch'
    BELOW_THRESHOLD_MATCH = 'below_threshold_match'
    BELOW_THRESHOLD_MISMATCH = 'below_threshold_mismatch'
    BEST_MATCH_STATUS = 'best_match_status'
    DERIVED_SPECIES_MATCH = 'derived_species_match'
    GENUS_MATCH = 'genus_match'
    LOW_COVERAGE = 'low_coverage'
    MISMATCH = 'mismatch'
    STATUS_NA = 'status_na'
    SPECIES_MATCH = 'species_match'
    SUBSPECIES_MATCH = 'subspecies_match'
    SYNONYM_MATCH = 'synonym_match'
    LINEAGE_MATCH = 'lineage_match'
    BELOW_THRESHOLD_LINEAGE_MATCH = 'below_threshold_lineage_match'

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


