# coding: utf-8

"""
    Seeq REST API

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

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

from pprint import pformat
from six import iteritems
import re


class AclOutputV1(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 = {
        'entries': 'list[AceOutputV1]',
        'permissions_inheritance_disabled': 'bool',
        'permissions_managed_by_datasource': 'bool',
        'status_message': 'str'
    }

    attribute_map = {
        'entries': 'entries',
        'permissions_inheritance_disabled': 'permissionsInheritanceDisabled',
        'permissions_managed_by_datasource': 'permissionsManagedByDatasource',
        'status_message': 'statusMessage'
    }

    def __init__(self, entries=None, permissions_inheritance_disabled=False, permissions_managed_by_datasource=False, status_message=None):
        """
        AclOutputV1 - a model defined in Swagger
        """

        self._entries = None
        self._permissions_inheritance_disabled = None
        self._permissions_managed_by_datasource = None
        self._status_message = None

        if entries is not None:
          self.entries = entries
        if permissions_inheritance_disabled is not None:
          self.permissions_inheritance_disabled = permissions_inheritance_disabled
        if permissions_managed_by_datasource is not None:
          self.permissions_managed_by_datasource = permissions_managed_by_datasource
        if status_message is not None:
          self.status_message = status_message

    @property
    def entries(self):
        """
        Gets the entries of this AclOutputV1.
        Access control list

        :return: The entries of this AclOutputV1.
        :rtype: list[AceOutputV1]
        """
        return self._entries

    @entries.setter
    def entries(self, entries):
        """
        Sets the entries of this AclOutputV1.
        Access control list

        :param entries: The entries of this AclOutputV1.
        :type: list[AceOutputV1]
        """

        self._entries = entries

    @property
    def permissions_inheritance_disabled(self):
        """
        Gets the permissions_inheritance_disabled of this AclOutputV1.
        Whether permission inheritance for the item is disabled or not

        :return: The permissions_inheritance_disabled of this AclOutputV1.
        :rtype: bool
        """
        return self._permissions_inheritance_disabled

    @permissions_inheritance_disabled.setter
    def permissions_inheritance_disabled(self, permissions_inheritance_disabled):
        """
        Sets the permissions_inheritance_disabled of this AclOutputV1.
        Whether permission inheritance for the item is disabled or not

        :param permissions_inheritance_disabled: The permissions_inheritance_disabled of this AclOutputV1.
        :type: bool
        """

        self._permissions_inheritance_disabled = permissions_inheritance_disabled

    @property
    def permissions_managed_by_datasource(self):
        """
        Gets the permissions_managed_by_datasource of this AclOutputV1.
        Whether permissions are managed by the datasource or not

        :return: The permissions_managed_by_datasource of this AclOutputV1.
        :rtype: bool
        """
        return self._permissions_managed_by_datasource

    @permissions_managed_by_datasource.setter
    def permissions_managed_by_datasource(self, permissions_managed_by_datasource):
        """
        Sets the permissions_managed_by_datasource of this AclOutputV1.
        Whether permissions are managed by the datasource or not

        :param permissions_managed_by_datasource: The permissions_managed_by_datasource of this AclOutputV1.
        :type: bool
        """

        self._permissions_managed_by_datasource = permissions_managed_by_datasource

    @property
    def status_message(self):
        """
        Gets the status_message of this AclOutputV1.
        A plain language status message with information about any issues that may have been encountered during an operation

        :return: The status_message of this AclOutputV1.
        :rtype: str
        """
        return self._status_message

    @status_message.setter
    def status_message(self, status_message):
        """
        Sets the status_message of this AclOutputV1.
        A plain language status message with information about any issues that may have been encountered during an operation

        :param status_message: The status_message of this AclOutputV1.
        :type: str
        """

        self._status_message = status_message

    def to_dict(self):
        """
        Returns the model properties as a dict
        """
        result = {}

        for attr, _ in 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

        return result

    def to_str(self):
        """
        Returns the string representation of the model
        """
        return 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, AclOutputV1):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        """
        Returns true if both objects are not equal
        """
        return not self == other
