# coding: utf-8

"""
    竹园污水项目

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: 1.0.0
    Generated by: https://openapi-generator.tech
"""


import pprint
import re  # noqa: F401

import six

from dhicn_zyws_service.configuration import Configuration


class OrificeScheduleStatisticOutput(object):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    """
    Attributes:
      openapi_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.
    """
    openapi_types = {
        'factory_name': 'str',
        'opened_count_range': 'ScheduleStatisticBasic',
        'static_orifice_height': 'ScheduleStatisticBasic',
        'control_orifice_height_range': 'ScheduleStatisticBasic'
    }

    attribute_map = {
        'factory_name': 'factoryName',
        'opened_count_range': 'openedCountRange',
        'static_orifice_height': 'staticOrificeHeight',
        'control_orifice_height_range': 'controlOrificeHeightRange'
    }

    def __init__(self, factory_name=None, opened_count_range=None, static_orifice_height=None, control_orifice_height_range=None, local_vars_configuration=None):  # noqa: E501
        """OrificeScheduleStatisticOutput - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._factory_name = None
        self._opened_count_range = None
        self._static_orifice_height = None
        self._control_orifice_height_range = None
        self.discriminator = None

        self.factory_name = factory_name
        if opened_count_range is not None:
            self.opened_count_range = opened_count_range
        if static_orifice_height is not None:
            self.static_orifice_height = static_orifice_height
        if control_orifice_height_range is not None:
            self.control_orifice_height_range = control_orifice_height_range

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

        厂区名称  # noqa: E501

        :return: The factory_name of this OrificeScheduleStatisticOutput.  # noqa: E501
        :rtype: str
        """
        return self._factory_name

    @factory_name.setter
    def factory_name(self, factory_name):
        """Sets the factory_name of this OrificeScheduleStatisticOutput.

        厂区名称  # noqa: E501

        :param factory_name: The factory_name of this OrificeScheduleStatisticOutput.  # noqa: E501
        :type: str
        """

        self._factory_name = factory_name

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


        :return: The opened_count_range of this OrificeScheduleStatisticOutput.  # noqa: E501
        :rtype: ScheduleStatisticBasic
        """
        return self._opened_count_range

    @opened_count_range.setter
    def opened_count_range(self, opened_count_range):
        """Sets the opened_count_range of this OrificeScheduleStatisticOutput.


        :param opened_count_range: The opened_count_range of this OrificeScheduleStatisticOutput.  # noqa: E501
        :type: ScheduleStatisticBasic
        """

        self._opened_count_range = opened_count_range

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


        :return: The static_orifice_height of this OrificeScheduleStatisticOutput.  # noqa: E501
        :rtype: ScheduleStatisticBasic
        """
        return self._static_orifice_height

    @static_orifice_height.setter
    def static_orifice_height(self, static_orifice_height):
        """Sets the static_orifice_height of this OrificeScheduleStatisticOutput.


        :param static_orifice_height: The static_orifice_height of this OrificeScheduleStatisticOutput.  # noqa: E501
        :type: ScheduleStatisticBasic
        """

        self._static_orifice_height = static_orifice_height

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


        :return: The control_orifice_height_range of this OrificeScheduleStatisticOutput.  # noqa: E501
        :rtype: ScheduleStatisticBasic
        """
        return self._control_orifice_height_range

    @control_orifice_height_range.setter
    def control_orifice_height_range(self, control_orifice_height_range):
        """Sets the control_orifice_height_range of this OrificeScheduleStatisticOutput.


        :param control_orifice_height_range: The control_orifice_height_range of this OrificeScheduleStatisticOutput.  # noqa: E501
        :type: ScheduleStatisticBasic
        """

        self._control_orifice_height_range = control_orifice_height_range

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.openapi_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, OrificeScheduleStatisticOutput):
            return False

        return self.to_dict() == other.to_dict()

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

        return self.to_dict() != other.to_dict()
