# coding: utf-8

"""
    Relias API

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

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


import pprint
import re  # noqa: F401

import six

from relias_api_client.configuration import Configuration


class BehavioralResult(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 = {
        'job_fit': 'int',
        'invalid_results_warning': 'bool',
        'completion_date': 'datetime',
        'assessment_id': 'int',
        'assessment_name': 'str',
        'results_url': 'str'
    }

    attribute_map = {
        'job_fit': 'jobFit',
        'invalid_results_warning': 'invalidResultsWarning',
        'completion_date': 'completionDate',
        'assessment_id': 'assessmentId',
        'assessment_name': 'assessmentName',
        'results_url': 'resultsUrl'
    }

    def __init__(self, job_fit=None, invalid_results_warning=None, completion_date=None, assessment_id=None, assessment_name=None, results_url=None, _configuration=None):  # noqa: E501
        """BehavioralResult - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._job_fit = None
        self._invalid_results_warning = None
        self._completion_date = None
        self._assessment_id = None
        self._assessment_name = None
        self._results_url = None
        self.discriminator = None

        if job_fit is not None:
            self.job_fit = job_fit
        if invalid_results_warning is not None:
            self.invalid_results_warning = invalid_results_warning
        if completion_date is not None:
            self.completion_date = completion_date
        if assessment_id is not None:
            self.assessment_id = assessment_id
        if assessment_name is not None:
            self.assessment_name = assessment_name
        if results_url is not None:
            self.results_url = results_url

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


        :return: The job_fit of this BehavioralResult.  # noqa: E501
        :rtype: int
        """
        return self._job_fit

    @job_fit.setter
    def job_fit(self, job_fit):
        """Sets the job_fit of this BehavioralResult.


        :param job_fit: The job_fit of this BehavioralResult.  # noqa: E501
        :type: int
        """

        self._job_fit = job_fit

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


        :return: The invalid_results_warning of this BehavioralResult.  # noqa: E501
        :rtype: bool
        """
        return self._invalid_results_warning

    @invalid_results_warning.setter
    def invalid_results_warning(self, invalid_results_warning):
        """Sets the invalid_results_warning of this BehavioralResult.


        :param invalid_results_warning: The invalid_results_warning of this BehavioralResult.  # noqa: E501
        :type: bool
        """

        self._invalid_results_warning = invalid_results_warning

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


        :return: The completion_date of this BehavioralResult.  # noqa: E501
        :rtype: datetime
        """
        return self._completion_date

    @completion_date.setter
    def completion_date(self, completion_date):
        """Sets the completion_date of this BehavioralResult.


        :param completion_date: The completion_date of this BehavioralResult.  # noqa: E501
        :type: datetime
        """

        self._completion_date = completion_date

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


        :return: The assessment_id of this BehavioralResult.  # noqa: E501
        :rtype: int
        """
        return self._assessment_id

    @assessment_id.setter
    def assessment_id(self, assessment_id):
        """Sets the assessment_id of this BehavioralResult.


        :param assessment_id: The assessment_id of this BehavioralResult.  # noqa: E501
        :type: int
        """

        self._assessment_id = assessment_id

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


        :return: The assessment_name of this BehavioralResult.  # noqa: E501
        :rtype: str
        """
        return self._assessment_name

    @assessment_name.setter
    def assessment_name(self, assessment_name):
        """Sets the assessment_name of this BehavioralResult.


        :param assessment_name: The assessment_name of this BehavioralResult.  # noqa: E501
        :type: str
        """

        self._assessment_name = assessment_name

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


        :return: The results_url of this BehavioralResult.  # noqa: E501
        :rtype: str
        """
        return self._results_url

    @results_url.setter
    def results_url(self, results_url):
        """Sets the results_url of this BehavioralResult.


        :param results_url: The results_url of this BehavioralResult.  # noqa: E501
        :type: str
        """

        self._results_url = results_url

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

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