# coding: utf-8

"""
    CartoVista REST API

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: 2.0.0
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""

import pprint
import re  # noqa: F401

import six

class MapUpdateParameter(object):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """
    """
    Attributes:
      swagger_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    swagger_types = {
        'title': 'str',
        'description': 'str',
        'language': 'LanguageEnum',
        'editable': 'bool',
        'seo_title': 'str',
        'seo_description': 'str',
        'seo_custom_html': 'str',
        'keywords': 'list[KeywordDTO]'
    }

    attribute_map = {
        'title': 'title',
        'description': 'description',
        'language': 'language',
        'editable': 'editable',
        'seo_title': 'seoTitle',
        'seo_description': 'seoDescription',
        'seo_custom_html': 'seoCustomHTML',
        'keywords': 'keywords'
    }

    def __init__(self, title=None, description=None, language=None, editable=None, seo_title=None, seo_description=None, seo_custom_html=None, keywords=None):  # noqa: E501
        """MapUpdateParameter - a model defined in Swagger"""  # noqa: E501
        self._title = None
        self._description = None
        self._language = None
        self._editable = None
        self._seo_title = None
        self._seo_description = None
        self._seo_custom_html = None
        self._keywords = None
        self.discriminator = None
        if title is not None:
            self.title = title
        if description is not None:
            self.description = description
        if language is not None:
            self.language = language
        if editable is not None:
            self.editable = editable
        if seo_title is not None:
            self.seo_title = seo_title
        if seo_description is not None:
            self.seo_description = seo_description
        if seo_custom_html is not None:
            self.seo_custom_html = seo_custom_html
        if keywords is not None:
            self.keywords = keywords

    @property
    def title(self):
        """Gets the title of this MapUpdateParameter.  # noqa: E501


        :return: The title of this MapUpdateParameter.  # noqa: E501
        :rtype: str
        """
        return self._title

    @title.setter
    def title(self, title):
        """Sets the title of this MapUpdateParameter.


        :param title: The title of this MapUpdateParameter.  # noqa: E501
        :type: str
        """

        self._title = title

    @property
    def description(self):
        """Gets the description of this MapUpdateParameter.  # noqa: E501


        :return: The description of this MapUpdateParameter.  # noqa: E501
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description):
        """Sets the description of this MapUpdateParameter.


        :param description: The description of this MapUpdateParameter.  # noqa: E501
        :type: str
        """

        self._description = description

    @property
    def language(self):
        """Gets the language of this MapUpdateParameter.  # noqa: E501


        :return: The language of this MapUpdateParameter.  # noqa: E501
        :rtype: LanguageEnum
        """
        return self._language

    @language.setter
    def language(self, language):
        """Sets the language of this MapUpdateParameter.


        :param language: The language of this MapUpdateParameter.  # noqa: E501
        :type: LanguageEnum
        """

        self._language = language

    @property
    def editable(self):
        """Gets the editable of this MapUpdateParameter.  # noqa: E501


        :return: The editable of this MapUpdateParameter.  # noqa: E501
        :rtype: bool
        """
        return self._editable

    @editable.setter
    def editable(self, editable):
        """Sets the editable of this MapUpdateParameter.


        :param editable: The editable of this MapUpdateParameter.  # noqa: E501
        :type: bool
        """

        self._editable = editable

    @property
    def seo_title(self):
        """Gets the seo_title of this MapUpdateParameter.  # noqa: E501


        :return: The seo_title of this MapUpdateParameter.  # noqa: E501
        :rtype: str
        """
        return self._seo_title

    @seo_title.setter
    def seo_title(self, seo_title):
        """Sets the seo_title of this MapUpdateParameter.


        :param seo_title: The seo_title of this MapUpdateParameter.  # noqa: E501
        :type: str
        """

        self._seo_title = seo_title

    @property
    def seo_description(self):
        """Gets the seo_description of this MapUpdateParameter.  # noqa: E501


        :return: The seo_description of this MapUpdateParameter.  # noqa: E501
        :rtype: str
        """
        return self._seo_description

    @seo_description.setter
    def seo_description(self, seo_description):
        """Sets the seo_description of this MapUpdateParameter.


        :param seo_description: The seo_description of this MapUpdateParameter.  # noqa: E501
        :type: str
        """

        self._seo_description = seo_description

    @property
    def seo_custom_html(self):
        """Gets the seo_custom_html of this MapUpdateParameter.  # noqa: E501


        :return: The seo_custom_html of this MapUpdateParameter.  # noqa: E501
        :rtype: str
        """
        return self._seo_custom_html

    @seo_custom_html.setter
    def seo_custom_html(self, seo_custom_html):
        """Sets the seo_custom_html of this MapUpdateParameter.


        :param seo_custom_html: The seo_custom_html of this MapUpdateParameter.  # noqa: E501
        :type: str
        """

        self._seo_custom_html = seo_custom_html

    @property
    def keywords(self):
        """Gets the keywords of this MapUpdateParameter.  # noqa: E501


        :return: The keywords of this MapUpdateParameter.  # noqa: E501
        :rtype: list[KeywordDTO]
        """
        return self._keywords

    @keywords.setter
    def keywords(self, keywords):
        """Sets the keywords of this MapUpdateParameter.


        :param keywords: The keywords of this MapUpdateParameter.  # noqa: E501
        :type: list[KeywordDTO]
        """

        self._keywords = keywords

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.swagger_types):
            value = getattr(self, attr)
            if isinstance(value, list):
                result[attr] = list(map(
                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
                    value
                ))
            elif hasattr(value, "to_dict"):
                result[attr] = value.to_dict()
            elif isinstance(value, dict):
                result[attr] = dict(map(
                    lambda item: (item[0], item[1].to_dict())
                    if hasattr(item[1], "to_dict") else item,
                    value.items()
                ))
            else:
                result[attr] = value
        if issubclass(MapUpdateParameter, dict):
            for key, value in self.items():
                result[key] = value

        return result

    def to_str(self):
        """Returns the string representation of the model"""
        return pprint.pformat(self.to_dict())

    def __repr__(self):
        """For `print` and `pprint`"""
        return self.to_str()

    def __eq__(self, other):
        """Returns true if both objects are equal"""
        if not isinstance(other, MapUpdateParameter):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        return not self == other
