# 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 PoiAnalysisScenario(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',
        'scenario': 'str',
        'year': 'float',
        'case_type': 'str',
        'cluster': 'str',
        'subcluster': 'str',
        'is_pregenerated': 'bool',
        'is_valid': 'bool'
    }

    attribute_map = {
        'id': 'id',
        'scenario': 'scenario',
        'year': 'year',
        'case_type': 'caseType',
        'cluster': 'cluster',
        'subcluster': 'subcluster',
        'is_pregenerated': 'isPregenerated',
        'is_valid': 'isValid'
    }

    def __init__(self, id=None, scenario=None, year=None, case_type=None, cluster=None, subcluster=None, is_pregenerated=None, is_valid=None):  # noqa: E501
        """PoiAnalysisScenario - a model defined in Swagger"""  # noqa: E501
        self._id = None
        self._scenario = None
        self._year = None
        self._case_type = None
        self._cluster = None
        self._subcluster = None
        self._is_pregenerated = None
        self._is_valid = None
        self.discriminator = None
        if id is not None:
            self.id = id
        if scenario is not None:
            self.scenario = scenario
        if year is not None:
            self.year = year
        if case_type is not None:
            self.case_type = case_type
        if cluster is not None:
            self.cluster = cluster
        if subcluster is not None:
            self.subcluster = subcluster
        if is_pregenerated is not None:
            self.is_pregenerated = is_pregenerated
        if is_valid is not None:
            self.is_valid = is_valid

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


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

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


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

        self._id = id

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


        :return: The scenario of this PoiAnalysisScenario.  # noqa: E501
        :rtype: str
        """
        return self._scenario

    @scenario.setter
    def scenario(self, scenario):
        """Sets the scenario of this PoiAnalysisScenario.


        :param scenario: The scenario of this PoiAnalysisScenario.  # noqa: E501
        :type: str
        """

        self._scenario = scenario

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


        :return: The year of this PoiAnalysisScenario.  # noqa: E501
        :rtype: float
        """
        return self._year

    @year.setter
    def year(self, year):
        """Sets the year of this PoiAnalysisScenario.


        :param year: The year of this PoiAnalysisScenario.  # noqa: E501
        :type: float
        """

        self._year = year

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


        :return: The case_type of this PoiAnalysisScenario.  # noqa: E501
        :rtype: str
        """
        return self._case_type

    @case_type.setter
    def case_type(self, case_type):
        """Sets the case_type of this PoiAnalysisScenario.


        :param case_type: The case_type of this PoiAnalysisScenario.  # noqa: E501
        :type: str
        """

        self._case_type = case_type

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


        :return: The cluster of this PoiAnalysisScenario.  # noqa: E501
        :rtype: str
        """
        return self._cluster

    @cluster.setter
    def cluster(self, cluster):
        """Sets the cluster of this PoiAnalysisScenario.


        :param cluster: The cluster of this PoiAnalysisScenario.  # noqa: E501
        :type: str
        """

        self._cluster = cluster

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


        :return: The subcluster of this PoiAnalysisScenario.  # noqa: E501
        :rtype: str
        """
        return self._subcluster

    @subcluster.setter
    def subcluster(self, subcluster):
        """Sets the subcluster of this PoiAnalysisScenario.


        :param subcluster: The subcluster of this PoiAnalysisScenario.  # noqa: E501
        :type: str
        """

        self._subcluster = subcluster

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


        :return: The is_pregenerated of this PoiAnalysisScenario.  # noqa: E501
        :rtype: bool
        """
        return self._is_pregenerated

    @is_pregenerated.setter
    def is_pregenerated(self, is_pregenerated):
        """Sets the is_pregenerated of this PoiAnalysisScenario.


        :param is_pregenerated: The is_pregenerated of this PoiAnalysisScenario.  # noqa: E501
        :type: bool
        """

        self._is_pregenerated = is_pregenerated

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


        :return: The is_valid of this PoiAnalysisScenario.  # noqa: E501
        :rtype: bool
        """
        return self._is_valid

    @is_valid.setter
    def is_valid(self, is_valid):
        """Sets the is_valid of this PoiAnalysisScenario.


        :param is_valid: The is_valid of this PoiAnalysisScenario.  # noqa: E501
        :type: bool
        """

        self._is_valid = is_valid

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

        return self.__dict__ == other.__dict__

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