# coding: utf-8

"""
    Seeq REST API

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

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

from pprint import pformat
from six import iteritems
import re


class AssistantStatusV1(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 = {
        'available': 'bool',
        'enabled': 'bool',
        'message': 'str'
    }

    attribute_map = {
        'available': 'available',
        'enabled': 'enabled',
        'message': 'message'
    }

    def __init__(self, available=None, enabled=None, message=None):
        """
        AssistantStatusV1 - a model defined in Swagger
        """

        self._available = None
        self._enabled = None
        self._message = None

        if available is not None:
          self.available = available
        if enabled is not None:
          self.enabled = enabled
        if message is not None:
          self.message = message

    @property
    def available(self):
        """
        Gets the available of this AssistantStatusV1.
        True if the assistant service is up and running and available to take requests.

        :return: The available of this AssistantStatusV1.
        :rtype: bool
        """
        return self._available

    @available.setter
    def available(self, available):
        """
        Sets the available of this AssistantStatusV1.
        True if the assistant service is up and running and available to take requests.

        :param available: The available of this AssistantStatusV1.
        :type: bool
        """

        self._available = available

    @property
    def enabled(self):
        """
        Gets the enabled of this AssistantStatusV1.
        True if the assistant is enabled and the access key is valid.

        :return: The enabled of this AssistantStatusV1.
        :rtype: bool
        """
        return self._enabled

    @enabled.setter
    def enabled(self, enabled):
        """
        Sets the enabled of this AssistantStatusV1.
        True if the assistant is enabled and the access key is valid.

        :param enabled: The enabled of this AssistantStatusV1.
        :type: bool
        """

        self._enabled = enabled

    @property
    def message(self):
        """
        Gets the message of this AssistantStatusV1.
        A human-readable system message than includes error details if the assistant is not enabled and/or available.

        :return: The message of this AssistantStatusV1.
        :rtype: str
        """
        return self._message

    @message.setter
    def message(self, message):
        """
        Sets the message of this AssistantStatusV1.
        A human-readable system message than includes error details if the assistant is not enabled and/or available.

        :param message: The message of this AssistantStatusV1.
        :type: str
        """

        self._message = message

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

        for attr, _ in 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 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, AssistantStatusV1):
            return False

        return self.__dict__ == other.__dict__

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