# coding: utf-8

"""
    Street Manager Party API

    See API specification Resource Guide > Party 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 WorkstreamUpdateRequest(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',
        'name': 'str',
        'description': 'str',
        'contact_name': 'str',
        'contact_number': 'str',
        'contact_email': 'str',
        'emergency_contact_name': 'str',
        'emergency_contact_number': 'str'
    }

    attribute_map = {
        'internal_user_identifier': 'internal_user_identifier',
        'internal_user_name': 'internal_user_name',
        'name': 'name',
        'description': 'description',
        'contact_name': 'contact_name',
        'contact_number': 'contact_number',
        'contact_email': 'contact_email',
        'emergency_contact_name': 'emergency_contact_name',
        'emergency_contact_number': 'emergency_contact_number'
    }

    def __init__(self, internal_user_identifier=None, internal_user_name=None, name=None, description=None, contact_name=None, contact_number=None, contact_email=None, emergency_contact_name=None, emergency_contact_number=None):  # noqa: E501
        """WorkstreamUpdateRequest - a model defined in Swagger"""  # noqa: E501
        self._internal_user_identifier = None
        self._internal_user_name = None
        self._name = None
        self._description = None
        self._contact_name = None
        self._contact_number = None
        self._contact_email = None
        self._emergency_contact_name = None
        self._emergency_contact_number = 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.name = name
        if description is not None:
            self.description = description
        if contact_name is not None:
            self.contact_name = contact_name
        if contact_number is not None:
            self.contact_number = contact_number
        if contact_email is not None:
            self.contact_email = contact_email
        if emergency_contact_name is not None:
            self.emergency_contact_name = emergency_contact_name
        if emergency_contact_number is not None:
            self.emergency_contact_number = emergency_contact_number

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

        Max length 100 characters  # noqa: E501

        :return: The internal_user_identifier of this WorkstreamUpdateRequest.  # 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 WorkstreamUpdateRequest.

        Max length 100 characters  # noqa: E501

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

        self._internal_user_identifier = internal_user_identifier

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

        Max length 100 characters  # noqa: E501

        :return: The internal_user_name of this WorkstreamUpdateRequest.  # 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 WorkstreamUpdateRequest.

        Max length 100 characters  # noqa: E501

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

        self._internal_user_name = internal_user_name

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

        Max length 60 characters  # noqa: E501

        :return: The name of this WorkstreamUpdateRequest.  # noqa: E501
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name):
        """Sets the name of this WorkstreamUpdateRequest.

        Max length 60 characters  # noqa: E501

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

        self._name = name

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

        Max length 500 characters  # noqa: E501

        :return: The description of this WorkstreamUpdateRequest.  # noqa: E501
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description):
        """Sets the description of this WorkstreamUpdateRequest.

        Max length 500 characters  # noqa: E501

        :param description: The description of this WorkstreamUpdateRequest.  # noqa: E501
        :type: str
        """

        self._description = description

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

        Max length 50 characters  # noqa: E501

        :return: The contact_name of this WorkstreamUpdateRequest.  # noqa: E501
        :rtype: str
        """
        return self._contact_name

    @contact_name.setter
    def contact_name(self, contact_name):
        """Sets the contact_name of this WorkstreamUpdateRequest.

        Max length 50 characters  # noqa: E501

        :param contact_name: The contact_name of this WorkstreamUpdateRequest.  # noqa: E501
        :type: str
        """

        self._contact_name = contact_name

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

        Max length 20 characters  # noqa: E501

        :return: The contact_number of this WorkstreamUpdateRequest.  # noqa: E501
        :rtype: str
        """
        return self._contact_number

    @contact_number.setter
    def contact_number(self, contact_number):
        """Sets the contact_number of this WorkstreamUpdateRequest.

        Max length 20 characters  # noqa: E501

        :param contact_number: The contact_number of this WorkstreamUpdateRequest.  # noqa: E501
        :type: str
        """

        self._contact_number = contact_number

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

        Max length 320 characters  # noqa: E501

        :return: The contact_email of this WorkstreamUpdateRequest.  # noqa: E501
        :rtype: str
        """
        return self._contact_email

    @contact_email.setter
    def contact_email(self, contact_email):
        """Sets the contact_email of this WorkstreamUpdateRequest.

        Max length 320 characters  # noqa: E501

        :param contact_email: The contact_email of this WorkstreamUpdateRequest.  # noqa: E501
        :type: str
        """

        self._contact_email = contact_email

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

        Max length 100 characters  # noqa: E501

        :return: The emergency_contact_name of this WorkstreamUpdateRequest.  # noqa: E501
        :rtype: str
        """
        return self._emergency_contact_name

    @emergency_contact_name.setter
    def emergency_contact_name(self, emergency_contact_name):
        """Sets the emergency_contact_name of this WorkstreamUpdateRequest.

        Max length 100 characters  # noqa: E501

        :param emergency_contact_name: The emergency_contact_name of this WorkstreamUpdateRequest.  # noqa: E501
        :type: str
        """

        self._emergency_contact_name = emergency_contact_name

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

        Max length 100 characters  # noqa: E501

        :return: The emergency_contact_number of this WorkstreamUpdateRequest.  # noqa: E501
        :rtype: str
        """
        return self._emergency_contact_number

    @emergency_contact_number.setter
    def emergency_contact_number(self, emergency_contact_number):
        """Sets the emergency_contact_number of this WorkstreamUpdateRequest.

        Max length 100 characters  # noqa: E501

        :param emergency_contact_number: The emergency_contact_number of this WorkstreamUpdateRequest.  # noqa: E501
        :type: str
        """

        self._emergency_contact_number = emergency_contact_number

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

        return self.__dict__ == other.__dict__

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