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 PostIntentRequest(Model):
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

    Do not edit the class manually.
    """

    def __init__(self, gate_id=None, intent_cc_emails=None):  # noqa: E501
        """PostIntentRequest - a model defined in OpenAPI

        :param gate_id: The gate_id of this PostIntentRequest.  # noqa: E501
        :type gate_id: int
        :param intent_cc_emails: The intent_cc_emails of this PostIntentRequest.  # noqa: E501
        :type intent_cc_emails: List[str]
        """
        self.openapi_types = {
            'gate_id': int,
            'intent_cc_emails': List[str]
        }

        self.attribute_map = {
            'gate_id': 'gate_id',
            'intent_cc_emails': 'intent_cc_emails'
        }

        self._gate_id = gate_id
        self._intent_cc_emails = intent_cc_emails

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

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

    @property
    def gate_id(self) -> int:
        """Gets the gate_id of this PostIntentRequest.


        :return: The gate_id of this PostIntentRequest.
        :rtype: int
        """
        return self._gate_id

    @gate_id.setter
    def gate_id(self, gate_id: int):
        """Sets the gate_id of this PostIntentRequest.


        :param gate_id: The gate_id of this PostIntentRequest.
        :type gate_id: int
        """
        if gate_id is None:
            raise ValueError("Invalid value for `gate_id`, must not be `None`")  # noqa: E501

        self._gate_id = gate_id

    @property
    def intent_cc_emails(self) -> List[str]:
        """Gets the intent_cc_emails of this PostIntentRequest.


        :return: The intent_cc_emails of this PostIntentRequest.
        :rtype: List[str]
        """
        return self._intent_cc_emails

    @intent_cc_emails.setter
    def intent_cc_emails(self, intent_cc_emails: List[str]):
        """Sets the intent_cc_emails of this PostIntentRequest.


        :param intent_cc_emails: The intent_cc_emails of this PostIntentRequest.
        :type intent_cc_emails: List[str]
        """
        if intent_cc_emails is None:
            raise ValueError("Invalid value for `intent_cc_emails`, must not be `None`")  # noqa: E501

        self._intent_cc_emails = intent_cc_emails
