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

    """
    allowed enum values
    """
    NONE = 'NONE'
    VAST_SCORE = 'VAST_SCORE'
    P_VALUE = 'P_VALUE'
    RMSD = 'RMSD'
    ALIGNMENT_LENGTH = 'ALIGNMENT_LENGTH'
    PCT_IDENTITY = 'PCT_IDENTITY'
    ACCESSION = 'ACCESSION'
    SDID = 'SDID'
    ALIGNMENT_ID = 'ALIGNMENT_ID'
    PDB_ID = 'PDB_ID'
    CHAIN_NAME = 'CHAIN_NAME'
    DOMAIN_NUMBER = 'DOMAIN_NUMBER'
    DESCRIPTION = 'DESCRIPTION'
    TAXONOMY_ID = 'TAXONOMY_ID'
    SUPERKINGDOM_ID = 'SUPERKINGDOM_ID'
    DOMAIN_NAME = 'DOMAIN_NAME'

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


