# 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 Symbol(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 = {
        'id': 'str',
        'file_name': 'str',
        'content_type': 'str',
        'creation_date': 'datetime',
        'tenant_id': 'str',
        'url': 'str'
    }

    attribute_map = {
        'id': 'id',
        'file_name': 'fileName',
        'content_type': 'contentType',
        'creation_date': 'creationDate',
        'tenant_id': 'tenantId',
        'url': 'url'
    }

    def __init__(self, id=None, file_name=None, content_type=None, creation_date=None, tenant_id=None, url=None):  # noqa: E501
        """Symbol - a model defined in Swagger"""  # noqa: E501
        self._id = None
        self._file_name = None
        self._content_type = None
        self._creation_date = None
        self._tenant_id = None
        self._url = None
        self.discriminator = None
        if id is not None:
            self.id = id
        if file_name is not None:
            self.file_name = file_name
        if content_type is not None:
            self.content_type = content_type
        if creation_date is not None:
            self.creation_date = creation_date
        if tenant_id is not None:
            self.tenant_id = tenant_id
        if url is not None:
            self.url = url

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


        :return: The id of this Symbol.  # noqa: E501
        :rtype: str
        """
        return self._id

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


        :param id: The id of this Symbol.  # noqa: E501
        :type: str
        """

        self._id = id

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


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

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


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

        self._file_name = file_name

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


        :return: The content_type of this Symbol.  # noqa: E501
        :rtype: str
        """
        return self._content_type

    @content_type.setter
    def content_type(self, content_type):
        """Sets the content_type of this Symbol.


        :param content_type: The content_type of this Symbol.  # noqa: E501
        :type: str
        """

        self._content_type = content_type

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


        :return: The creation_date of this Symbol.  # noqa: E501
        :rtype: datetime
        """
        return self._creation_date

    @creation_date.setter
    def creation_date(self, creation_date):
        """Sets the creation_date of this Symbol.


        :param creation_date: The creation_date of this Symbol.  # noqa: E501
        :type: datetime
        """

        self._creation_date = creation_date

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


        :return: The tenant_id of this Symbol.  # noqa: E501
        :rtype: str
        """
        return self._tenant_id

    @tenant_id.setter
    def tenant_id(self, tenant_id):
        """Sets the tenant_id of this Symbol.


        :param tenant_id: The tenant_id of this Symbol.  # noqa: E501
        :type: str
        """

        self._tenant_id = tenant_id

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


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

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


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

        self._url = url

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

        return self.__dict__ == other.__dict__

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