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.models.survey_answers import SurveyAnswers
from chromestatus_openapi import util

from chromestatus_openapi.models.survey_answers import SurveyAnswers  # noqa: E501

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

    Do not edit the class manually.
    """

    def __init__(self, assignees=None, survey_answers=None):  # noqa: E501
        """PatchGateRequest - a model defined in OpenAPI

        :param assignees: The assignees of this PatchGateRequest.  # noqa: E501
        :type assignees: List[str]
        :param survey_answers: The survey_answers of this PatchGateRequest.  # noqa: E501
        :type survey_answers: SurveyAnswers
        """
        self.openapi_types = {
            'assignees': List[str],
            'survey_answers': SurveyAnswers
        }

        self.attribute_map = {
            'assignees': 'assignees',
            'survey_answers': 'survey_answers'
        }

        self._assignees = assignees
        self._survey_answers = survey_answers

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

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

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


        :return: The assignees of this PatchGateRequest.
        :rtype: List[str]
        """
        return self._assignees

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


        :param assignees: The assignees of this PatchGateRequest.
        :type assignees: List[str]
        """

        self._assignees = assignees

    @property
    def survey_answers(self) -> SurveyAnswers:
        """Gets the survey_answers of this PatchGateRequest.


        :return: The survey_answers of this PatchGateRequest.
        :rtype: SurveyAnswers
        """
        return self._survey_answers

    @survey_answers.setter
    def survey_answers(self, survey_answers: SurveyAnswers):
        """Sets the survey_answers of this PatchGateRequest.


        :param survey_answers: The survey_answers of this PatchGateRequest.
        :type survey_answers: SurveyAnswers
        """

        self._survey_answers = survey_answers
