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

    Do not edit the class manually.
    """

    def __init__(self, id=None, name=None, summary=None, stages=None):  # noqa: E501
        """ReleaseNotesL10nItem - a model defined in OpenAPI

        :param id: The id of this ReleaseNotesL10nItem.  # noqa: E501
        :type id: int
        :param name: The name of this ReleaseNotesL10nItem.  # noqa: E501
        :type name: str
        :param summary: The summary of this ReleaseNotesL10nItem.  # noqa: E501
        :type summary: str
        :param stages: The stages of this ReleaseNotesL10nItem.  # noqa: E501
        :type stages: List[object]
        """
        self.openapi_types = {
            'id': int,
            'name': str,
            'summary': str,
            'stages': List[object]
        }

        self.attribute_map = {
            'id': 'id',
            'name': 'name',
            'summary': 'summary',
            'stages': 'stages'
        }

        self._id = id
        self._name = name
        self._summary = summary
        self._stages = stages

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

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

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


        :return: The id of this ReleaseNotesL10nItem.
        :rtype: int
        """
        return self._id

    @id.setter
    def id(self, id: int):
        """Sets the id of this ReleaseNotesL10nItem.


        :param id: The id of this ReleaseNotesL10nItem.
        :type id: int
        """

        self._id = id

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


        :return: The name of this ReleaseNotesL10nItem.
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name: str):
        """Sets the name of this ReleaseNotesL10nItem.


        :param name: The name of this ReleaseNotesL10nItem.
        :type name: str
        """

        self._name = name

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


        :return: The summary of this ReleaseNotesL10nItem.
        :rtype: str
        """
        return self._summary

    @summary.setter
    def summary(self, summary: str):
        """Sets the summary of this ReleaseNotesL10nItem.


        :param summary: The summary of this ReleaseNotesL10nItem.
        :type summary: str
        """

        self._summary = summary

    @property
    def stages(self) -> List[object]:
        """Gets the stages of this ReleaseNotesL10nItem.


        :return: The stages of this ReleaseNotesL10nItem.
        :rtype: List[object]
        """
        return self._stages

    @stages.setter
    def stages(self, stages: List[object]):
        """Sets the stages of this ReleaseNotesL10nItem.


        :param stages: The stages of this ReleaseNotesL10nItem.
        :type stages: List[object]
        """

        self._stages = stages
