# coding: utf-8

"""
    livesaas20230801

    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 ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput(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 = {
        'edit_enable': 'int',
        'group_description': 'str',
        'group_name': 'str',
        'group_type': 'int',
        'level_config_nums': 'int',
        'viewer_level_group_id': 'int'
    }

    attribute_map = {
        'edit_enable': 'EditEnable',
        'group_description': 'GroupDescription',
        'group_name': 'GroupName',
        'group_type': 'GroupType',
        'level_config_nums': 'LevelConfigNums',
        'viewer_level_group_id': 'ViewerLevelGroupId'
    }

    def __init__(self, edit_enable=None, group_description=None, group_name=None, group_type=None, level_config_nums=None, viewer_level_group_id=None, _configuration=None):  # noqa: E501
        """ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._edit_enable = None
        self._group_description = None
        self._group_name = None
        self._group_type = None
        self._level_config_nums = None
        self._viewer_level_group_id = None
        self.discriminator = None

        if edit_enable is not None:
            self.edit_enable = edit_enable
        if group_description is not None:
            self.group_description = group_description
        if group_name is not None:
            self.group_name = group_name
        if group_type is not None:
            self.group_type = group_type
        if level_config_nums is not None:
            self.level_config_nums = level_config_nums
        if viewer_level_group_id is not None:
            self.viewer_level_group_id = viewer_level_group_id

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


        :return: The edit_enable of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.  # noqa: E501
        :rtype: int
        """
        return self._edit_enable

    @edit_enable.setter
    def edit_enable(self, edit_enable):
        """Sets the edit_enable of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.


        :param edit_enable: The edit_enable of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.  # noqa: E501
        :type: int
        """

        self._edit_enable = edit_enable

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


        :return: The group_description of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.  # noqa: E501
        :rtype: str
        """
        return self._group_description

    @group_description.setter
    def group_description(self, group_description):
        """Sets the group_description of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.


        :param group_description: The group_description of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.  # noqa: E501
        :type: str
        """

        self._group_description = group_description

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


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

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


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

        self._group_name = group_name

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


        :return: The group_type of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.  # noqa: E501
        :rtype: int
        """
        return self._group_type

    @group_type.setter
    def group_type(self, group_type):
        """Sets the group_type of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.


        :param group_type: The group_type of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.  # noqa: E501
        :type: int
        """

        self._group_type = group_type

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


        :return: The level_config_nums of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.  # noqa: E501
        :rtype: int
        """
        return self._level_config_nums

    @level_config_nums.setter
    def level_config_nums(self, level_config_nums):
        """Sets the level_config_nums of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.


        :param level_config_nums: The level_config_nums of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.  # noqa: E501
        :type: int
        """

        self._level_config_nums = level_config_nums

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


        :return: The viewer_level_group_id of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.  # noqa: E501
        :rtype: int
        """
        return self._viewer_level_group_id

    @viewer_level_group_id.setter
    def viewer_level_group_id(self, viewer_level_group_id):
        """Sets the viewer_level_group_id of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.


        :param viewer_level_group_id: The viewer_level_group_id of this ViewerConfigGroupMetaForListAccountViewerLevelGroupOutput.  # noqa: E501
        :type: int
        """

        self._viewer_level_group_id = viewer_level_group_id

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

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