# coding: utf-8

"""
    Street Manager API

    See API specification Resource Guide > Work API for more information on endpoints NOTE: Swagger Editor/UI does not display all description text for enumerations and child elements, check swagger.json for full description text  # noqa: E501

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

import pprint
import re  # noqa: F401

import six

class Section74UpdatePromoterStatusRequest(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 = {
        'internal_user_identifier': 'str',
        'internal_user_name': 'str',
        'status': 'Section74PromoterStatus',
        'site_visited_date': 'datetime',
        'additional_details': 'str',
        'reason_for_dispute': 'str'
    }

    attribute_map = {
        'internal_user_identifier': 'internal_user_identifier',
        'internal_user_name': 'internal_user_name',
        'status': 'status',
        'site_visited_date': 'site_visited_date',
        'additional_details': 'additional_details',
        'reason_for_dispute': 'reason_for_dispute'
    }

    def __init__(self, internal_user_identifier=None, internal_user_name=None, status=None, site_visited_date=None, additional_details=None, reason_for_dispute=None):  # noqa: E501
        """Section74UpdatePromoterStatusRequest - a model defined in Swagger"""  # noqa: E501
        self._internal_user_identifier = None
        self._internal_user_name = None
        self._status = None
        self._site_visited_date = None
        self._additional_details = None
        self._reason_for_dispute = None
        self.discriminator = None
        if internal_user_identifier is not None:
            self.internal_user_identifier = internal_user_identifier
        if internal_user_name is not None:
            self.internal_user_name = internal_user_name
        self.status = status
        if site_visited_date is not None:
            self.site_visited_date = site_visited_date
        if additional_details is not None:
            self.additional_details = additional_details
        if reason_for_dispute is not None:
            self.reason_for_dispute = reason_for_dispute

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

        Max length 100 characters  # noqa: E501

        :return: The internal_user_identifier of this Section74UpdatePromoterStatusRequest.  # noqa: E501
        :rtype: str
        """
        return self._internal_user_identifier

    @internal_user_identifier.setter
    def internal_user_identifier(self, internal_user_identifier):
        """Sets the internal_user_identifier of this Section74UpdatePromoterStatusRequest.

        Max length 100 characters  # noqa: E501

        :param internal_user_identifier: The internal_user_identifier of this Section74UpdatePromoterStatusRequest.  # noqa: E501
        :type: str
        """

        self._internal_user_identifier = internal_user_identifier

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

        Max length 100 characters  # noqa: E501

        :return: The internal_user_name of this Section74UpdatePromoterStatusRequest.  # noqa: E501
        :rtype: str
        """
        return self._internal_user_name

    @internal_user_name.setter
    def internal_user_name(self, internal_user_name):
        """Sets the internal_user_name of this Section74UpdatePromoterStatusRequest.

        Max length 100 characters  # noqa: E501

        :param internal_user_name: The internal_user_name of this Section74UpdatePromoterStatusRequest.  # noqa: E501
        :type: str
        """

        self._internal_user_name = internal_user_name

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


        :return: The status of this Section74UpdatePromoterStatusRequest.  # noqa: E501
        :rtype: Section74PromoterStatus
        """
        return self._status

    @status.setter
    def status(self, status):
        """Sets the status of this Section74UpdatePromoterStatusRequest.


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

        self._status = status

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

        Required when status is site_visited_and_rectified Date must be today or a date in the past  # noqa: E501

        :return: The site_visited_date of this Section74UpdatePromoterStatusRequest.  # noqa: E501
        :rtype: datetime
        """
        return self._site_visited_date

    @site_visited_date.setter
    def site_visited_date(self, site_visited_date):
        """Sets the site_visited_date of this Section74UpdatePromoterStatusRequest.

        Required when status is site_visited_and_rectified Date must be today or a date in the past  # noqa: E501

        :param site_visited_date: The site_visited_date of this Section74UpdatePromoterStatusRequest.  # noqa: E501
        :type: datetime
        """

        self._site_visited_date = site_visited_date

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

        Max length 500 characters  # noqa: E501

        :return: The additional_details of this Section74UpdatePromoterStatusRequest.  # noqa: E501
        :rtype: str
        """
        return self._additional_details

    @additional_details.setter
    def additional_details(self, additional_details):
        """Sets the additional_details of this Section74UpdatePromoterStatusRequest.

        Max length 500 characters  # noqa: E501

        :param additional_details: The additional_details of this Section74UpdatePromoterStatusRequest.  # noqa: E501
        :type: str
        """

        self._additional_details = additional_details

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

        Required when status is warning_disputed. Max length 500 characters  # noqa: E501

        :return: The reason_for_dispute of this Section74UpdatePromoterStatusRequest.  # noqa: E501
        :rtype: str
        """
        return self._reason_for_dispute

    @reason_for_dispute.setter
    def reason_for_dispute(self, reason_for_dispute):
        """Sets the reason_for_dispute of this Section74UpdatePromoterStatusRequest.

        Required when status is warning_disputed. Max length 500 characters  # noqa: E501

        :param reason_for_dispute: The reason_for_dispute of this Section74UpdatePromoterStatusRequest.  # noqa: E501
        :type: str
        """

        self._reason_for_dispute = reason_for_dispute

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

        return self.__dict__ == other.__dict__

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