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

    """
    allowed enum values
    """
    COUNT_TYPE_UNSPECIFIED = 'COUNT_TYPE_UNSPECIFIED'
    COUNT_TYPE_ASSEMBLY = 'COUNT_TYPE_ASSEMBLY'
    COUNT_TYPE_GENE = 'COUNT_TYPE_GENE'
    COUNT_TYPE_T_RNA = 'COUNT_TYPE_tRNA'
    COUNT_TYPE_R_RNA = 'COUNT_TYPE_rRNA'
    COUNT_TYPE_SN_RNA = 'COUNT_TYPE_snRNA'
    COUNT_TYPE_SC_RNA = 'COUNT_TYPE_scRNA'
    COUNT_TYPE_SNO_RNA = 'COUNT_TYPE_snoRNA'
    COUNT_TYPE_PROTEIN_CODING = 'COUNT_TYPE_PROTEIN_CODING'
    COUNT_TYPE_PSEUDO = 'COUNT_TYPE_PSEUDO'
    COUNT_TYPE_TRANSPOSON = 'COUNT_TYPE_TRANSPOSON'
    COUNT_TYPE_MISC_RNA = 'COUNT_TYPE_miscRNA'
    COUNT_TYPE_NC_RNA = 'COUNT_TYPE_ncRNA'
    COUNT_TYPE_BIOLOGICAL_REGION = 'COUNT_TYPE_BIOLOGICAL_REGION'
    COUNT_TYPE_OTHER = 'COUNT_TYPE_OTHER'
    COUNT_TYPE_ORGANELLE = 'COUNT_TYPE_ORGANELLE'

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


