from datetime import date, datetime  # noqa: F401

from typing import List, Dict  # noqa: F401

from chromestatus_openapi.models.base_model import Model
from chromestatus_openapi import util


class DismissCueRequest(Model):
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

    Do not edit the class manually.
    """

    def __init__(self, cue=None):  # noqa: E501
        """DismissCueRequest - a model defined in OpenAPI

        :param cue: The cue of this DismissCueRequest.  # noqa: E501
        :type cue: str
        """
        self.openapi_types = {
            'cue': str
        }

        self.attribute_map = {
            'cue': 'cue'
        }

        self._cue = cue

    @classmethod
    def from_dict(cls, dikt) -> 'DismissCueRequest':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The DismissCueRequest of this DismissCueRequest.  # noqa: E501
        :rtype: DismissCueRequest
        """
        return util.deserialize_model(dikt, cls)

    @property
    def cue(self) -> str:
        """Gets the cue of this DismissCueRequest.


        :return: The cue of this DismissCueRequest.
        :rtype: str
        """
        return self._cue

    @cue.setter
    def cue(self, cue: str):
        """Sets the cue of this DismissCueRequest.


        :param cue: The cue of this DismissCueRequest.
        :type cue: str
        """
        allowed_values = ["progress-checkmarks"]  # noqa: E501
        if cue not in allowed_values:
            raise ValueError(
                "Invalid value for `cue` ({0}), must be one of {1}"
                .format(cue, allowed_values)
            )

        self._cue = cue
