# coding: utf-8

"""
    EVE Swagger Interface

    An OpenAPI for EVE Online  # noqa: E501

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


import pprint
import re  # noqa: F401

import six


class GetIndustryFacilities200Ok(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 = {
        'facility_id': 'int',
        'tax': 'float',
        'owner_id': 'int',
        'type_id': 'int',
        'solar_system_id': 'int',
        'region_id': 'int'
    }

    attribute_map = {
        'facility_id': 'facility_id',
        'tax': 'tax',
        'owner_id': 'owner_id',
        'type_id': 'type_id',
        'solar_system_id': 'solar_system_id',
        'region_id': 'region_id'
    }

    def __init__(self, facility_id=None, tax=None, owner_id=None, type_id=None, solar_system_id=None, region_id=None):  # noqa: E501
        """GetIndustryFacilities200Ok - a model defined in Swagger"""  # noqa: E501

        self._facility_id = None
        self._tax = None
        self._owner_id = None
        self._type_id = None
        self._solar_system_id = None
        self._region_id = None
        self.discriminator = None

        self.facility_id = facility_id
        if tax is not None:
            self.tax = tax
        self.owner_id = owner_id
        self.type_id = type_id
        self.solar_system_id = solar_system_id
        self.region_id = region_id

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

        ID of the facility  # noqa: E501

        :return: The facility_id of this GetIndustryFacilities200Ok.  # noqa: E501
        :rtype: int
        """
        return self._facility_id

    @facility_id.setter
    def facility_id(self, facility_id):
        """Sets the facility_id of this GetIndustryFacilities200Ok.

        ID of the facility  # noqa: E501

        :param facility_id: The facility_id of this GetIndustryFacilities200Ok.  # noqa: E501
        :type: int
        """
        if facility_id is None:
            raise ValueError("Invalid value for `facility_id`, must not be `None`")  # noqa: E501

        self._facility_id = facility_id

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

        Tax imposed by the facility  # noqa: E501

        :return: The tax of this GetIndustryFacilities200Ok.  # noqa: E501
        :rtype: float
        """
        return self._tax

    @tax.setter
    def tax(self, tax):
        """Sets the tax of this GetIndustryFacilities200Ok.

        Tax imposed by the facility  # noqa: E501

        :param tax: The tax of this GetIndustryFacilities200Ok.  # noqa: E501
        :type: float
        """

        self._tax = tax

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

        Owner of the facility  # noqa: E501

        :return: The owner_id of this GetIndustryFacilities200Ok.  # noqa: E501
        :rtype: int
        """
        return self._owner_id

    @owner_id.setter
    def owner_id(self, owner_id):
        """Sets the owner_id of this GetIndustryFacilities200Ok.

        Owner of the facility  # noqa: E501

        :param owner_id: The owner_id of this GetIndustryFacilities200Ok.  # noqa: E501
        :type: int
        """
        if owner_id is None:
            raise ValueError("Invalid value for `owner_id`, must not be `None`")  # noqa: E501

        self._owner_id = owner_id

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

        Type ID of the facility  # noqa: E501

        :return: The type_id of this GetIndustryFacilities200Ok.  # noqa: E501
        :rtype: int
        """
        return self._type_id

    @type_id.setter
    def type_id(self, type_id):
        """Sets the type_id of this GetIndustryFacilities200Ok.

        Type ID of the facility  # noqa: E501

        :param type_id: The type_id of this GetIndustryFacilities200Ok.  # noqa: E501
        :type: int
        """
        if type_id is None:
            raise ValueError("Invalid value for `type_id`, must not be `None`")  # noqa: E501

        self._type_id = type_id

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

        Solar system ID where the facility is  # noqa: E501

        :return: The solar_system_id of this GetIndustryFacilities200Ok.  # noqa: E501
        :rtype: int
        """
        return self._solar_system_id

    @solar_system_id.setter
    def solar_system_id(self, solar_system_id):
        """Sets the solar_system_id of this GetIndustryFacilities200Ok.

        Solar system ID where the facility is  # noqa: E501

        :param solar_system_id: The solar_system_id of this GetIndustryFacilities200Ok.  # noqa: E501
        :type: int
        """
        if solar_system_id is None:
            raise ValueError("Invalid value for `solar_system_id`, must not be `None`")  # noqa: E501

        self._solar_system_id = solar_system_id

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

        Region ID where the facility is  # noqa: E501

        :return: The region_id of this GetIndustryFacilities200Ok.  # noqa: E501
        :rtype: int
        """
        return self._region_id

    @region_id.setter
    def region_id(self, region_id):
        """Sets the region_id of this GetIndustryFacilities200Ok.

        Region ID where the facility is  # noqa: E501

        :param region_id: The region_id of this GetIndustryFacilities200Ok.  # noqa: E501
        :type: int
        """
        if region_id is None:
            raise ValueError("Invalid value for `region_id`, must not be `None`")  # noqa: E501

        self._region_id = region_id

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

        return self.__dict__ == other.__dict__

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