# coding: utf-8

"""
    AristaFlowREST/LicenceManager

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

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

import pprint
import re  # noqa: F401

import six

class IlmExceptionSuppressed(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 = {
        'cause': 'IlmExceptionCause',
        'stack_trace': 'list[IlmExceptionCauseStackTrace]',
        'message': 'str',
        'localized_message': 'str'
    }

    attribute_map = {
        'cause': 'cause',
        'stack_trace': 'stackTrace',
        'message': 'message',
        'localized_message': 'localizedMessage'
    }

    def __init__(self, cause=None, stack_trace=None, message=None, localized_message=None):  # noqa: E501
        """IlmExceptionSuppressed - a model defined in Swagger"""  # noqa: E501
        self._cause = None
        self._stack_trace = None
        self._message = None
        self._localized_message = None
        if not(hasattr(self, "discriminator")) or not(self.discriminator):
            self.discriminator = None
        if cause is not None:
            self.cause = cause
        if stack_trace is not None:
            self.stack_trace = stack_trace
        if message is not None:
            self.message = message
        if localized_message is not None:
            self.localized_message = localized_message

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


        :return: The cause of this IlmExceptionSuppressed.  # noqa: E501
        :rtype: IlmExceptionCause
        """
        return self._cause

    @cause.setter
    def cause(self, cause):
        """Sets the cause of this IlmExceptionSuppressed.


        :param cause: The cause of this IlmExceptionSuppressed.  # noqa: E501
        :type: IlmExceptionCause
        """

        self._cause = cause

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


        :return: The stack_trace of this IlmExceptionSuppressed.  # noqa: E501
        :rtype: list[IlmExceptionCauseStackTrace]
        """
        return self._stack_trace

    @stack_trace.setter
    def stack_trace(self, stack_trace):
        """Sets the stack_trace of this IlmExceptionSuppressed.


        :param stack_trace: The stack_trace of this IlmExceptionSuppressed.  # noqa: E501
        :type: list[IlmExceptionCauseStackTrace]
        """

        self._stack_trace = stack_trace

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


        :return: The message of this IlmExceptionSuppressed.  # noqa: E501
        :rtype: str
        """
        return self._message

    @message.setter
    def message(self, message):
        """Sets the message of this IlmExceptionSuppressed.


        :param message: The message of this IlmExceptionSuppressed.  # noqa: E501
        :type: str
        """

        self._message = message

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


        :return: The localized_message of this IlmExceptionSuppressed.  # noqa: E501
        :rtype: str
        """
        return self._localized_message

    @localized_message.setter
    def localized_message(self, localized_message):
        """Sets the localized_message of this IlmExceptionSuppressed.


        :param localized_message: The localized_message of this IlmExceptionSuppressed.  # noqa: E501
        :type: str
        """

        self._localized_message = localized_message

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

        return self.__dict__ == other.__dict__

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