# 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 CreatePoiAnalysisParameter(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 = {
        'name': 'str',
        'heatmap_layer_name': 'str',
        'injection_area_mask_layer_name': 'str',
        'harmers_layer_name': 'str',
        'layer_id': 'str',
        'table_id': 'str',
        'footprint_layer_id': 'str',
        'transmission_lines_layer_id': 'str',
        'transmission_points_layer_id': 'str',
        'harmer_table_id': 'str',
        'stress_gen_layer_id': 'str',
        'power': 'float',
        'smoothing': 'float',
        'pixel_size': 'int',
        'buffer_size': 'int',
        'show_injection_area_mask': 'bool',
        'only_use_worst_dispatch': 'bool'
    }

    attribute_map = {
        'name': 'name',
        'heatmap_layer_name': 'heatmapLayerName',
        'injection_area_mask_layer_name': 'injectionAreaMaskLayerName',
        'harmers_layer_name': 'harmersLayerName',
        'layer_id': 'layerId',
        'table_id': 'tableId',
        'footprint_layer_id': 'footprintLayerId',
        'transmission_lines_layer_id': 'transmissionLinesLayerId',
        'transmission_points_layer_id': 'transmissionPointsLayerId',
        'harmer_table_id': 'harmerTableId',
        'stress_gen_layer_id': 'stressGenLayerId',
        'power': 'power',
        'smoothing': 'smoothing',
        'pixel_size': 'pixelSize',
        'buffer_size': 'bufferSize',
        'show_injection_area_mask': 'showInjectionAreaMask',
        'only_use_worst_dispatch': 'onlyUseWorstDispatch'
    }

    def __init__(self, name=None, heatmap_layer_name=None, injection_area_mask_layer_name=None, harmers_layer_name=None, layer_id=None, table_id=None, footprint_layer_id=None, transmission_lines_layer_id=None, transmission_points_layer_id=None, harmer_table_id=None, stress_gen_layer_id=None, power=None, smoothing=None, pixel_size=None, buffer_size=None, show_injection_area_mask=None, only_use_worst_dispatch=None):  # noqa: E501
        """CreatePoiAnalysisParameter - a model defined in Swagger"""  # noqa: E501
        self._name = None
        self._heatmap_layer_name = None
        self._injection_area_mask_layer_name = None
        self._harmers_layer_name = None
        self._layer_id = None
        self._table_id = None
        self._footprint_layer_id = None
        self._transmission_lines_layer_id = None
        self._transmission_points_layer_id = None
        self._harmer_table_id = None
        self._stress_gen_layer_id = None
        self._power = None
        self._smoothing = None
        self._pixel_size = None
        self._buffer_size = None
        self._show_injection_area_mask = None
        self._only_use_worst_dispatch = None
        self.discriminator = None
        if name is not None:
            self.name = name
        if heatmap_layer_name is not None:
            self.heatmap_layer_name = heatmap_layer_name
        if injection_area_mask_layer_name is not None:
            self.injection_area_mask_layer_name = injection_area_mask_layer_name
        if harmers_layer_name is not None:
            self.harmers_layer_name = harmers_layer_name
        if layer_id is not None:
            self.layer_id = layer_id
        if table_id is not None:
            self.table_id = table_id
        if footprint_layer_id is not None:
            self.footprint_layer_id = footprint_layer_id
        if transmission_lines_layer_id is not None:
            self.transmission_lines_layer_id = transmission_lines_layer_id
        if transmission_points_layer_id is not None:
            self.transmission_points_layer_id = transmission_points_layer_id
        if harmer_table_id is not None:
            self.harmer_table_id = harmer_table_id
        if stress_gen_layer_id is not None:
            self.stress_gen_layer_id = stress_gen_layer_id
        if power is not None:
            self.power = power
        if smoothing is not None:
            self.smoothing = smoothing
        if pixel_size is not None:
            self.pixel_size = pixel_size
        if buffer_size is not None:
            self.buffer_size = buffer_size
        if show_injection_area_mask is not None:
            self.show_injection_area_mask = show_injection_area_mask
        if only_use_worst_dispatch is not None:
            self.only_use_worst_dispatch = only_use_worst_dispatch

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


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

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


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

        self._name = name

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


        :return: The heatmap_layer_name of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: str
        """
        return self._heatmap_layer_name

    @heatmap_layer_name.setter
    def heatmap_layer_name(self, heatmap_layer_name):
        """Sets the heatmap_layer_name of this CreatePoiAnalysisParameter.


        :param heatmap_layer_name: The heatmap_layer_name of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: str
        """

        self._heatmap_layer_name = heatmap_layer_name

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


        :return: The injection_area_mask_layer_name of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: str
        """
        return self._injection_area_mask_layer_name

    @injection_area_mask_layer_name.setter
    def injection_area_mask_layer_name(self, injection_area_mask_layer_name):
        """Sets the injection_area_mask_layer_name of this CreatePoiAnalysisParameter.


        :param injection_area_mask_layer_name: The injection_area_mask_layer_name of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: str
        """

        self._injection_area_mask_layer_name = injection_area_mask_layer_name

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


        :return: The harmers_layer_name of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: str
        """
        return self._harmers_layer_name

    @harmers_layer_name.setter
    def harmers_layer_name(self, harmers_layer_name):
        """Sets the harmers_layer_name of this CreatePoiAnalysisParameter.


        :param harmers_layer_name: The harmers_layer_name of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: str
        """

        self._harmers_layer_name = harmers_layer_name

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


        :return: The layer_id of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: str
        """
        return self._layer_id

    @layer_id.setter
    def layer_id(self, layer_id):
        """Sets the layer_id of this CreatePoiAnalysisParameter.


        :param layer_id: The layer_id of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: str
        """

        self._layer_id = layer_id

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


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

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


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

        self._table_id = table_id

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


        :return: The footprint_layer_id of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: str
        """
        return self._footprint_layer_id

    @footprint_layer_id.setter
    def footprint_layer_id(self, footprint_layer_id):
        """Sets the footprint_layer_id of this CreatePoiAnalysisParameter.


        :param footprint_layer_id: The footprint_layer_id of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: str
        """

        self._footprint_layer_id = footprint_layer_id

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


        :return: The transmission_lines_layer_id of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: str
        """
        return self._transmission_lines_layer_id

    @transmission_lines_layer_id.setter
    def transmission_lines_layer_id(self, transmission_lines_layer_id):
        """Sets the transmission_lines_layer_id of this CreatePoiAnalysisParameter.


        :param transmission_lines_layer_id: The transmission_lines_layer_id of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: str
        """

        self._transmission_lines_layer_id = transmission_lines_layer_id

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


        :return: The transmission_points_layer_id of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: str
        """
        return self._transmission_points_layer_id

    @transmission_points_layer_id.setter
    def transmission_points_layer_id(self, transmission_points_layer_id):
        """Sets the transmission_points_layer_id of this CreatePoiAnalysisParameter.


        :param transmission_points_layer_id: The transmission_points_layer_id of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: str
        """

        self._transmission_points_layer_id = transmission_points_layer_id

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


        :return: The harmer_table_id of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: str
        """
        return self._harmer_table_id

    @harmer_table_id.setter
    def harmer_table_id(self, harmer_table_id):
        """Sets the harmer_table_id of this CreatePoiAnalysisParameter.


        :param harmer_table_id: The harmer_table_id of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: str
        """

        self._harmer_table_id = harmer_table_id

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


        :return: The stress_gen_layer_id of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: str
        """
        return self._stress_gen_layer_id

    @stress_gen_layer_id.setter
    def stress_gen_layer_id(self, stress_gen_layer_id):
        """Sets the stress_gen_layer_id of this CreatePoiAnalysisParameter.


        :param stress_gen_layer_id: The stress_gen_layer_id of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: str
        """

        self._stress_gen_layer_id = stress_gen_layer_id

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


        :return: The power of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: float
        """
        return self._power

    @power.setter
    def power(self, power):
        """Sets the power of this CreatePoiAnalysisParameter.


        :param power: The power of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: float
        """

        self._power = power

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


        :return: The smoothing of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: float
        """
        return self._smoothing

    @smoothing.setter
    def smoothing(self, smoothing):
        """Sets the smoothing of this CreatePoiAnalysisParameter.


        :param smoothing: The smoothing of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: float
        """

        self._smoothing = smoothing

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


        :return: The pixel_size of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: int
        """
        return self._pixel_size

    @pixel_size.setter
    def pixel_size(self, pixel_size):
        """Sets the pixel_size of this CreatePoiAnalysisParameter.


        :param pixel_size: The pixel_size of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: int
        """

        self._pixel_size = pixel_size

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


        :return: The buffer_size of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: int
        """
        return self._buffer_size

    @buffer_size.setter
    def buffer_size(self, buffer_size):
        """Sets the buffer_size of this CreatePoiAnalysisParameter.


        :param buffer_size: The buffer_size of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: int
        """

        self._buffer_size = buffer_size

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


        :return: The show_injection_area_mask of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: bool
        """
        return self._show_injection_area_mask

    @show_injection_area_mask.setter
    def show_injection_area_mask(self, show_injection_area_mask):
        """Sets the show_injection_area_mask of this CreatePoiAnalysisParameter.


        :param show_injection_area_mask: The show_injection_area_mask of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: bool
        """

        self._show_injection_area_mask = show_injection_area_mask

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


        :return: The only_use_worst_dispatch of this CreatePoiAnalysisParameter.  # noqa: E501
        :rtype: bool
        """
        return self._only_use_worst_dispatch

    @only_use_worst_dispatch.setter
    def only_use_worst_dispatch(self, only_use_worst_dispatch):
        """Sets the only_use_worst_dispatch of this CreatePoiAnalysisParameter.


        :param only_use_worst_dispatch: The only_use_worst_dispatch of this CreatePoiAnalysisParameter.  # noqa: E501
        :type: bool
        """

        self._only_use_worst_dispatch = only_use_worst_dispatch

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

        return self.__dict__ == other.__dict__

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