# 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 PoiHarmerData(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 = {
        'feature_id': 'str',
        'name': 'str',
        'kv': 'int',
        'dfax_percent': 'float',
        'mw_impact': 'float',
        'mw_change': 'float',
        'p_max': 'float',
        'p_gen': 'float',
        'bus_id': 'str',
        'constraint_id': 'str',
        'lat': 'float',
        'lon': 'float'
    }

    attribute_map = {
        'feature_id': 'featureId',
        'name': 'name',
        'kv': 'kv',
        'dfax_percent': 'dfaxPercent',
        'mw_impact': 'mwImpact',
        'mw_change': 'mwChange',
        'p_max': 'pMax',
        'p_gen': 'pGen',
        'bus_id': 'busId',
        'constraint_id': 'constraintId',
        'lat': 'lat',
        'lon': 'lon'
    }

    def __init__(self, feature_id=None, name=None, kv=None, dfax_percent=None, mw_impact=None, mw_change=None, p_max=None, p_gen=None, bus_id=None, constraint_id=None, lat=None, lon=None):  # noqa: E501
        """PoiHarmerData - a model defined in Swagger"""  # noqa: E501
        self._feature_id = None
        self._name = None
        self._kv = None
        self._dfax_percent = None
        self._mw_impact = None
        self._mw_change = None
        self._p_max = None
        self._p_gen = None
        self._bus_id = None
        self._constraint_id = None
        self._lat = None
        self._lon = None
        self.discriminator = None
        if feature_id is not None:
            self.feature_id = feature_id
        if name is not None:
            self.name = name
        if kv is not None:
            self.kv = kv
        if dfax_percent is not None:
            self.dfax_percent = dfax_percent
        if mw_impact is not None:
            self.mw_impact = mw_impact
        if mw_change is not None:
            self.mw_change = mw_change
        if p_max is not None:
            self.p_max = p_max
        if p_gen is not None:
            self.p_gen = p_gen
        if bus_id is not None:
            self.bus_id = bus_id
        if constraint_id is not None:
            self.constraint_id = constraint_id
        if lat is not None:
            self.lat = lat
        if lon is not None:
            self.lon = lon

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


        :return: The feature_id of this PoiHarmerData.  # noqa: E501
        :rtype: str
        """
        return self._feature_id

    @feature_id.setter
    def feature_id(self, feature_id):
        """Sets the feature_id of this PoiHarmerData.


        :param feature_id: The feature_id of this PoiHarmerData.  # noqa: E501
        :type: str
        """

        self._feature_id = feature_id

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


        :return: The name of this PoiHarmerData.  # noqa: E501
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name):
        """Sets the name of this PoiHarmerData.


        :param name: The name of this PoiHarmerData.  # noqa: E501
        :type: str
        """

        self._name = name

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


        :return: The kv of this PoiHarmerData.  # noqa: E501
        :rtype: int
        """
        return self._kv

    @kv.setter
    def kv(self, kv):
        """Sets the kv of this PoiHarmerData.


        :param kv: The kv of this PoiHarmerData.  # noqa: E501
        :type: int
        """

        self._kv = kv

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


        :return: The dfax_percent of this PoiHarmerData.  # noqa: E501
        :rtype: float
        """
        return self._dfax_percent

    @dfax_percent.setter
    def dfax_percent(self, dfax_percent):
        """Sets the dfax_percent of this PoiHarmerData.


        :param dfax_percent: The dfax_percent of this PoiHarmerData.  # noqa: E501
        :type: float
        """

        self._dfax_percent = dfax_percent

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


        :return: The mw_impact of this PoiHarmerData.  # noqa: E501
        :rtype: float
        """
        return self._mw_impact

    @mw_impact.setter
    def mw_impact(self, mw_impact):
        """Sets the mw_impact of this PoiHarmerData.


        :param mw_impact: The mw_impact of this PoiHarmerData.  # noqa: E501
        :type: float
        """

        self._mw_impact = mw_impact

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


        :return: The mw_change of this PoiHarmerData.  # noqa: E501
        :rtype: float
        """
        return self._mw_change

    @mw_change.setter
    def mw_change(self, mw_change):
        """Sets the mw_change of this PoiHarmerData.


        :param mw_change: The mw_change of this PoiHarmerData.  # noqa: E501
        :type: float
        """

        self._mw_change = mw_change

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


        :return: The p_max of this PoiHarmerData.  # noqa: E501
        :rtype: float
        """
        return self._p_max

    @p_max.setter
    def p_max(self, p_max):
        """Sets the p_max of this PoiHarmerData.


        :param p_max: The p_max of this PoiHarmerData.  # noqa: E501
        :type: float
        """

        self._p_max = p_max

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


        :return: The p_gen of this PoiHarmerData.  # noqa: E501
        :rtype: float
        """
        return self._p_gen

    @p_gen.setter
    def p_gen(self, p_gen):
        """Sets the p_gen of this PoiHarmerData.


        :param p_gen: The p_gen of this PoiHarmerData.  # noqa: E501
        :type: float
        """

        self._p_gen = p_gen

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


        :return: The bus_id of this PoiHarmerData.  # noqa: E501
        :rtype: str
        """
        return self._bus_id

    @bus_id.setter
    def bus_id(self, bus_id):
        """Sets the bus_id of this PoiHarmerData.


        :param bus_id: The bus_id of this PoiHarmerData.  # noqa: E501
        :type: str
        """

        self._bus_id = bus_id

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


        :return: The constraint_id of this PoiHarmerData.  # noqa: E501
        :rtype: str
        """
        return self._constraint_id

    @constraint_id.setter
    def constraint_id(self, constraint_id):
        """Sets the constraint_id of this PoiHarmerData.


        :param constraint_id: The constraint_id of this PoiHarmerData.  # noqa: E501
        :type: str
        """

        self._constraint_id = constraint_id

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


        :return: The lat of this PoiHarmerData.  # noqa: E501
        :rtype: float
        """
        return self._lat

    @lat.setter
    def lat(self, lat):
        """Sets the lat of this PoiHarmerData.


        :param lat: The lat of this PoiHarmerData.  # noqa: E501
        :type: float
        """

        self._lat = lat

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


        :return: The lon of this PoiHarmerData.  # noqa: E501
        :rtype: float
        """
        return self._lon

    @lon.setter
    def lon(self, lon):
        """Sets the lon of this PoiHarmerData.


        :param lon: The lon of this PoiHarmerData.  # noqa: E501
        :type: float
        """

        self._lon = lon

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

        return self.__dict__ == other.__dict__

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