# 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 MapSymbolFont(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 = {
        'font_name': 'str',
        'file_name': 'str',
        'characters': 'str',
        'url': 'str',
        'icon': 'str'
    }

    attribute_map = {
        'font_name': 'fontName',
        'file_name': 'fileName',
        'characters': 'characters',
        'url': 'url',
        'icon': 'icon'
    }

    def __init__(self, font_name=None, file_name=None, characters=None, url=None, icon=None):  # noqa: E501
        """MapSymbolFont - a model defined in Swagger"""  # noqa: E501
        self._font_name = None
        self._file_name = None
        self._characters = None
        self._url = None
        self._icon = None
        self.discriminator = None
        if font_name is not None:
            self.font_name = font_name
        if file_name is not None:
            self.file_name = file_name
        if characters is not None:
            self.characters = characters
        if url is not None:
            self.url = url
        if icon is not None:
            self.icon = icon

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


        :return: The font_name of this MapSymbolFont.  # noqa: E501
        :rtype: str
        """
        return self._font_name

    @font_name.setter
    def font_name(self, font_name):
        """Sets the font_name of this MapSymbolFont.


        :param font_name: The font_name of this MapSymbolFont.  # noqa: E501
        :type: str
        """

        self._font_name = font_name

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


        :return: The file_name of this MapSymbolFont.  # noqa: E501
        :rtype: str
        """
        return self._file_name

    @file_name.setter
    def file_name(self, file_name):
        """Sets the file_name of this MapSymbolFont.


        :param file_name: The file_name of this MapSymbolFont.  # noqa: E501
        :type: str
        """

        self._file_name = file_name

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


        :return: The characters of this MapSymbolFont.  # noqa: E501
        :rtype: str
        """
        return self._characters

    @characters.setter
    def characters(self, characters):
        """Sets the characters of this MapSymbolFont.


        :param characters: The characters of this MapSymbolFont.  # noqa: E501
        :type: str
        """

        self._characters = characters

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


        :return: The url of this MapSymbolFont.  # noqa: E501
        :rtype: str
        """
        return self._url

    @url.setter
    def url(self, url):
        """Sets the url of this MapSymbolFont.


        :param url: The url of this MapSymbolFont.  # noqa: E501
        :type: str
        """

        self._url = url

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


        :return: The icon of this MapSymbolFont.  # noqa: E501
        :rtype: str
        """
        return self._icon

    @icon.setter
    def icon(self, icon):
        """Sets the icon of this MapSymbolFont.


        :param icon: The icon of this MapSymbolFont.  # noqa: E501
        :type: str
        """

        self._icon = icon

    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(MapSymbolFont, 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, MapSymbolFont):
            return False

        return self.__dict__ == other.__dict__

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