# coding: utf-8

"""
    Aron API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: 1.0.0
    Generated by: https://openapi-generator.tech
"""


try:
    from inspect import getfullargspec
except ImportError:
    from inspect import getargspec as getfullargspec
import pprint
import re  # noqa: F401
import six

from openapi_client.configuration import Configuration


class OrmLLMKnowledgeJobEdges(object):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    """
    Attributes:
      openapi_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.
    """
    openapi_types = {
        'created_by': 'OrmUser',
        'llm_documents': 'list[OrmLLMDocument]',
        'llm_knowledge': 'OrmLLMKnowledge',
        'run_execution': 'OrmRunExecution'
    }

    attribute_map = {
        'created_by': 'created_by',
        'llm_documents': 'llm_documents',
        'llm_knowledge': 'llm_knowledge',
        'run_execution': 'run_execution'
    }

    def __init__(self, created_by=None, llm_documents=None, llm_knowledge=None, run_execution=None, local_vars_configuration=None):  # noqa: E501
        """OrmLLMKnowledgeJobEdges - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration.get_default_copy()
        self.local_vars_configuration = local_vars_configuration

        self._created_by = None
        self._llm_documents = None
        self._llm_knowledge = None
        self._run_execution = None
        self.discriminator = None

        if created_by is not None:
            self.created_by = created_by
        if llm_documents is not None:
            self.llm_documents = llm_documents
        if llm_knowledge is not None:
            self.llm_knowledge = llm_knowledge
        if run_execution is not None:
            self.run_execution = run_execution

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


        :return: The created_by of this OrmLLMKnowledgeJobEdges.  # noqa: E501
        :rtype: OrmUser
        """
        return self._created_by

    @created_by.setter
    def created_by(self, created_by):
        """Sets the created_by of this OrmLLMKnowledgeJobEdges.


        :param created_by: The created_by of this OrmLLMKnowledgeJobEdges.  # noqa: E501
        :type created_by: OrmUser
        """

        self._created_by = created_by

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


        :return: The llm_documents of this OrmLLMKnowledgeJobEdges.  # noqa: E501
        :rtype: list[OrmLLMDocument]
        """
        return self._llm_documents

    @llm_documents.setter
    def llm_documents(self, llm_documents):
        """Sets the llm_documents of this OrmLLMKnowledgeJobEdges.


        :param llm_documents: The llm_documents of this OrmLLMKnowledgeJobEdges.  # noqa: E501
        :type llm_documents: list[OrmLLMDocument]
        """

        self._llm_documents = llm_documents

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


        :return: The llm_knowledge of this OrmLLMKnowledgeJobEdges.  # noqa: E501
        :rtype: OrmLLMKnowledge
        """
        return self._llm_knowledge

    @llm_knowledge.setter
    def llm_knowledge(self, llm_knowledge):
        """Sets the llm_knowledge of this OrmLLMKnowledgeJobEdges.


        :param llm_knowledge: The llm_knowledge of this OrmLLMKnowledgeJobEdges.  # noqa: E501
        :type llm_knowledge: OrmLLMKnowledge
        """

        self._llm_knowledge = llm_knowledge

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


        :return: The run_execution of this OrmLLMKnowledgeJobEdges.  # noqa: E501
        :rtype: OrmRunExecution
        """
        return self._run_execution

    @run_execution.setter
    def run_execution(self, run_execution):
        """Sets the run_execution of this OrmLLMKnowledgeJobEdges.


        :param run_execution: The run_execution of this OrmLLMKnowledgeJobEdges.  # noqa: E501
        :type run_execution: OrmRunExecution
        """

        self._run_execution = run_execution

    def to_dict(self, serialize=False):
        """Returns the model properties as a dict"""
        result = {}

        def convert(x):
            if hasattr(x, "to_dict"):
                args = getfullargspec(x.to_dict).args
                if len(args) == 1:
                    return x.to_dict()
                else:
                    return x.to_dict(serialize)
            else:
                return x

        for attr, _ in six.iteritems(self.openapi_types):
            value = getattr(self, attr)
            attr = self.attribute_map.get(attr, attr) if serialize else attr
            if isinstance(value, list):
                result[attr] = list(map(
                    lambda x: convert(x),
                    value
                ))
            elif isinstance(value, dict):
                result[attr] = dict(map(
                    lambda item: (item[0], convert(item[1])),
                    value.items()
                ))
            else:
                result[attr] = convert(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, OrmLLMKnowledgeJobEdges):
            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, OrmLLMKnowledgeJobEdges):
            return True

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