# coding: utf-8

"""
    vikingdb

    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 MemoryCollectionInfoResponse(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 = {
        'collection_status': 'str',
        'collection_type': 'str',
        'created_at': 'str',
        'created_by': 'str',
        'desc_msg': 'str',
        'event_count': 'int',
        'name': 'str',
        'pipeline_config': 'PipelineConfigForMemoryCollectionInfoOutput',
        'profile_count': 'int',
        'project': 'str',
        'resource_id': 'str',
        'tags': 'list[TagForMemoryCollectionInfoOutput]',
        'updated_at': 'str'
    }

    attribute_map = {
        'collection_status': 'CollectionStatus',
        'collection_type': 'CollectionType',
        'created_at': 'CreatedAt',
        'created_by': 'CreatedBy',
        'desc_msg': 'DescMsg',
        'event_count': 'EventCount',
        'name': 'Name',
        'pipeline_config': 'PipelineConfig',
        'profile_count': 'ProfileCount',
        'project': 'Project',
        'resource_id': 'ResourceId',
        'tags': 'Tags',
        'updated_at': 'UpdatedAt'
    }

    def __init__(self, collection_status=None, collection_type=None, created_at=None, created_by=None, desc_msg=None, event_count=None, name=None, pipeline_config=None, profile_count=None, project=None, resource_id=None, tags=None, updated_at=None, _configuration=None):  # noqa: E501
        """MemoryCollectionInfoResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._collection_status = None
        self._collection_type = None
        self._created_at = None
        self._created_by = None
        self._desc_msg = None
        self._event_count = None
        self._name = None
        self._pipeline_config = None
        self._profile_count = None
        self._project = None
        self._resource_id = None
        self._tags = None
        self._updated_at = None
        self.discriminator = None

        if collection_status is not None:
            self.collection_status = collection_status
        if collection_type is not None:
            self.collection_type = collection_type
        if created_at is not None:
            self.created_at = created_at
        if created_by is not None:
            self.created_by = created_by
        if desc_msg is not None:
            self.desc_msg = desc_msg
        if event_count is not None:
            self.event_count = event_count
        if name is not None:
            self.name = name
        if pipeline_config is not None:
            self.pipeline_config = pipeline_config
        if profile_count is not None:
            self.profile_count = profile_count
        if project is not None:
            self.project = project
        if resource_id is not None:
            self.resource_id = resource_id
        if tags is not None:
            self.tags = tags
        if updated_at is not None:
            self.updated_at = updated_at

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


        :return: The collection_status of this MemoryCollectionInfoResponse.  # noqa: E501
        :rtype: str
        """
        return self._collection_status

    @collection_status.setter
    def collection_status(self, collection_status):
        """Sets the collection_status of this MemoryCollectionInfoResponse.


        :param collection_status: The collection_status of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: str
        """

        self._collection_status = collection_status

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


        :return: The collection_type of this MemoryCollectionInfoResponse.  # noqa: E501
        :rtype: str
        """
        return self._collection_type

    @collection_type.setter
    def collection_type(self, collection_type):
        """Sets the collection_type of this MemoryCollectionInfoResponse.


        :param collection_type: The collection_type of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: str
        """

        self._collection_type = collection_type

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


        :return: The created_at of this MemoryCollectionInfoResponse.  # noqa: E501
        :rtype: str
        """
        return self._created_at

    @created_at.setter
    def created_at(self, created_at):
        """Sets the created_at of this MemoryCollectionInfoResponse.


        :param created_at: The created_at of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: str
        """

        self._created_at = created_at

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


        :return: The created_by of this MemoryCollectionInfoResponse.  # noqa: E501
        :rtype: str
        """
        return self._created_by

    @created_by.setter
    def created_by(self, created_by):
        """Sets the created_by of this MemoryCollectionInfoResponse.


        :param created_by: The created_by of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: str
        """

        self._created_by = created_by

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


        :return: The desc_msg of this MemoryCollectionInfoResponse.  # noqa: E501
        :rtype: str
        """
        return self._desc_msg

    @desc_msg.setter
    def desc_msg(self, desc_msg):
        """Sets the desc_msg of this MemoryCollectionInfoResponse.


        :param desc_msg: The desc_msg of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: str
        """

        self._desc_msg = desc_msg

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


        :return: The event_count of this MemoryCollectionInfoResponse.  # noqa: E501
        :rtype: int
        """
        return self._event_count

    @event_count.setter
    def event_count(self, event_count):
        """Sets the event_count of this MemoryCollectionInfoResponse.


        :param event_count: The event_count of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: int
        """

        self._event_count = event_count

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


        :return: The name of this MemoryCollectionInfoResponse.  # noqa: E501
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name):
        """Sets the name of this MemoryCollectionInfoResponse.


        :param name: The name of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: str
        """

        self._name = name

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


        :return: The pipeline_config of this MemoryCollectionInfoResponse.  # noqa: E501
        :rtype: PipelineConfigForMemoryCollectionInfoOutput
        """
        return self._pipeline_config

    @pipeline_config.setter
    def pipeline_config(self, pipeline_config):
        """Sets the pipeline_config of this MemoryCollectionInfoResponse.


        :param pipeline_config: The pipeline_config of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: PipelineConfigForMemoryCollectionInfoOutput
        """

        self._pipeline_config = pipeline_config

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


        :return: The profile_count of this MemoryCollectionInfoResponse.  # noqa: E501
        :rtype: int
        """
        return self._profile_count

    @profile_count.setter
    def profile_count(self, profile_count):
        """Sets the profile_count of this MemoryCollectionInfoResponse.


        :param profile_count: The profile_count of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: int
        """

        self._profile_count = profile_count

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


        :return: The project of this MemoryCollectionInfoResponse.  # noqa: E501
        :rtype: str
        """
        return self._project

    @project.setter
    def project(self, project):
        """Sets the project of this MemoryCollectionInfoResponse.


        :param project: The project of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: str
        """

        self._project = project

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


        :return: The resource_id of this MemoryCollectionInfoResponse.  # noqa: E501
        :rtype: str
        """
        return self._resource_id

    @resource_id.setter
    def resource_id(self, resource_id):
        """Sets the resource_id of this MemoryCollectionInfoResponse.


        :param resource_id: The resource_id of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: str
        """

        self._resource_id = resource_id

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


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

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


        :param tags: The tags of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: list[TagForMemoryCollectionInfoOutput]
        """

        self._tags = tags

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


        :return: The updated_at of this MemoryCollectionInfoResponse.  # noqa: E501
        :rtype: str
        """
        return self._updated_at

    @updated_at.setter
    def updated_at(self, updated_at):
        """Sets the updated_at of this MemoryCollectionInfoResponse.


        :param updated_at: The updated_at of this MemoryCollectionInfoResponse.  # noqa: E501
        :type: str
        """

        self._updated_at = updated_at

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

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