# coding: utf-8

"""
    Voucherify API

    Voucherify promotion engine REST API. Please see https://docs.voucherify.io/docs for more details.

    The version of the OpenAPI document: v2018-08-01
    Contact: support@voucherify.io
    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 ParameterCampaignStatusListCampaigns(str, Enum):
    """
    Status of the campaign. Allowed values: `DONE`, `IN_PROGRESS`, `DRAFT`, `FAILED` `MODIFYING`
    """

    """
    allowed enum values
    """
    DONE = 'DONE'
    IN_PROGRESS = 'IN_PROGRESS'
    FAILED = 'FAILED'
    DRAFT = 'DRAFT'
    MODIFYING = 'MODIFYING'

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


