# coding: utf-8

"""
    Marketcheck Cars API

    <b>Access the New, Used and Certified cars inventories for all Car Dealers in US.</b> <br/>The data is sourced from online listings by over 44,000 Car dealers in US. At any time, there are about 6.2M searchable listings (about 1.9M unique VINs) for Used & Certified cars and about 6.6M (about 3.9M unique VINs) New Car listings from all over US. We use this API at the back for our website <a href='https://www.marketcheck.com' target='_blank'>www.marketcheck.com</a> and our Android and iOS mobile apps too.<br/><h5> Few useful links : </h5><ul><li>A quick view of the API and the use cases is depicated <a href='https://portals.marketcheck.com/mcapi/' target='_blank'>here</a></li><li>The Postman collection with various usages of the API is shared here https://www.getpostman.com/collections/2752684ff636cdd7bac2</li></ul>  # noqa: E501

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


import pprint
import re  # noqa: F401

import six


class ComparisonPoint(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 = {
        'similar_vehicles_count': 'float',
        'dealer_indicator': 'str',
        'vin_price': 'float',
        'fair_deal_price': 'float'
    }

    attribute_map = {
        'similar_vehicles_count': 'similar_vehicles_count',
        'dealer_indicator': 'dealer_indicator',
        'vin_price': 'vin_price',
        'fair_deal_price': 'fair_deal_price'
    }

    def __init__(self, similar_vehicles_count=None, dealer_indicator=None, vin_price=None, fair_deal_price=None):  # noqa: E501
        """ComparisonPoint - a model defined in Swagger"""  # noqa: E501

        self._similar_vehicles_count = None
        self._dealer_indicator = None
        self._vin_price = None
        self._fair_deal_price = None
        self.discriminator = None

        if similar_vehicles_count is not None:
            self.similar_vehicles_count = similar_vehicles_count
        if dealer_indicator is not None:
            self.dealer_indicator = dealer_indicator
        if vin_price is not None:
            self.vin_price = vin_price
        if fair_deal_price is not None:
            self.fair_deal_price = fair_deal_price

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

        Similar Vehicles Count  # noqa: E501

        :return: The similar_vehicles_count of this ComparisonPoint.  # noqa: E501
        :rtype: float
        """
        return self._similar_vehicles_count

    @similar_vehicles_count.setter
    def similar_vehicles_count(self, similar_vehicles_count):
        """Sets the similar_vehicles_count of this ComparisonPoint.

        Similar Vehicles Count  # noqa: E501

        :param similar_vehicles_count: The similar_vehicles_count of this ComparisonPoint.  # noqa: E501
        :type: float
        """

        self._similar_vehicles_count = similar_vehicles_count

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

        Deal Indicator  # noqa: E501

        :return: The dealer_indicator of this ComparisonPoint.  # noqa: E501
        :rtype: str
        """
        return self._dealer_indicator

    @dealer_indicator.setter
    def dealer_indicator(self, dealer_indicator):
        """Sets the dealer_indicator of this ComparisonPoint.

        Deal Indicator  # noqa: E501

        :param dealer_indicator: The dealer_indicator of this ComparisonPoint.  # noqa: E501
        :type: str
        """

        self._dealer_indicator = dealer_indicator

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

        Price for Vin  # noqa: E501

        :return: The vin_price of this ComparisonPoint.  # noqa: E501
        :rtype: float
        """
        return self._vin_price

    @vin_price.setter
    def vin_price(self, vin_price):
        """Sets the vin_price of this ComparisonPoint.

        Price for Vin  # noqa: E501

        :param vin_price: The vin_price of this ComparisonPoint.  # noqa: E501
        :type: float
        """

        self._vin_price = vin_price

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

        Fair Deal Price  # noqa: E501

        :return: The fair_deal_price of this ComparisonPoint.  # noqa: E501
        :rtype: float
        """
        return self._fair_deal_price

    @fair_deal_price.setter
    def fair_deal_price(self, fair_deal_price):
        """Sets the fair_deal_price of this ComparisonPoint.

        Fair Deal Price  # noqa: E501

        :param fair_deal_price: The fair_deal_price of this ComparisonPoint.  # noqa: E501
        :type: float
        """

        self._fair_deal_price = fair_deal_price

    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

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

        return self.__dict__ == other.__dict__

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