# coding: utf-8

"""
    mem0

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

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


import pprint
import re  # noqa: F401

import six

from volcenginesdkcore.configuration import Configuration


class DescribeMemoryProjectDetailResponse(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 = {
        'api_key_infos': 'list[APIKeyInfoForDescribeMemoryProjectDetailOutput]',
        'account_id': 'int',
        'create_time': 'str',
        'long_term_memory_strategies': 'list[LongTermMemoryStrategyForDescribeMemoryProjectDetailOutput]',
        'memory_project_id': 'str',
        'memory_project_name': 'str',
        'memory_project_type': 'str',
        'service_name': 'str',
        'service_type': 'str',
        'short_term_memory_expire_days': 'int',
        'status': 'str',
        'tags': 'list[TagForDescribeMemoryProjectDetailOutput]',
        'visit_addrs': 'list[VisitAddrForDescribeMemoryProjectDetailOutput]'
    }

    attribute_map = {
        'api_key_infos': 'APIKeyInfos',
        'account_id': 'AccountId',
        'create_time': 'CreateTime',
        'long_term_memory_strategies': 'LongTermMemoryStrategies',
        'memory_project_id': 'MemoryProjectId',
        'memory_project_name': 'MemoryProjectName',
        'memory_project_type': 'MemoryProjectType',
        'service_name': 'ServiceName',
        'service_type': 'ServiceType',
        'short_term_memory_expire_days': 'ShortTermMemoryExpireDays',
        'status': 'Status',
        'tags': 'Tags',
        'visit_addrs': 'VisitAddrs'
    }

    def __init__(self, api_key_infos=None, account_id=None, create_time=None, long_term_memory_strategies=None, memory_project_id=None, memory_project_name=None, memory_project_type=None, service_name=None, service_type=None, short_term_memory_expire_days=None, status=None, tags=None, visit_addrs=None, _configuration=None):  # noqa: E501
        """DescribeMemoryProjectDetailResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._api_key_infos = None
        self._account_id = None
        self._create_time = None
        self._long_term_memory_strategies = None
        self._memory_project_id = None
        self._memory_project_name = None
        self._memory_project_type = None
        self._service_name = None
        self._service_type = None
        self._short_term_memory_expire_days = None
        self._status = None
        self._tags = None
        self._visit_addrs = None
        self.discriminator = None

        if api_key_infos is not None:
            self.api_key_infos = api_key_infos
        if account_id is not None:
            self.account_id = account_id
        if create_time is not None:
            self.create_time = create_time
        if long_term_memory_strategies is not None:
            self.long_term_memory_strategies = long_term_memory_strategies
        if memory_project_id is not None:
            self.memory_project_id = memory_project_id
        if memory_project_name is not None:
            self.memory_project_name = memory_project_name
        if memory_project_type is not None:
            self.memory_project_type = memory_project_type
        if service_name is not None:
            self.service_name = service_name
        if service_type is not None:
            self.service_type = service_type
        if short_term_memory_expire_days is not None:
            self.short_term_memory_expire_days = short_term_memory_expire_days
        if status is not None:
            self.status = status
        if tags is not None:
            self.tags = tags
        if visit_addrs is not None:
            self.visit_addrs = visit_addrs

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


        :return: The api_key_infos of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: list[APIKeyInfoForDescribeMemoryProjectDetailOutput]
        """
        return self._api_key_infos

    @api_key_infos.setter
    def api_key_infos(self, api_key_infos):
        """Sets the api_key_infos of this DescribeMemoryProjectDetailResponse.


        :param api_key_infos: The api_key_infos of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: list[APIKeyInfoForDescribeMemoryProjectDetailOutput]
        """

        self._api_key_infos = api_key_infos

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


        :return: The account_id of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: int
        """
        return self._account_id

    @account_id.setter
    def account_id(self, account_id):
        """Sets the account_id of this DescribeMemoryProjectDetailResponse.


        :param account_id: The account_id of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: int
        """

        self._account_id = account_id

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


        :return: The create_time of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._create_time

    @create_time.setter
    def create_time(self, create_time):
        """Sets the create_time of this DescribeMemoryProjectDetailResponse.


        :param create_time: The create_time of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: str
        """

        self._create_time = create_time

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


        :return: The long_term_memory_strategies of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: list[LongTermMemoryStrategyForDescribeMemoryProjectDetailOutput]
        """
        return self._long_term_memory_strategies

    @long_term_memory_strategies.setter
    def long_term_memory_strategies(self, long_term_memory_strategies):
        """Sets the long_term_memory_strategies of this DescribeMemoryProjectDetailResponse.


        :param long_term_memory_strategies: The long_term_memory_strategies of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: list[LongTermMemoryStrategyForDescribeMemoryProjectDetailOutput]
        """

        self._long_term_memory_strategies = long_term_memory_strategies

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


        :return: The memory_project_id of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._memory_project_id

    @memory_project_id.setter
    def memory_project_id(self, memory_project_id):
        """Sets the memory_project_id of this DescribeMemoryProjectDetailResponse.


        :param memory_project_id: The memory_project_id of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: str
        """

        self._memory_project_id = memory_project_id

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


        :return: The memory_project_name of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._memory_project_name

    @memory_project_name.setter
    def memory_project_name(self, memory_project_name):
        """Sets the memory_project_name of this DescribeMemoryProjectDetailResponse.


        :param memory_project_name: The memory_project_name of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: str
        """

        self._memory_project_name = memory_project_name

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


        :return: The memory_project_type of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._memory_project_type

    @memory_project_type.setter
    def memory_project_type(self, memory_project_type):
        """Sets the memory_project_type of this DescribeMemoryProjectDetailResponse.


        :param memory_project_type: The memory_project_type of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: str
        """

        self._memory_project_type = memory_project_type

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


        :return: The service_name of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._service_name

    @service_name.setter
    def service_name(self, service_name):
        """Sets the service_name of this DescribeMemoryProjectDetailResponse.


        :param service_name: The service_name of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: str
        """

        self._service_name = service_name

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


        :return: The service_type of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._service_type

    @service_type.setter
    def service_type(self, service_type):
        """Sets the service_type of this DescribeMemoryProjectDetailResponse.


        :param service_type: The service_type of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: str
        """

        self._service_type = service_type

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


        :return: The short_term_memory_expire_days of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: int
        """
        return self._short_term_memory_expire_days

    @short_term_memory_expire_days.setter
    def short_term_memory_expire_days(self, short_term_memory_expire_days):
        """Sets the short_term_memory_expire_days of this DescribeMemoryProjectDetailResponse.


        :param short_term_memory_expire_days: The short_term_memory_expire_days of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: int
        """

        self._short_term_memory_expire_days = short_term_memory_expire_days

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


        :return: The status of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._status

    @status.setter
    def status(self, status):
        """Sets the status of this DescribeMemoryProjectDetailResponse.


        :param status: The status of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: str
        """

        self._status = status

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


        :return: The tags of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: list[TagForDescribeMemoryProjectDetailOutput]
        """
        return self._tags

    @tags.setter
    def tags(self, tags):
        """Sets the tags of this DescribeMemoryProjectDetailResponse.


        :param tags: The tags of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: list[TagForDescribeMemoryProjectDetailOutput]
        """

        self._tags = tags

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


        :return: The visit_addrs of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :rtype: list[VisitAddrForDescribeMemoryProjectDetailOutput]
        """
        return self._visit_addrs

    @visit_addrs.setter
    def visit_addrs(self, visit_addrs):
        """Sets the visit_addrs of this DescribeMemoryProjectDetailResponse.


        :param visit_addrs: The visit_addrs of this DescribeMemoryProjectDetailResponse.  # noqa: E501
        :type: list[VisitAddrForDescribeMemoryProjectDetailOutput]
        """

        self._visit_addrs = visit_addrs

    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(DescribeMemoryProjectDetailResponse, 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, DescribeMemoryProjectDetailResponse):
            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, DescribeMemoryProjectDetailResponse):
            return True

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