# coding: utf-8

"""
    Unofficial Degiro API

    Unofficial Degiro API  # noqa: E501

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

import pprint
import re  # noqa: F401

import six


class ClientResponseDataFirstContact(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 = {
        'first_name': 'str',
        'last_name': 'str',
        'display_name': 'str',
        'nationality': 'str',
        'gender': 'str',
        'date_of_birth': 'str',
        'place_of_birth': 'str',
        'country_of_birth': 'str'
    }

    attribute_map = {
        'first_name': 'firstName',
        'last_name': 'lastName',
        'display_name': 'displayName',
        'nationality': 'nationality',
        'gender': 'gender',
        'date_of_birth': 'dateOfBirth',
        'place_of_birth': 'placeOfBirth',
        'country_of_birth': 'countryOfBirth'
    }

    def __init__(self, first_name=None, last_name=None, display_name=None, nationality=None, gender=None, date_of_birth=None, place_of_birth=None, country_of_birth=None):  # noqa: E501
        """ClientResponseDataFirstContact - a model defined in Swagger"""  # noqa: E501
        self._first_name = None
        self._last_name = None
        self._display_name = None
        self._nationality = None
        self._gender = None
        self._date_of_birth = None
        self._place_of_birth = None
        self._country_of_birth = None
        self.discriminator = None
        if first_name is not None:
            self.first_name = first_name
        if last_name is not None:
            self.last_name = last_name
        if display_name is not None:
            self.display_name = display_name
        if nationality is not None:
            self.nationality = nationality
        if gender is not None:
            self.gender = gender
        if date_of_birth is not None:
            self.date_of_birth = date_of_birth
        if place_of_birth is not None:
            self.place_of_birth = place_of_birth
        if country_of_birth is not None:
            self.country_of_birth = country_of_birth

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


        :return: The first_name of this ClientResponseDataFirstContact.  # noqa: E501
        :rtype: str
        """
        return self._first_name

    @first_name.setter
    def first_name(self, first_name):
        """Sets the first_name of this ClientResponseDataFirstContact.


        :param first_name: The first_name of this ClientResponseDataFirstContact.  # noqa: E501
        :type: str
        """

        self._first_name = first_name

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


        :return: The last_name of this ClientResponseDataFirstContact.  # noqa: E501
        :rtype: str
        """
        return self._last_name

    @last_name.setter
    def last_name(self, last_name):
        """Sets the last_name of this ClientResponseDataFirstContact.


        :param last_name: The last_name of this ClientResponseDataFirstContact.  # noqa: E501
        :type: str
        """

        self._last_name = last_name

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


        :return: The display_name of this ClientResponseDataFirstContact.  # noqa: E501
        :rtype: str
        """
        return self._display_name

    @display_name.setter
    def display_name(self, display_name):
        """Sets the display_name of this ClientResponseDataFirstContact.


        :param display_name: The display_name of this ClientResponseDataFirstContact.  # noqa: E501
        :type: str
        """

        self._display_name = display_name

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


        :return: The nationality of this ClientResponseDataFirstContact.  # noqa: E501
        :rtype: str
        """
        return self._nationality

    @nationality.setter
    def nationality(self, nationality):
        """Sets the nationality of this ClientResponseDataFirstContact.


        :param nationality: The nationality of this ClientResponseDataFirstContact.  # noqa: E501
        :type: str
        """

        self._nationality = nationality

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


        :return: The gender of this ClientResponseDataFirstContact.  # noqa: E501
        :rtype: str
        """
        return self._gender

    @gender.setter
    def gender(self, gender):
        """Sets the gender of this ClientResponseDataFirstContact.


        :param gender: The gender of this ClientResponseDataFirstContact.  # noqa: E501
        :type: str
        """

        self._gender = gender

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


        :return: The date_of_birth of this ClientResponseDataFirstContact.  # noqa: E501
        :rtype: str
        """
        return self._date_of_birth

    @date_of_birth.setter
    def date_of_birth(self, date_of_birth):
        """Sets the date_of_birth of this ClientResponseDataFirstContact.


        :param date_of_birth: The date_of_birth of this ClientResponseDataFirstContact.  # noqa: E501
        :type: str
        """

        self._date_of_birth = date_of_birth

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


        :return: The place_of_birth of this ClientResponseDataFirstContact.  # noqa: E501
        :rtype: str
        """
        return self._place_of_birth

    @place_of_birth.setter
    def place_of_birth(self, place_of_birth):
        """Sets the place_of_birth of this ClientResponseDataFirstContact.


        :param place_of_birth: The place_of_birth of this ClientResponseDataFirstContact.  # noqa: E501
        :type: str
        """

        self._place_of_birth = place_of_birth

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


        :return: The country_of_birth of this ClientResponseDataFirstContact.  # noqa: E501
        :rtype: str
        """
        return self._country_of_birth

    @country_of_birth.setter
    def country_of_birth(self, country_of_birth):
        """Sets the country_of_birth of this ClientResponseDataFirstContact.


        :param country_of_birth: The country_of_birth of this ClientResponseDataFirstContact.  # noqa: E501
        :type: str
        """

        self._country_of_birth = country_of_birth

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

        return self.__dict__ == other.__dict__

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