<filename>8/swagger_client/models/analogy_response_entity.py
# coding: utf-8

"""
    Word2Vec APIs

    Word2Vec.<BR />[Endpoint] https://api.apitore.com/api/8  # noqa: E501

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


import pprint
import re  # noqa: F401

import six


class AnalogyResponseEntity(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 = {
        'analogies': 'list[str]',
        'end_time': 'str',
        'log': 'str',
        'negatives': 'str',
        'num': 'str',
        'positives': 'str',
        'process_time': 'str',
        'start_time': 'str'
    }

    attribute_map = {
        'analogies': 'analogies',
        'end_time': 'endTime',
        'log': 'log',
        'negatives': 'negatives',
        'num': 'num',
        'positives': 'positives',
        'process_time': 'processTime',
        'start_time': 'startTime'
    }

    def __init__(self, analogies=None, end_time=None, log=None, negatives=None, num=None, positives=None, process_time=None, start_time=None):  # noqa: E501
        """AnalogyResponseEntity - a model defined in Swagger"""  # noqa: E501

        self._analogies = None
        self._end_time = None
        self._log = None
        self._negatives = None
        self._num = None
        self._positives = None
        self._process_time = None
        self._start_time = None
        self.discriminator = None

        if analogies is not None:
            self.analogies = analogies
        self.end_time = end_time
        self.log = log
        self.negatives = negatives
        self.num = num
        self.positives = positives
        self.process_time = process_time
        self.start_time = start_time

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

        Analogies  # noqa: E501

        :return: The analogies of this AnalogyResponseEntity.  # noqa: E501
        :rtype: list[str]
        """
        return self._analogies

    @analogies.setter
    def analogies(self, analogies):
        """Sets the analogies of this AnalogyResponseEntity.

        Analogies  # noqa: E501

        :param analogies: The analogies of this AnalogyResponseEntity.  # noqa: E501
        :type: list[str]
        """

        self._analogies = analogies

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

        End date  # noqa: E501

        :return: The end_time of this AnalogyResponseEntity.  # noqa: E501
        :rtype: str
        """
        return self._end_time

    @end_time.setter
    def end_time(self, end_time):
        """Sets the end_time of this AnalogyResponseEntity.

        End date  # noqa: E501

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

        self._end_time = end_time

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

        Log message  # noqa: E501

        :return: The log of this AnalogyResponseEntity.  # noqa: E501
        :rtype: str
        """
        return self._log

    @log.setter
    def log(self, log):
        """Sets the log of this AnalogyResponseEntity.

        Log message  # noqa: E501

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

        self._log = log

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

        Input negatives  # noqa: E501

        :return: The negatives of this AnalogyResponseEntity.  # noqa: E501
        :rtype: str
        """
        return self._negatives

    @negatives.setter
    def negatives(self, negatives):
        """Sets the negatives of this AnalogyResponseEntity.

        Input negatives  # noqa: E501

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

        self._negatives = negatives

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

        Input num  # noqa: E501

        :return: The num of this AnalogyResponseEntity.  # noqa: E501
        :rtype: str
        """
        return self._num

    @num.setter
    def num(self, num):
        """Sets the num of this AnalogyResponseEntity.

        Input num  # noqa: E501

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

        self._num = num

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

        Input positives  # noqa: E501

        :return: The positives of this AnalogyResponseEntity.  # noqa: E501
        :rtype: str
        """
        return self._positives

    @positives.setter
    def positives(self, positives):
        """Sets the positives of this AnalogyResponseEntity.

        Input positives  # noqa: E501

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

        self._positives = positives

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

        Process time [millisecond]  # noqa: E501

        :return: The process_time of this AnalogyResponseEntity.  # noqa: E501
        :rtype: str
        """
        return self._process_time

    @process_time.setter
    def process_time(self, process_time):
        """Sets the process_time of this AnalogyResponseEntity.

        Process time [millisecond]  # noqa: E501

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

        self._process_time = process_time

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

        Start date  # noqa: E501

        :return: The start_time of this AnalogyResponseEntity.  # noqa: E501
        :rtype: str
        """
        return self._start_time

    @start_time.setter
    def start_time(self, start_time):
        """Sets the start_time of this AnalogyResponseEntity.

        Start date  # noqa: E501

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

        self._start_time = start_time

    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

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

        return self.__dict__ == other.__dict__

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