# coding: utf-8

"""
    bmq

    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 ItemForSearchGroupsOutput(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 = {
        'create_time': 'str',
        'description': 'str',
        'group_id': 'str',
        'group_name': 'str',
        'instance_id': 'str',
        'owner_id': 'str',
        'owner_name': 'str',
        'status': 'str'
    }

    attribute_map = {
        'create_time': 'CreateTime',
        'description': 'Description',
        'group_id': 'GroupId',
        'group_name': 'GroupName',
        'instance_id': 'InstanceId',
        'owner_id': 'OwnerId',
        'owner_name': 'OwnerName',
        'status': 'Status'
    }

    def __init__(self, create_time=None, description=None, group_id=None, group_name=None, instance_id=None, owner_id=None, owner_name=None, status=None, _configuration=None):  # noqa: E501
        """ItemForSearchGroupsOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._create_time = None
        self._description = None
        self._group_id = None
        self._group_name = None
        self._instance_id = None
        self._owner_id = None
        self._owner_name = None
        self._status = None
        self.discriminator = None

        if create_time is not None:
            self.create_time = create_time
        if description is not None:
            self.description = description
        if group_id is not None:
            self.group_id = group_id
        if group_name is not None:
            self.group_name = group_name
        if instance_id is not None:
            self.instance_id = instance_id
        if owner_id is not None:
            self.owner_id = owner_id
        if owner_name is not None:
            self.owner_name = owner_name
        if status is not None:
            self.status = status

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


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

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


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

        self._create_time = create_time

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


        :return: The description of this ItemForSearchGroupsOutput.  # noqa: E501
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description):
        """Sets the description of this ItemForSearchGroupsOutput.


        :param description: The description of this ItemForSearchGroupsOutput.  # noqa: E501
        :type: str
        """

        self._description = description

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


        :return: The group_id of this ItemForSearchGroupsOutput.  # noqa: E501
        :rtype: str
        """
        return self._group_id

    @group_id.setter
    def group_id(self, group_id):
        """Sets the group_id of this ItemForSearchGroupsOutput.


        :param group_id: The group_id of this ItemForSearchGroupsOutput.  # noqa: E501
        :type: str
        """

        self._group_id = group_id

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


        :return: The group_name of this ItemForSearchGroupsOutput.  # noqa: E501
        :rtype: str
        """
        return self._group_name

    @group_name.setter
    def group_name(self, group_name):
        """Sets the group_name of this ItemForSearchGroupsOutput.


        :param group_name: The group_name of this ItemForSearchGroupsOutput.  # noqa: E501
        :type: str
        """

        self._group_name = group_name

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


        :return: The instance_id of this ItemForSearchGroupsOutput.  # noqa: E501
        :rtype: str
        """
        return self._instance_id

    @instance_id.setter
    def instance_id(self, instance_id):
        """Sets the instance_id of this ItemForSearchGroupsOutput.


        :param instance_id: The instance_id of this ItemForSearchGroupsOutput.  # noqa: E501
        :type: str
        """

        self._instance_id = instance_id

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


        :return: The owner_id of this ItemForSearchGroupsOutput.  # noqa: E501
        :rtype: str
        """
        return self._owner_id

    @owner_id.setter
    def owner_id(self, owner_id):
        """Sets the owner_id of this ItemForSearchGroupsOutput.


        :param owner_id: The owner_id of this ItemForSearchGroupsOutput.  # noqa: E501
        :type: str
        """

        self._owner_id = owner_id

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


        :return: The owner_name of this ItemForSearchGroupsOutput.  # noqa: E501
        :rtype: str
        """
        return self._owner_name

    @owner_name.setter
    def owner_name(self, owner_name):
        """Sets the owner_name of this ItemForSearchGroupsOutput.


        :param owner_name: The owner_name of this ItemForSearchGroupsOutput.  # noqa: E501
        :type: str
        """

        self._owner_name = owner_name

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


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

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


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

        self._status = status

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

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