ruạṛ
a ���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 ZdZdZdZdZdZdZdZ dZ dZdZdZ dd� Zedd� �Zejdd� �Zed d � �Zejdd � �Zedd � �Zejdd � �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�RoleSummaryz! A summary of each role. �YES�NOc K sP ddddddd�| _ ddddddd�| _d | _d | _d | _d | _d | _d | _d S ) a� Initializes a new RoleSummary 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 RoleSummary. :type name: str :param admin_option: The value to assign to the admin_option property of this RoleSummary. 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 admin_option: str :param delegate_option: The value to assign to the delegate_option property of this RoleSummary. 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 delegate_option: str :param default_role: The value to assign to the default_role property of this RoleSummary. 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 default_role: str :param common: The value to assign to the common property of this RoleSummary. 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 common: str :param inherited: The value to assign to the inherited property of this RoleSummary. 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 inherited: str �str)�name�admin_option�delegate_option�default_role�common� inheritedr ZadminOptionZdelegateOptionZdefaultRoler r N)Z swagger_typesZ attribute_map�_name� _admin_option�_delegate_option� _default_role�_common� _inherited)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/database_management/models/role_summary.py�__init__: s( )� � zRoleSummary.__init__c C s | j S )z� Gets the name of this RoleSummary. The name of the role granted to the user. :return: The name of this RoleSummary. :rtype: str �r �r r r r r { s zRoleSummary.namec C s || _ dS )z� Sets the name of this RoleSummary. The name of the role granted to the user. :param name: The name of this RoleSummary. :type: str Nr )r r r r r r � s c C s | j S )a� Gets the admin_option of this RoleSummary. Indicates whether the role is granted with the ADMIN 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 admin_option of this RoleSummary. :rtype: str )r r r r r r � s zRoleSummary.admin_optionc C s ddg}t ||�sd}|| _dS )z� Sets the admin_option of this RoleSummary. Indicates whether the role is granted with the ADMIN OPTION (YES) or not (NO). :param admin_option: The admin_option of this RoleSummary. :type: str r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r � s c C s | j S )a� Gets the delegate_option of this RoleSummary. Indicates whether the role is granted with the DELEGATE 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 delegate_option of this RoleSummary. :rtype: str )r r r r r r � s zRoleSummary.delegate_optionc C s ddg}t ||�sd}|| _dS )z� Sets the delegate_option of this RoleSummary. Indicates whether the role is granted with the DELEGATE OPTION (YES) or not (NO). :param delegate_option: The delegate_option of this RoleSummary. :type: str r r r N)r r )r r r r r r r � s c C s | j S )a� Gets the default_role of this RoleSummary. Indicates whether the role is designated as a DEFAULT ROLE for the user (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 default_role of this RoleSummary. :rtype: str )r r r r r r � s zRoleSummary.default_rolec C s ddg}t ||�sd}|| _dS )z� Sets the default_role of this RoleSummary. Indicates whether the role is designated as a DEFAULT ROLE for the user (YES) or not (NO). :param default_role: The default_role of this RoleSummary. :type: str r r r N)r r )r r r r r r r � s c C s | j S )a� Gets the common of this RoleSummary. Indicates how the role was granted. Possible values: YES if the role is granted commonly (CONTAINER=ALL is used) NO if the role is granted locally (CONTAINER=ALL is not used) 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 common of this RoleSummary. :rtype: str )r r r r r r � s zRoleSummary.commonc C s ddg}t ||�sd}|| _dS )aI Sets the common of this RoleSummary. Indicates how the role was granted. Possible values: YES if the role is granted commonly (CONTAINER=ALL is used) NO if the role is granted locally (CONTAINER=ALL is not used) :param common: The common of this RoleSummary. :type: str r r r N)r r )r r r r r r r � s c C s | j S )a� Gets the inherited of this RoleSummary. Indicates whether the granted role is inherited from another container (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 inherited of this RoleSummary. :rtype: str )r r r r r r s zRoleSummary.inheritedc C s ddg}t ||�sd}|| _dS )z� Sets the inherited of this RoleSummary. Indicates whether the granted role is inherited from another container (YES) or not (NO). :param inherited: The inherited of this RoleSummary. :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 zRoleSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__0 s zRoleSummary.__eq__c C s | |k S r r r"