# 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 PoiHarmer(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 = {
        'table_id': 'str',
        'constraint_id': 'str',
        'name': 'str',
        'bus_id': 'str',
        'dfax': 'str',
        'mw_change': 'str',
        'mw_impact': 'str',
        'pmax': 'str',
        'mw_gen': 'str'
    }

    attribute_map = {
        'table_id': 'tableId',
        'constraint_id': 'constraintId',
        'name': 'name',
        'bus_id': 'busId',
        'dfax': 'dfax',
        'mw_change': 'mwChange',
        'mw_impact': 'mwImpact',
        'pmax': 'pmax',
        'mw_gen': 'mwGen'
    }

    def __init__(self, table_id=None, constraint_id=None, name=None, bus_id=None, dfax=None, mw_change=None, mw_impact=None, pmax=None, mw_gen=None):  # noqa: E501
        """PoiHarmer - a model defined in Swagger"""  # noqa: E501
        self._table_id = None
        self._constraint_id = None
        self._name = None
        self._bus_id = None
        self._dfax = None
        self._mw_change = None
        self._mw_impact = None
        self._pmax = None
        self._mw_gen = None
        self.discriminator = None
        if table_id is not None:
            self.table_id = table_id
        if constraint_id is not None:
            self.constraint_id = constraint_id
        if name is not None:
            self.name = name
        if bus_id is not None:
            self.bus_id = bus_id
        if dfax is not None:
            self.dfax = dfax
        if mw_change is not None:
            self.mw_change = mw_change
        if mw_impact is not None:
            self.mw_impact = mw_impact
        if pmax is not None:
            self.pmax = pmax
        if mw_gen is not None:
            self.mw_gen = mw_gen

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


        :return: The table_id of this PoiHarmer.  # noqa: E501
        :rtype: str
        """
        return self._table_id

    @table_id.setter
    def table_id(self, table_id):
        """Sets the table_id of this PoiHarmer.


        :param table_id: The table_id of this PoiHarmer.  # noqa: E501
        :type: str
        """

        self._table_id = table_id

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


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

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


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

        self._constraint_id = constraint_id

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


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

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


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

        self._name = name

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


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

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


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

        self._bus_id = bus_id

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


        :return: The dfax of this PoiHarmer.  # noqa: E501
        :rtype: str
        """
        return self._dfax

    @dfax.setter
    def dfax(self, dfax):
        """Sets the dfax of this PoiHarmer.


        :param dfax: The dfax of this PoiHarmer.  # noqa: E501
        :type: str
        """

        self._dfax = dfax

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


        :return: The mw_change of this PoiHarmer.  # noqa: E501
        :rtype: str
        """
        return self._mw_change

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


        :param mw_change: The mw_change of this PoiHarmer.  # noqa: E501
        :type: str
        """

        self._mw_change = mw_change

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


        :return: The mw_impact of this PoiHarmer.  # noqa: E501
        :rtype: str
        """
        return self._mw_impact

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


        :param mw_impact: The mw_impact of this PoiHarmer.  # noqa: E501
        :type: str
        """

        self._mw_impact = mw_impact

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


        :return: The pmax of this PoiHarmer.  # noqa: E501
        :rtype: str
        """
        return self._pmax

    @pmax.setter
    def pmax(self, pmax):
        """Sets the pmax of this PoiHarmer.


        :param pmax: The pmax of this PoiHarmer.  # noqa: E501
        :type: str
        """

        self._pmax = pmax

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


        :return: The mw_gen of this PoiHarmer.  # noqa: E501
        :rtype: str
        """
        return self._mw_gen

    @mw_gen.setter
    def mw_gen(self, mw_gen):
        """Sets the mw_gen of this PoiHarmer.


        :param mw_gen: The mw_gen of this PoiHarmer.  # noqa: E501
        :type: str
        """

        self._mw_gen = mw_gen

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

        return self.__dict__ == other.__dict__

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