# coding: utf-8

"""
    Artifact Keeper API

    Enterprise artifact registry supporting 45+ package formats.

    The version of the OpenAPI document: 1.0.0-rc.3
    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 CveStatus(str, Enum):
    """
    CVE status for tracking.
    """

    """
    allowed enum values
    """
    OPEN = 'open'
    FIXED = 'fixed'
    ACKNOWLEDGED = 'acknowledged'
    FALSE_POSITIVE = 'false_positive'

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


