# coding: utf-8

"""
    Canva Connect API

    API for building integrations with Canva via a REST api

    The version of the OpenAPI document: latest
    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 SuggestionStatus(str, Enum):
    """
    The current status of the suggestion. This can be one of the following:  - `open`: A suggestion was made, but it hasn't been accepted or rejected yet. - `accepted`: A suggestion was accepted and applied to the design. - `rejected`: A suggestion was rejected and not applied to the design.
    """

    """
    allowed enum values
    """
    OPEN = 'open'
    ACCEPTED = 'accepted'
    REJECTED = 'rejected'

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


