ruạṛ
a ���f�W � @ 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 d Zd ZdZ d ZdZd ZdZdZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Z e jd(d'� �Z ed)d*� �Z!e!jd+d*� �Z!ed,d-� �Z"e"jd.d-� �Z"ed/d0� �Z#e#jd1d0� �Z#ed2d3� �Z$e$jd4d3� �Z$ed5d6� �Z%e%jd7d6� �Z%ed8d9� �Z&e&jd:d9� �Z&ed;d<� �Z'e'jd=d<� �Z'ed>d?� �Z(e(jd@d?� �Z(dAdB� Z)dCdD� Z*dEdF� Z+dGS )H�UserSummaryaV The summary of information about the database user. It includes details such as user type, account status, last login time, user creation time, authentication type, user profile, and time and date of the last password change. It also contains the user category derived from these user details, as well as granted privileges. �CRITICAL�HIGH�MEDIUM�LOW�OPEN�LOCKED�EXPIRED�EXPIRED_AND_LOCKED�NONE�PASSWORD�ADMIN_PRIVILEGED�APPLICATION� PRIVILEGED�SCHEMA�NON_PRIVILEGED�PDB_DBA�DBA�DV_ADMIN�AUDIT_ADMINc K s� ddddddddddddddd�| _ dddd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )aU Initializes a new UserSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key: The value to assign to the key property of this UserSummary. :type key: str :param user_name: The value to assign to the user_name property of this UserSummary. :type user_name: str :param user_category: The value to assign to the user_category property of this UserSummary. Allowed values for this property are: "CRITICAL", "HIGH", "MEDIUM", "LOW", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type user_category: str :param account_status: The value to assign to the account_status property of this UserSummary. Allowed values for this property are: "OPEN", "LOCKED", "EXPIRED", "EXPIRED_AND_LOCKED", "NONE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type account_status: str :param target_id: The value to assign to the target_id property of this UserSummary. :type target_id: str :param time_last_login: The value to assign to the time_last_login property of this UserSummary. :type time_last_login: datetime :param time_user_created: The value to assign to the time_user_created property of this UserSummary. :type time_user_created: datetime :param authentication_type: The value to assign to the authentication_type property of this UserSummary. Allowed values for this property are: "PASSWORD", "NONE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type authentication_type: str :param user_profile: The value to assign to the user_profile property of this UserSummary. :type user_profile: str :param time_password_changed: The value to assign to the time_password_changed property of this UserSummary. :type time_password_changed: datetime :param user_types: The value to assign to the user_types property of this UserSummary. Allowed values for items in this list are: "ADMIN_PRIVILEGED", "APPLICATION", "PRIVILEGED", "SCHEMA", "NON_PRIVILEGED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type user_types: list[str] :param admin_roles: The value to assign to the admin_roles property of this UserSummary. Allowed values for items in this list are: "PDB_DBA", "DBA", "DV_ADMIN", "AUDIT_ADMIN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type admin_roles: list[str] :param are_all_schemas_accessible: The value to assign to the are_all_schemas_accessible property of this UserSummary. :type are_all_schemas_accessible: bool :param schema_list: The value to assign to the schema_list property of this UserSummary. :type schema_list: list[str] �strZdatetimez list[str]�bool)�key� user_name� user_category�account_status� target_id�time_last_login�time_user_created�authentication_type�user_profile�time_password_changed� user_types�admin_roles�are_all_schemas_accessible�schema_listr ZuserNameZuserCategoryZ accountStatusZtargetIdZ timeLastLoginZtimeUserCreatedZauthenticationTypeZuserProfileZtimePasswordChangedZ userTypesZ adminRolesZareAllSchemasAccessibleZ schemaListN)Z swagger_typesZ attribute_map�_key� _user_name�_user_category�_account_status� _target_id�_time_last_login�_time_user_created�_authentication_type� _user_profile�_time_password_changed�_user_types�_admin_roles�_are_all_schemas_accessible�_schema_list)�self�kwargs� r: �E/usr/lib/python3.9/site-packages/oci/data_safe/models/user_summary.py�__init__d sX I��zUserSummary.__init__c C s | j S )z� **[Required]** Gets the key of this UserSummary. The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user. :return: The key of this UserSummary. :rtype: str �r* �r8 r: r: r; r � s zUserSummary.keyc C s || _ dS )z� Sets the key of this UserSummary. The unique user key. This is a system-generated identifier. Use ListUsers to get the user key for a user. :param key: The key of this UserSummary. :type: str Nr= )r8 r r: r: r; r � s c C s | j S )z� **[Required]** Gets the user_name of this UserSummary. The database user name. :return: The user_name of this UserSummary. :rtype: str �r+ r>