from enum import Enum


class OsidbApiV2AffectsListOrderItem(str, Enum):
    AFFECTEDNESS = "affectedness"
    CREATED_BY = "created_by"
    CREATED_DT = "created_dt"
    CVE_ID = "cve_id"
    CVSS_SCORES_COMMENT = "cvss_scores__comment"
    CVSS_SCORES_CREATED_DT = "cvss_scores__created_dt"
    CVSS_SCORES_CVSS_VERSION = "cvss_scores__cvss_version"
    CVSS_SCORES_ISSUER = "cvss_scores__issuer"
    CVSS_SCORES_SCORE = "cvss_scores__score"
    CVSS_SCORES_UPDATED_DT = "cvss_scores__updated_dt"
    CVSS_SCORES_UUID = "cvss_scores__uuid"
    CVSS_SCORES_VECTOR = "cvss_scores__vector"
    EMBARGOED = "embargoed"
    FLAW_COMPONENTS = "flaw__components"
    FLAW_CREATED_DT = "flaw__created_dt"
    FLAW_CVE_ID = "flaw__cve_id"
    FLAW_CWE_ID = "flaw__cwe_id"
    FLAW_EMBARGOED = "flaw__embargoed"
    FLAW_IMPACT = "flaw__impact"
    FLAW_REPORTED_DT = "flaw__reported_dt"
    FLAW_SOURCE = "flaw__source"
    FLAW_UNEMBARGO_DT = "flaw__unembargo_dt"
    FLAW_UPDATED_DT = "flaw__updated_dt"
    FLAW_UUID = "flaw__uuid"
    IMPACT = "impact"
    PS_COMPONENT = "ps_component"
    PS_MODULE = "ps_module"
    PS_UPDATE_STREAM = "ps_update_stream"
    PURL = "purl"
    RESOLUTION = "resolution"
    SUBPACKAGE_PURLS = "subpackage_purls"
    TRACKER_CREATED_DT = "tracker__created_dt"
    TRACKER_EMBARGOED = "tracker__embargoed"
    TRACKER_EXTERNAL_SYSTEM_ID = "tracker__external_system_id"
    TRACKER_PS_UPDATE_STREAM = "tracker__ps_update_stream"
    TRACKER_RESOLUTION = "tracker__resolution"
    TRACKER_STATUS = "tracker__status"
    TRACKER_TYPE = "tracker__type"
    TRACKER_UPDATED_DT = "tracker__updated_dt"
    TRACKER_UUID = "tracker__uuid"
    UPDATED_BY = "updated_by"
    UPDATED_DT = "updated_dt"
    UUID = "uuid"
    VALUE_0 = "-affectedness"
    VALUE_1 = "-created_by"
    VALUE_10 = "-cvss_scores__uuid"
    VALUE_11 = "-cvss_scores__vector"
    VALUE_12 = "-embargoed"
    VALUE_13 = "-flaw__components"
    VALUE_14 = "-flaw__created_dt"
    VALUE_15 = "-flaw__cve_id"
    VALUE_16 = "-flaw__cwe_id"
    VALUE_17 = "-flaw__embargoed"
    VALUE_18 = "-flaw__impact"
    VALUE_19 = "-flaw__reported_dt"
    VALUE_2 = "-created_dt"
    VALUE_20 = "-flaw__source"
    VALUE_21 = "-flaw__unembargo_dt"
    VALUE_22 = "-flaw__updated_dt"
    VALUE_23 = "-flaw__uuid"
    VALUE_24 = "-impact"
    VALUE_25 = "-ps_component"
    VALUE_26 = "-ps_module"
    VALUE_27 = "-ps_update_stream"
    VALUE_28 = "-purl"
    VALUE_29 = "-resolution"
    VALUE_3 = "-cve_id"
    VALUE_30 = "-subpackage_purls"
    VALUE_31 = "-tracker__created_dt"
    VALUE_32 = "-tracker__embargoed"
    VALUE_33 = "-tracker__external_system_id"
    VALUE_34 = "-tracker__ps_update_stream"
    VALUE_35 = "-tracker__resolution"
    VALUE_36 = "-tracker__status"
    VALUE_37 = "-tracker__type"
    VALUE_38 = "-tracker__updated_dt"
    VALUE_39 = "-tracker__uuid"
    VALUE_4 = "-cvss_scores__comment"
    VALUE_40 = "-updated_by"
    VALUE_41 = "-updated_dt"
    VALUE_42 = "-uuid"
    VALUE_5 = "-cvss_scores__created_dt"
    VALUE_6 = "-cvss_scores__cvss_version"
    VALUE_7 = "-cvss_scores__issuer"
    VALUE_8 = "-cvss_scores__score"
    VALUE_9 = "-cvss_scores__updated_dt"

    def __str__(self) -> str:
        return str(self.value)
