# 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 ApplyScheduleSuggestionsInput(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 = {
        'id': 'str',
        'is_apply': 'bool',
        'apply_value': 'float',
        'comment': 'str'
    }

    attribute_map = {
        'id': 'id',
        'is_apply': 'isApply',
        'apply_value': 'applyValue',
        'comment': 'comment'
    }

    def __init__(self, id=None, is_apply=None, apply_value=None, comment=None, local_vars_configuration=None):  # noqa: E501
        """ApplyScheduleSuggestionsInput - 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._id = None
        self._is_apply = None
        self._apply_value = None
        self._comment = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if is_apply is not None:
            self.is_apply = is_apply
        if apply_value is not None:
            self.apply_value = apply_value
        self.comment = comment

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

        调度建议ID  # noqa: E501

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

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

        调度建议ID  # noqa: E501

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

        self._id = id

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

        是否已应用  # noqa: E501

        :return: The is_apply of this ApplyScheduleSuggestionsInput.  # noqa: E501
        :rtype: bool
        """
        return self._is_apply

    @is_apply.setter
    def is_apply(self, is_apply):
        """Sets the is_apply of this ApplyScheduleSuggestionsInput.

        是否已应用  # noqa: E501

        :param is_apply: The is_apply of this ApplyScheduleSuggestionsInput.  # noqa: E501
        :type: bool
        """

        self._is_apply = is_apply

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

        应用的值  # noqa: E501

        :return: The apply_value of this ApplyScheduleSuggestionsInput.  # noqa: E501
        :rtype: float
        """
        return self._apply_value

    @apply_value.setter
    def apply_value(self, apply_value):
        """Sets the apply_value of this ApplyScheduleSuggestionsInput.

        应用的值  # noqa: E501

        :param apply_value: The apply_value of this ApplyScheduleSuggestionsInput.  # noqa: E501
        :type: float
        """

        self._apply_value = apply_value

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

        评论  # noqa: E501

        :return: The comment of this ApplyScheduleSuggestionsInput.  # noqa: E501
        :rtype: str
        """
        return self._comment

    @comment.setter
    def comment(self, comment):
        """Sets the comment of this ApplyScheduleSuggestionsInput.

        评论  # noqa: E501

        :param comment: The comment of this ApplyScheduleSuggestionsInput.  # noqa: E501
        :type: str
        """

        self._comment = comment

    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, ApplyScheduleSuggestionsInput):
            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, ApplyScheduleSuggestionsInput):
            return True

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