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.release_notes_l10n_item import ReleaseNotesL10nItem
from chromestatus_openapi import util

from chromestatus_openapi.models.release_notes_l10n_item import ReleaseNotesL10nItem  # noqa: E501

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

    Do not edit the class manually.
    """

    def __init__(self, features=None, descriptions=None):  # noqa: E501
        """ReleaseNotesL10nResponse - a model defined in OpenAPI

        :param features: The features of this ReleaseNotesL10nResponse.  # noqa: E501
        :type features: List[ReleaseNotesL10nItem]
        :param descriptions: The descriptions of this ReleaseNotesL10nResponse.  # noqa: E501
        :type descriptions: Dict[str, object]
        """
        self.openapi_types = {
            'features': List[ReleaseNotesL10nItem],
            'descriptions': Dict[str, object]
        }

        self.attribute_map = {
            'features': 'features',
            'descriptions': 'descriptions'
        }

        self._features = features
        self._descriptions = descriptions

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

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

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


        :return: The features of this ReleaseNotesL10nResponse.
        :rtype: List[ReleaseNotesL10nItem]
        """
        return self._features

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


        :param features: The features of this ReleaseNotesL10nResponse.
        :type features: List[ReleaseNotesL10nItem]
        """

        self._features = features

    @property
    def descriptions(self) -> Dict[str, object]:
        """Gets the descriptions of this ReleaseNotesL10nResponse.


        :return: The descriptions of this ReleaseNotesL10nResponse.
        :rtype: Dict[str, object]
        """
        return self._descriptions

    @descriptions.setter
    def descriptions(self, descriptions: Dict[str, object]):
        """Sets the descriptions of this ReleaseNotesL10nResponse.


        :param descriptions: The descriptions of this ReleaseNotesL10nResponse.
        :type descriptions: Dict[str, object]
        """

        self._descriptions = descriptions
