# coding: utf-8

"""
    Netilion API Documentation

    Welcome to the Netilion API Documentation, which provides interactive access and documentation to our REST API. Please visit our developer portal for further instructions and information: https://developer.netilion.endress.com/   # noqa: E501

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

import pprint
import re  # noqa: F401

import six

class ProductResponseLinks(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 = {
        'purchase_orders': 'Link',
        'quotations': 'Link',
        'categories': 'Link',
        'documents': 'Link',
        'pictures': 'Link',
        'specifications': 'Link',
        'health_conditions': 'Link',
        'softwares': 'Link',
        'spare_parts': 'Link'
    }

    attribute_map = {
        'purchase_orders': 'purchase_orders',
        'quotations': 'quotations',
        'categories': 'categories',
        'documents': 'documents',
        'pictures': 'pictures',
        'specifications': 'specifications',
        'health_conditions': 'health_conditions',
        'softwares': 'softwares',
        'spare_parts': 'spare_parts'
    }

    def __init__(self, purchase_orders=None, quotations=None, categories=None, documents=None, pictures=None, specifications=None, health_conditions=None, softwares=None, spare_parts=None):  # noqa: E501
        """ProductResponseLinks - a model defined in Swagger"""  # noqa: E501
        self._purchase_orders = None
        self._quotations = None
        self._categories = None
        self._documents = None
        self._pictures = None
        self._specifications = None
        self._health_conditions = None
        self._softwares = None
        self._spare_parts = None
        self.discriminator = None
        if purchase_orders is not None:
            self.purchase_orders = purchase_orders
        if quotations is not None:
            self.quotations = quotations
        if categories is not None:
            self.categories = categories
        if documents is not None:
            self.documents = documents
        if pictures is not None:
            self.pictures = pictures
        if specifications is not None:
            self.specifications = specifications
        if health_conditions is not None:
            self.health_conditions = health_conditions
        if softwares is not None:
            self.softwares = softwares
        if spare_parts is not None:
            self.spare_parts = spare_parts

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


        :return: The purchase_orders of this ProductResponseLinks.  # noqa: E501
        :rtype: Link
        """
        return self._purchase_orders

    @purchase_orders.setter
    def purchase_orders(self, purchase_orders):
        """Sets the purchase_orders of this ProductResponseLinks.


        :param purchase_orders: The purchase_orders of this ProductResponseLinks.  # noqa: E501
        :type: Link
        """

        self._purchase_orders = purchase_orders

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


        :return: The quotations of this ProductResponseLinks.  # noqa: E501
        :rtype: Link
        """
        return self._quotations

    @quotations.setter
    def quotations(self, quotations):
        """Sets the quotations of this ProductResponseLinks.


        :param quotations: The quotations of this ProductResponseLinks.  # noqa: E501
        :type: Link
        """

        self._quotations = quotations

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


        :return: The categories of this ProductResponseLinks.  # noqa: E501
        :rtype: Link
        """
        return self._categories

    @categories.setter
    def categories(self, categories):
        """Sets the categories of this ProductResponseLinks.


        :param categories: The categories of this ProductResponseLinks.  # noqa: E501
        :type: Link
        """

        self._categories = categories

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


        :return: The documents of this ProductResponseLinks.  # noqa: E501
        :rtype: Link
        """
        return self._documents

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


        :param documents: The documents of this ProductResponseLinks.  # noqa: E501
        :type: Link
        """

        self._documents = documents

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


        :return: The pictures of this ProductResponseLinks.  # noqa: E501
        :rtype: Link
        """
        return self._pictures

    @pictures.setter
    def pictures(self, pictures):
        """Sets the pictures of this ProductResponseLinks.


        :param pictures: The pictures of this ProductResponseLinks.  # noqa: E501
        :type: Link
        """

        self._pictures = pictures

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


        :return: The specifications of this ProductResponseLinks.  # noqa: E501
        :rtype: Link
        """
        return self._specifications

    @specifications.setter
    def specifications(self, specifications):
        """Sets the specifications of this ProductResponseLinks.


        :param specifications: The specifications of this ProductResponseLinks.  # noqa: E501
        :type: Link
        """

        self._specifications = specifications

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


        :return: The health_conditions of this ProductResponseLinks.  # noqa: E501
        :rtype: Link
        """
        return self._health_conditions

    @health_conditions.setter
    def health_conditions(self, health_conditions):
        """Sets the health_conditions of this ProductResponseLinks.


        :param health_conditions: The health_conditions of this ProductResponseLinks.  # noqa: E501
        :type: Link
        """

        self._health_conditions = health_conditions

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


        :return: The softwares of this ProductResponseLinks.  # noqa: E501
        :rtype: Link
        """
        return self._softwares

    @softwares.setter
    def softwares(self, softwares):
        """Sets the softwares of this ProductResponseLinks.


        :param softwares: The softwares of this ProductResponseLinks.  # noqa: E501
        :type: Link
        """

        self._softwares = softwares

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


        :return: The spare_parts of this ProductResponseLinks.  # noqa: E501
        :rtype: Link
        """
        return self._spare_parts

    @spare_parts.setter
    def spare_parts(self, spare_parts):
        """Sets the spare_parts of this ProductResponseLinks.


        :param spare_parts: The spare_parts of this ProductResponseLinks.  # noqa: E501
        :type: Link
        """

        self._spare_parts = spare_parts

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

        return self.__dict__ == other.__dict__

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