ruạṛ
a N��f= � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdd� Ze dd� �Z e jdd� �Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z dd� Zdd� Zdd� ZdS )�ConsumerGroupPrivilegeSummaryz1 A summary of consumer group privileges. �YES�NOc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a Initializes a new ConsumerGroupPrivilegeSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this ConsumerGroupPrivilegeSummary. :type name: str :param grant_option: The value to assign to the grant_option property of this ConsumerGroupPrivilegeSummary. Allowed values for this property are: "YES", "NO", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type grant_option: str :param initial_group: The value to assign to the initial_group property of this ConsumerGroupPrivilegeSummary. Allowed values for this property are: "YES", "NO", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type initial_group: str �str)�name�grant_option� initial_groupr �grantOption�initialGroupN)� swagger_types� attribute_map�_name� _grant_option�_initial_group)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_management/models/consumer_group_privilege_summary.py�__init__ s ��z&ConsumerGroupPrivilegeSummary.__init__c C s | j S )z� Gets the name of this ConsumerGroupPrivilegeSummary. The name of the granted consumer group privilege. :return: The name of this ConsumerGroupPrivilegeSummary. :rtype: str �r �r r r r r F s z"ConsumerGroupPrivilegeSummary.namec C s || _ dS )z� Sets the name of this ConsumerGroupPrivilegeSummary. The name of the granted consumer group privilege. :param name: The name of this ConsumerGroupPrivilegeSummary. :type: str Nr )r r r r r r R s c C s | j S )a� Gets the grant_option of this ConsumerGroupPrivilegeSummary. Indicates whether the privilege is granted with the GRANT option (YES) or not (NO). Allowed values for this property are: "YES", "NO", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The grant_option of this ConsumerGroupPrivilegeSummary. :rtype: str )r r r r r r ^ s z*ConsumerGroupPrivilegeSummary.grant_optionc C s ddg}t ||�sd}|| _dS )a Sets the grant_option of this ConsumerGroupPrivilegeSummary. Indicates whether the privilege is granted with the GRANT option (YES) or not (NO). :param grant_option: The grant_option of this ConsumerGroupPrivilegeSummary. :type: str r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r m s c C s | j S )a� Gets the initial_group of this ConsumerGroupPrivilegeSummary. Indicates whether the consumer group is designated as the default for this user or role (YES) or not (NO). Allowed values for this property are: "YES", "NO", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The initial_group of this ConsumerGroupPrivilegeSummary. :rtype: str )r r r r r r | s z+ConsumerGroupPrivilegeSummary.initial_groupc C s ddg}t ||�sd}|| _dS )a. Sets the initial_group of this ConsumerGroupPrivilegeSummary. Indicates whether the consumer group is designated as the default for this user or role (YES) or not (NO). :param initial_group: The initial_group of this ConsumerGroupPrivilegeSummary. :type: str r r r N)r r )r r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z&ConsumerGroupPrivilegeSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z$ConsumerGroupPrivilegeSummary.__eq__c C s | |k S r r r r r r �__ne__� s z$ConsumerGroupPrivilegeSummary.__ne__N)�__name__� __module__�__qualname__�__doc__�GRANT_OPTION_YES�GRANT_OPTION_NO�INITIAL_GROUP_YES�INITIAL_GROUP_NOr �propertyr �setterr r r r"