# coding: utf-8

"""
    efs

    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 PermissionGroupForDescribePermissionGroupsOutput(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 = {
        'access_point_count': 'int',
        'access_points': 'list[AccessPointForDescribePermissionGroupsOutput]',
        'create_time': 'str',
        'description': 'str',
        'mount_point_count': 'int',
        'mount_points': 'list[MountPointForDescribePermissionGroupsOutput]',
        'permission_group_id': 'str',
        'permission_group_name': 'str',
        'permission_rule_count': 'int',
        'status': 'str',
        'update_time': 'str'
    }

    attribute_map = {
        'access_point_count': 'AccessPointCount',
        'access_points': 'AccessPoints',
        'create_time': 'CreateTime',
        'description': 'Description',
        'mount_point_count': 'MountPointCount',
        'mount_points': 'MountPoints',
        'permission_group_id': 'PermissionGroupId',
        'permission_group_name': 'PermissionGroupName',
        'permission_rule_count': 'PermissionRuleCount',
        'status': 'Status',
        'update_time': 'UpdateTime'
    }

    def __init__(self, access_point_count=None, access_points=None, create_time=None, description=None, mount_point_count=None, mount_points=None, permission_group_id=None, permission_group_name=None, permission_rule_count=None, status=None, update_time=None, _configuration=None):  # noqa: E501
        """PermissionGroupForDescribePermissionGroupsOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._access_point_count = None
        self._access_points = None
        self._create_time = None
        self._description = None
        self._mount_point_count = None
        self._mount_points = None
        self._permission_group_id = None
        self._permission_group_name = None
        self._permission_rule_count = None
        self._status = None
        self._update_time = None
        self.discriminator = None

        if access_point_count is not None:
            self.access_point_count = access_point_count
        if access_points is not None:
            self.access_points = access_points
        if create_time is not None:
            self.create_time = create_time
        if description is not None:
            self.description = description
        if mount_point_count is not None:
            self.mount_point_count = mount_point_count
        if mount_points is not None:
            self.mount_points = mount_points
        if permission_group_id is not None:
            self.permission_group_id = permission_group_id
        if permission_group_name is not None:
            self.permission_group_name = permission_group_name
        if permission_rule_count is not None:
            self.permission_rule_count = permission_rule_count
        if status is not None:
            self.status = status
        if update_time is not None:
            self.update_time = update_time

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


        :return: The access_point_count of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :rtype: int
        """
        return self._access_point_count

    @access_point_count.setter
    def access_point_count(self, access_point_count):
        """Sets the access_point_count of this PermissionGroupForDescribePermissionGroupsOutput.


        :param access_point_count: The access_point_count of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :type: int
        """

        self._access_point_count = access_point_count

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


        :return: The access_points of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :rtype: list[AccessPointForDescribePermissionGroupsOutput]
        """
        return self._access_points

    @access_points.setter
    def access_points(self, access_points):
        """Sets the access_points of this PermissionGroupForDescribePermissionGroupsOutput.


        :param access_points: The access_points of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :type: list[AccessPointForDescribePermissionGroupsOutput]
        """

        self._access_points = access_points

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


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

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


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

        self._create_time = create_time

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


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

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


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

        self._description = description

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


        :return: The mount_point_count of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :rtype: int
        """
        return self._mount_point_count

    @mount_point_count.setter
    def mount_point_count(self, mount_point_count):
        """Sets the mount_point_count of this PermissionGroupForDescribePermissionGroupsOutput.


        :param mount_point_count: The mount_point_count of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :type: int
        """

        self._mount_point_count = mount_point_count

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


        :return: The mount_points of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :rtype: list[MountPointForDescribePermissionGroupsOutput]
        """
        return self._mount_points

    @mount_points.setter
    def mount_points(self, mount_points):
        """Sets the mount_points of this PermissionGroupForDescribePermissionGroupsOutput.


        :param mount_points: The mount_points of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :type: list[MountPointForDescribePermissionGroupsOutput]
        """

        self._mount_points = mount_points

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


        :return: The permission_group_id of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :rtype: str
        """
        return self._permission_group_id

    @permission_group_id.setter
    def permission_group_id(self, permission_group_id):
        """Sets the permission_group_id of this PermissionGroupForDescribePermissionGroupsOutput.


        :param permission_group_id: The permission_group_id of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :type: str
        """

        self._permission_group_id = permission_group_id

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


        :return: The permission_group_name of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :rtype: str
        """
        return self._permission_group_name

    @permission_group_name.setter
    def permission_group_name(self, permission_group_name):
        """Sets the permission_group_name of this PermissionGroupForDescribePermissionGroupsOutput.


        :param permission_group_name: The permission_group_name of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :type: str
        """

        self._permission_group_name = permission_group_name

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


        :return: The permission_rule_count of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :rtype: int
        """
        return self._permission_rule_count

    @permission_rule_count.setter
    def permission_rule_count(self, permission_rule_count):
        """Sets the permission_rule_count of this PermissionGroupForDescribePermissionGroupsOutput.


        :param permission_rule_count: The permission_rule_count of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :type: int
        """

        self._permission_rule_count = permission_rule_count

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


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

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


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

        self._status = status

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


        :return: The update_time of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :rtype: str
        """
        return self._update_time

    @update_time.setter
    def update_time(self, update_time):
        """Sets the update_time of this PermissionGroupForDescribePermissionGroupsOutput.


        :param update_time: The update_time of this PermissionGroupForDescribePermissionGroupsOutput.  # noqa: E501
        :type: str
        """

        self._update_time = update_time

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

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