ruạṛ
a N��f�O � @ 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&d;d<� Z'd=d>� Z(d?d@� Z)dAS )B�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� ddddddddddddd�| _ ddddd d ddd dddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a 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] �str�datetimez list[str])�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_rolesr �userName�userCategory� accountStatus�targetId� timeLastLogin�timeUserCreated�authenticationType�userProfile�timePasswordChanged� userTypes� adminRolesN)� swagger_types� 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)�self�kwargs� rC ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_safe/models/user_summary.py�__init__b sL A��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 �r5 �rA rC rC rD 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 NrF )rA r rC rC rD 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 �r6 rG rC rC rD r � s zUserSummary.user_namec C s || _ dS )z� Sets the user_name of this UserSummary. The database user name. :param user_name: The user_name of this UserSummary. :type: str NrH )rA r rC rC rD r � s c C s | j S )a� Gets the user_category of this UserSummary. The user category based on the privileges and other details of the user. 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'. :return: The user_category of this UserSummary. :rtype: str )r7 rG rC rC rD r � s zUserSummary.user_categoryc C s g d�}t ||�sd}|| _dS )z� Sets the user_category of this UserSummary. The user category based on the privileges and other details of the user. :param user_category: The user_category of this UserSummary. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r r7 )rA r �allowed_valuesrC rC rD r s c C s | j S )a� Gets the account_status of this UserSummary. The user account status. 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'. :return: The account_status of this UserSummary. :rtype: str )r8 rG rC rC rD r s zUserSummary.account_statusc C s g d�}t ||�sd}|| _dS )z� Sets the account_status of this UserSummary. The user account status. :param account_status: The account_status of this UserSummary. :type: str )r r r r r rI N)r r8 )rA r rJ rC rC rD r * s c C s | j S )z� **[Required]** Gets the target_id of this UserSummary. The OCID of the target database. :return: The target_id of this UserSummary. :rtype: str �r9 rG rC rC rD r 9 s zUserSummary.target_idc C s || _ dS )z� Sets the target_id of this UserSummary. The OCID of the target database. :param target_id: The target_id of this UserSummary. :type: str NrK )rA r rC rC rD r E s c C s | j S )a" Gets the time_last_login of this UserSummary. The date and time when the user last logged in, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_last_login of this UserSummary. :rtype: datetime �r: rG rC rC rD r! Q s zUserSummary.time_last_loginc C s || _ dS )a0 Sets the time_last_login of this UserSummary. The date and time when the user last logged in, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_last_login: The time_last_login of this UserSummary. :type: datetime NrL )rA r! rC rC rD r! _ s c C s | j S )a3 Gets the time_user_created of this UserSummary. The date and time when the user was created in the database, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_user_created of this UserSummary. :rtype: datetime �r; rG rC rC rD r"