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

    Do not edit the class manually.
    """

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

        :param feature_id: The feature_id of this CreateLaunchIssueRequest.  # noqa: E501
        :type feature_id: int
        :param gate_id: The gate_id of this CreateLaunchIssueRequest.  # noqa: E501
        :type gate_id: int
        """
        self.openapi_types = {
            'feature_id': int,
            'gate_id': int
        }

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

        self._feature_id = feature_id
        self._gate_id = gate_id

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

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

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


        :return: The feature_id of this CreateLaunchIssueRequest.
        :rtype: int
        """
        return self._feature_id

    @feature_id.setter
    def feature_id(self, feature_id: int):
        """Sets the feature_id of this CreateLaunchIssueRequest.


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

        self._feature_id = feature_id

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


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

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


        :param gate_id: The gate_id of this CreateLaunchIssueRequest.
        :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
