# coding: utf-8

"""
    Pdf4me

    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


class ProduceDocuments(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 = {
        'documents': 'list[Document]',
        'ocr_action': 'OcrAction',
        'pdf_a_action': 'PdfAAction',
        'optimize_action': 'OptimizeAction',
        'produce_output': 'ProduceOutput',
        'ip_address': 'str',
        'job_id': 'str',
        'job_id_ext': 'str',
        'integrations': 'list[str]'
    }

    attribute_map = {
        'documents': 'documents',
        'ocr_action': 'ocrAction',
        'pdf_a_action': 'pdfAAction',
        'optimize_action': 'optimizeAction',
        'produce_output': 'produceOutput',
        'ip_address': 'ipAddress',
        'job_id': 'jobId',
        'job_id_ext': 'jobIdExt',
        'integrations': 'integrations'
    }

    def __init__(self, documents=None, ocr_action=None, pdf_a_action=None, optimize_action=None, produce_output=None, ip_address=None, job_id=None, job_id_ext=None, integrations=None):  # noqa: E501
        """ProduceDocuments - a model defined in Swagger"""  # noqa: E501

        self._documents = None
        self._ocr_action = None
        self._pdf_a_action = None
        self._optimize_action = None
        self._produce_output = None
        self._ip_address = None
        self._job_id = None
        self._job_id_ext = None
        self._integrations = None
        self.discriminator = None

        if documents is not None:
            self.documents = documents
        if ocr_action is not None:
            self.ocr_action = ocr_action
        if pdf_a_action is not None:
            self.pdf_a_action = pdf_a_action
        if optimize_action is not None:
            self.optimize_action = optimize_action
        if produce_output is not None:
            self.produce_output = produce_output
        if ip_address is not None:
            self.ip_address = ip_address
        if job_id is not None:
            self.job_id = job_id
        if job_id_ext is not None:
            self.job_id_ext = job_id_ext
        if integrations is not None:
            self.integrations = integrations

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

        Document containing the data  # noqa: E501

        :return: The documents of this ProduceDocuments.  # noqa: E501
        :rtype: list[Document]
        """
        return self._documents

    @documents.setter
    def documents(self, documents):
        """Sets the documents of this ProduceDocuments.

        Document containing the data  # noqa: E501

        :param documents: The documents of this ProduceDocuments.  # noqa: E501
        :type: list[Document]
        """

        self._documents = documents

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

        Document containing the data  # noqa: E501

        :return: The ocr_action of this ProduceDocuments.  # noqa: E501
        :rtype: OcrAction
        """
        return self._ocr_action

    @ocr_action.setter
    def ocr_action(self, ocr_action):
        """Sets the ocr_action of this ProduceDocuments.

        Document containing the data  # noqa: E501

        :param ocr_action: The ocr_action of this ProduceDocuments.  # noqa: E501
        :type: OcrAction
        """

        self._ocr_action = ocr_action

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

        Document containing the data  # noqa: E501

        :return: The pdf_a_action of this ProduceDocuments.  # noqa: E501
        :rtype: PdfAAction
        """
        return self._pdf_a_action

    @pdf_a_action.setter
    def pdf_a_action(self, pdf_a_action):
        """Sets the pdf_a_action of this ProduceDocuments.

        Document containing the data  # noqa: E501

        :param pdf_a_action: The pdf_a_action of this ProduceDocuments.  # noqa: E501
        :type: PdfAAction
        """

        self._pdf_a_action = pdf_a_action

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

        Document containing the data  # noqa: E501

        :return: The optimize_action of this ProduceDocuments.  # noqa: E501
        :rtype: OptimizeAction
        """
        return self._optimize_action

    @optimize_action.setter
    def optimize_action(self, optimize_action):
        """Sets the optimize_action of this ProduceDocuments.

        Document containing the data  # noqa: E501

        :param optimize_action: The optimize_action of this ProduceDocuments.  # noqa: E501
        :type: OptimizeAction
        """

        self._optimize_action = optimize_action

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

        Document containing the data  # noqa: E501

        :return: The produce_output of this ProduceDocuments.  # noqa: E501
        :rtype: ProduceOutput
        """
        return self._produce_output

    @produce_output.setter
    def produce_output(self, produce_output):
        """Sets the produce_output of this ProduceDocuments.

        Document containing the data  # noqa: E501

        :param produce_output: The produce_output of this ProduceDocuments.  # noqa: E501
        :type: ProduceOutput
        """

        self._produce_output = produce_output

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


        :return: The ip_address of this ProduceDocuments.  # noqa: E501
        :rtype: str
        """
        return self._ip_address

    @ip_address.setter
    def ip_address(self, ip_address):
        """Sets the ip_address of this ProduceDocuments.


        :param ip_address: The ip_address of this ProduceDocuments.  # noqa: E501
        :type: str
        """

        self._ip_address = ip_address

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


        :return: The job_id of this ProduceDocuments.  # noqa: E501
        :rtype: str
        """
        return self._job_id

    @job_id.setter
    def job_id(self, job_id):
        """Sets the job_id of this ProduceDocuments.


        :param job_id: The job_id of this ProduceDocuments.  # noqa: E501
        :type: str
        """

        self._job_id = job_id

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


        :return: The job_id_ext of this ProduceDocuments.  # noqa: E501
        :rtype: str
        """
        return self._job_id_ext

    @job_id_ext.setter
    def job_id_ext(self, job_id_ext):
        """Sets the job_id_ext of this ProduceDocuments.


        :param job_id_ext: The job_id_ext of this ProduceDocuments.  # noqa: E501
        :type: str
        """

        self._job_id_ext = job_id_ext

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


        :return: The integrations of this ProduceDocuments.  # noqa: E501
        :rtype: list[str]
        """
        return self._integrations

    @integrations.setter
    def integrations(self, integrations):
        """Sets the integrations of this ProduceDocuments.


        :param integrations: The integrations of this ProduceDocuments.  # noqa: E501
        :type: list[str]
        """

        self._integrations = integrations

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

        return self.__dict__ == other.__dict__

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