a f@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@s,eZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!dZ"dZ#dZ$dZ%dZ&ddZ'e(ddZ)e)j*ddZ)e(ddZ+e+j*ddZ+e(dd Z,e,j*d!d Z,e(d"d#Z-e-j*d$d#Z-e(d%d&Z.e.j*d'd&Z.e(d(d)Z/e/j*d*d)Z/e(d+d,Z0e0j*d-d,Z0e(d.d/Z1e1j*d0d/Z1e(d1d2Z2e2j*d3d2Z2e(d4d5Z3e3j*d6d5Z3e(d7d8Z4e4j*d9d8Z4e(d:d;Z5e5j*dZ6e6j*d?d>Z6e(d@dAZ7e7j*dBdAZ7e(dCdDZ8e8j*dEdDZ8e(dFdGZ9e9j*dHdGZ9e(dIdJZ:e:j*dKdJZ:e(dLdMZ;e;j*dNdMZ;e(dOdPZe>j*dWdVZ>e(dXdYZ?e?j*dZdYZ?e(d[d\Z@e@j*d]d\Z@e(d^d_ZAeAj*d`d_ZAdadbZBdcddZCdedfZDdgS)hUserz2 The summary of a specific user resource. OPENEXPIRED EXPIRED_GRACELOCKED LOCKED_TIMEDEXPIRED_AND_LOCKEDEXPIRED_GRACE_AND_LOCKEDEXPIRED_AND_LOCKED_TIMEDEXPIRED_GRACE_AND_LOCKED_TIMEDOPEN_AND_IN_ROLLOVEREXPIRED_AND_IN_ROLLOVERLOCKED_AND_IN_ROLLOVER"EXPIRED_AND_LOCKED_AND_IN_ROLLOVERLOCKED_TIMED_AND_IN_ROLLOVER#EXPIRED_AND_LOCKED_TIMED_AND_IN_ROLYESNONONEEXTERNALGLOBALPASSWORDcKsddddddddddddddddddddddddd|_dddddd d d d d ddddddddddddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_d|_dS)a Initializes a new User 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 User. :type name: str :param status: The value to assign to the status property of this User. Allowed values for this property are: "OPEN", "EXPIRED", "EXPIRED_GRACE", "LOCKED", "LOCKED_TIMED", "EXPIRED_AND_LOCKED", "EXPIRED_GRACE_AND_LOCKED", "EXPIRED_AND_LOCKED_TIMED", "EXPIRED_GRACE_AND_LOCKED_TIMED", "OPEN_AND_IN_ROLLOVER", "EXPIRED_AND_IN_ROLLOVER", "LOCKED_AND_IN_ROLLOVER", "EXPIRED_AND_LOCKED_AND_IN_ROLLOVER", "LOCKED_TIMED_AND_IN_ROLLOVER", "EXPIRED_AND_LOCKED_TIMED_AND_IN_ROL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param time_locked: The value to assign to the time_locked property of this User. :type time_locked: datetime :param time_expiring: The value to assign to the time_expiring property of this User. :type time_expiring: datetime :param default_tablespace: The value to assign to the default_tablespace property of this User. :type default_tablespace: str :param temp_tablespace: The value to assign to the temp_tablespace property of this User. :type temp_tablespace: str :param local_temp_tablespace: The value to assign to the local_temp_tablespace property of this User. :type local_temp_tablespace: str :param time_created: The value to assign to the time_created property of this User. :type time_created: datetime :param profile: The value to assign to the profile property of this User. :type profile: str :param consumer_group: The value to assign to the consumer_group property of this User. :type consumer_group: str :param external_name: The value to assign to the external_name property of this User. :type external_name: str :param password_versions: The value to assign to the password_versions property of this User. :type password_versions: str :param editions_enabled: The value to assign to the editions_enabled property of this User. 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 editions_enabled: str :param authentication: The value to assign to the authentication property of this User. Allowed values for this property are: "NONE", "EXTERNAL", "GLOBAL", "PASSWORD", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type authentication: str :param proxy_connect: The value to assign to the proxy_connect property of this User. 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 proxy_connect: str :param common: The value to assign to the common property of this User. 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 time_last_login: The value to assign to the time_last_login property of this User. :type time_last_login: datetime :param oracle_maintained: The value to assign to the oracle_maintained property of this User. 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 oracle_maintained: str :param inherited: The value to assign to the inherited property of this User. 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 :param default_collation: The value to assign to the default_collation property of this User. :type default_collation: str :param implicit: The value to assign to the implicit property of this User. 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 implicit: str :param all_shared: The value to assign to the all_shared property of this User. 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 all_shared: str :param external_shared: The value to assign to the external_shared property of this User. 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 external_shared: str :param time_password_changed: The value to assign to the time_password_changed property of this User. :type time_password_changed: datetime strZdatetime)namestatus time_locked time_expiringdefault_tablespacetemp_tablespacelocal_temp_tablespace time_createdprofileconsumer_group external_namepassword_versionseditions_enabledauthentication proxy_connectcommontime_last_loginoracle_maintained inheriteddefault_collationimplicit all_sharedexternal_sharedtime_password_changedrrZ timeLockedZ timeExpiringZdefaultTablespaceZtempTablespaceZlocalTempTablespaceZ timeCreatedr%Z consumerGroupZ externalNameZpasswordVersionsZeditionsEnabledr*Z proxyConnectr,Z timeLastLoginZoracleMaintainedr/ZdefaultCollationr1Z allSharedZexternalSharedZtimePasswordChangedN)Z swagger_typesZ attribute_map_name_status _time_locked_time_expiring_default_tablespace_temp_tablespace_local_temp_tablespace _time_created_profile_consumer_group_external_name_password_versions_editions_enabled_authentication_proxy_connect_common_time_last_login_oracle_maintained _inherited_default_collation _implicit _all_shared_external_shared_time_password_changed)selfkwargsrOG/usr/lib/python3.9/site-packages/oci/database_management/models/user.py__init__s{z User.__init__cCs|jS)z **[Required]** Gets the name of this User. The name of the User. :return: The name of this User. :rtype: str r5rMrOrOrPrgs z User.namecCs ||_dS)z Sets the name of this User. The name of the User. :param name: The name of this User. :type: str NrR)rMrrOrOrPrss cCs|jS)a **[Required]** Gets the status of this User. The status of the user account. Allowed values for this property are: "OPEN", "EXPIRED", "EXPIRED_GRACE", "LOCKED", "LOCKED_TIMED", "EXPIRED_AND_LOCKED", "EXPIRED_GRACE_AND_LOCKED", "EXPIRED_AND_LOCKED_TIMED", "EXPIRED_GRACE_AND_LOCKED_TIMED", "OPEN_AND_IN_ROLLOVER", "EXPIRED_AND_IN_ROLLOVER", "LOCKED_AND_IN_ROLLOVER", "EXPIRED_AND_LOCKED_AND_IN_ROLLOVER", "LOCKED_TIMED_AND_IN_ROLLOVER", "EXPIRED_AND_LOCKED_TIMED_AND_IN_ROL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this User. :rtype: str )r6rSrOrOrPrs z User.statuscCs gd}t||sd}||_dS)z Sets the status of this User. The status of the user account. :param status: The status of this User. :type: str )rrr r r r r rrrrrrrrUNKNOWN_ENUM_VALUEN)rr6)rMrallowed_valuesrOrOrPrs  cCs|jS)z Gets the time_locked of this User. The date the account was locked, if the status of the account is LOCKED. :return: The time_locked of this User. :rtype: datetime r7rSrOrOrPrs zUser.time_lockedcCs ||_dS)z Sets the time_locked of this User. The date the account was locked, if the status of the account is LOCKED. :param time_locked: The time_locked of this User. :type: datetime NrV)rMrrOrOrPrs cCs|jS)z Gets the time_expiring of this User. The date and time of the expiration of the user account. :return: The time_expiring of this User. :rtype: datetime r8rSrOrOrPr s zUser.time_expiringcCs ||_dS)z Sets the time_expiring of this User. The date and time of the expiration of the user account. :param time_expiring: The time_expiring of this User. :type: datetime NrW)rMr rOrOrPr s cCs|jS)z **[Required]** Gets the default_tablespace of this User. The default tablespace for data. :return: The default_tablespace of this User. :rtype: str r9rSrOrOrPr!s zUser.default_tablespacecCs ||_dS)z Sets the default_tablespace of this User. The default tablespace for data. :param default_tablespace: The default_tablespace of this User. :type: str NrX)rMr!rOrOrPr!s cCs|jS)z **[Required]** Gets the temp_tablespace of this User. The name of the default tablespace for temporary tables or the name of a tablespace group. :return: The temp_tablespace of this User. :rtype: str r:rSrOrOrPr"s zUser.temp_tablespacecCs ||_dS)z Sets the temp_tablespace of this User. The name of the default tablespace for temporary tables or the name of a tablespace group. :param temp_tablespace: The temp_tablespace of this User. :type: str NrY)rMr"rOrOrPr"s cCs|jS)z Gets the local_temp_tablespace of this User. The default local temporary tablespace for the user. :return: The local_temp_tablespace of this User. :rtype: str r;rSrOrOrPr#s zUser.local_temp_tablespacecCs ||_dS)z Sets the local_temp_tablespace of this User. The default local temporary tablespace for the user. :param local_temp_tablespace: The local_temp_tablespace of this User. :type: str NrZ)rMr#rOrOrPr# s cCs|jS)z **[Required]** Gets the time_created of this User. The date and time the user was created. :return: The time_created of this User. :rtype: datetime r<rSrOrOrPr$s zUser.time_createdcCs ||_dS)z Sets the time_created of this User. The date and time the user was created. :param time_created: The time_created of this User. :type: datetime Nr[)rMr$rOrOrPr$!s cCs|jS)z **[Required]** Gets the profile of this User. The profile name of the user. :return: The profile of this User. :rtype: str r=rSrOrOrPr%-s z User.profilecCs ||_dS)z Sets the profile of this User. The profile name of the user. :param profile: The profile of this User. :type: str Nr\)rMr%rOrOrPr%9s cCs|jS)z Gets the consumer_group of this User. The initial resource consumer group for the User. :return: The consumer_group of this User. :rtype: str r>rSrOrOrPr&Es zUser.consumer_groupcCs ||_dS)z Sets the consumer_group of this User. The initial resource consumer group for the User. :param consumer_group: The consumer_group of this User. :type: str Nr])rMr&rOrOrPr&Qs cCs|jS)z Gets the external_name of this User. The external name of the user. :return: The external_name of this User. :rtype: str r?rSrOrOrPr']s zUser.external_namecCs ||_dS)z Sets the external_name of this User. The external name of the user. :param external_name: The external_name of this User. :type: str Nr^)rMr'rOrOrPr'is cCs|jS)z Gets the password_versions of this User. The list of existing versions of the password hashes (also known as "verifiers") for the account. :return: The password_versions of this User. :rtype: str r@rSrOrOrPr(us zUser.password_versionscCs ||_dS)z Sets the password_versions of this User. The list of existing versions of the password hashes (also known as "verifiers") for the account. :param password_versions: The password_versions of this User. :type: str Nr_)rMr(rOrOrPr(s cCs|jS)a Gets the editions_enabled of this User. Indicates whether editions have been enabled for the corresponding user (Y) or not (N). 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 editions_enabled of this User. :rtype: str )rArSrOrOrPr)s zUser.editions_enabledcCs ddg}t||sd}||_dS)z Sets the editions_enabled of this User. Indicates whether editions have been enabled for the corresponding user (Y) or not (N). :param editions_enabled: The editions_enabled of this User. :type: str rrrTN)rrA)rMr)rUrOrOrPr)s  cCs|jS)a Gets the authentication of this User. The authentication mechanism for the user. Allowed values for this property are: "NONE", "EXTERNAL", "GLOBAL", "PASSWORD", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The authentication of this User. :rtype: str )rBrSrOrOrPr*s zUser.authenticationcCs gd}t||sd}||_dS)z Sets the authentication of this User. The authentication mechanism for the user. :param authentication: The authentication of this User. :type: str )rrrrrTN)rrB)rMr*rUrOrOrPr*s  cCs|jS)a. Gets the proxy_connect of this User. Indicates whether a user can connect directly (N) or whether the account can only be proxied (Y) by users who have proxy privileges for this account (that is, by users who have been granted the "connect through" privilege for this account). 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 proxy_connect of this User. :rtype: str )rCrSrOrOrPr+szUser.proxy_connectcCs ddg}t||sd}||_dS)a Sets the proxy_connect of this User. Indicates whether a user can connect directly (N) or whether the account can only be proxied (Y) by users who have proxy privileges for this account (that is, by users who have been granted the "connect through" privilege for this account). :param proxy_connect: The proxy_connect of this User. :type: str rrrTN)rrC)rMr+rUrOrOrPr+s  cCs|jS)a` Gets the common of this User. Indicates whether a given user is common(Y) or local(N). 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 User. :rtype: str )rDrSrOrOrPr,s z User.commoncCs ddg}t||sd}||_dS)z Sets the common of this User. Indicates whether a given user is common(Y) or local(N). :param common: The common of this User. :type: str rrrTN)rrD)rMr,rUrOrOrPr,s  cCs|jS)ar Gets the time_last_login of this User. The date and time of the last user login. This column is not populated when a user connects to the database with administrative privileges, that is, AS { SYSASM | SYSBACKUP | SYSDBA | SYSDG | SYSOPER | SYSRAC | SYSKM }. :return: The time_last_login of this User. :rtype: datetime rErSrOrOrPr-s zUser.time_last_logincCs ||_dS)a Sets the time_last_login of this User. The date and time of the last user login. This column is not populated when a user connects to the database with administrative privileges, that is, AS { SYSASM | SYSBACKUP | SYSDBA | SYSDG | SYSOPER | SYSRAC | SYSKM }. :param time_last_login: The time_last_login of this User. :type: datetime Nr`)rMr-rOrOrPr-s cCs|jS)a Gets the oracle_maintained of this User. Indicates whether the user was created and is maintained by Oracle-supplied scripts (such as catalog.sql or catproc.sql). 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 oracle_maintained of this User. :rtype: str )rFrSrOrOrPr.!s zUser.oracle_maintainedcCs ddg}t||sd}||_dS)a Sets the oracle_maintained of this User. Indicates whether the user was created and is maintained by Oracle-supplied scripts (such as catalog.sql or catproc.sql). :param oracle_maintained: The oracle_maintained of this User. :type: str rrrTN)rrF)rMr.rUrOrOrPr.0s  cCs|jS)a Gets the inherited of this User. Indicates whether the user definition 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 User. :rtype: str )rGrSrOrOrPr/?s zUser.inheritedcCs ddg}t||sd}||_dS)z Sets the inherited of this User. Indicates whether the user definition is inherited from another container (YES) or not (NO). :param inherited: The inherited of this User. :type: str rrrTN)rrG)rMr/rUrOrOrPr/Ns  cCs|jS)z Gets the default_collation of this User. The default collation for the user schema. :return: The default_collation of this User. :rtype: str rHrSrOrOrPr0]s zUser.default_collationcCs ||_dS)z Sets the default_collation of this User. The default collation for the user schema. :param default_collation: The default_collation of this User. :type: str Nra)rMr0rOrOrPr0is cCs|jS)a Gets the implicit of this User. Indicates whether the user is a common user created by an implicit application (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 implicit of this User. :rtype: str )rIrSrOrOrPr1us z User.implicitcCs ddg}t||sd}||_dS)z Sets the implicit of this User. Indicates whether the user is a common user created by an implicit application (YES) or not (NO). :param implicit: The implicit of this User. :type: str rrrTN)rrI)rMr1rUrOrOrPr1s  cCs|jS)a Gets the all_shared of this User. In a sharded database, indicates whether the user is created with shard DDL enabled (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 all_shared of this User. :rtype: str )rJrSrOrOrPr2s zUser.all_sharedcCs ddg}t||sd}||_dS)z Sets the all_shared of this User. In a sharded database, indicates whether the user is created with shard DDL enabled (YES) or not (NO). :param all_shared: The all_shared of this User. :type: str rrrTN)rrJ)rMr2rUrOrOrPr2s  cCs|jS)a Gets the external_shared of this User. In a federated sharded database, indicates whether the user is an external shard 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 external_shared of this User. :rtype: str )rKrSrOrOrPr3s zUser.external_sharedcCs ddg}t||sd}||_dS)a Sets the external_shared of this User. In a federated sharded database, indicates whether the user is an external shard user (YES) or not (NO). :param external_shared: The external_shared of this User. :type: str rrrTN)rrK)rMr3rUrOrOrPr3s  cCs|jS)aU Gets the time_password_changed of this User. The date and time when the user password was last set. This column is populated only when the value of the AUTHENTICATION_TYPE column is PASSWORD. Otherwise, this column is null. :return: The time_password_changed of this User. :rtype: datetime rLrSrOrOrPr4s zUser.time_password_changedcCs ||_dS)ai Sets the time_password_changed of this User. The date and time when the user password was last set. This column is populated only when the value of the AUTHENTICATION_TYPE column is PASSWORD. Otherwise, this column is null. :param time_password_changed: The time_password_changed of this User. :type: datetime Nrb)rMr4rOrOrPr4s cCst|SN)rrSrOrOrP__repr__sz User.__repr__cCs|dur dS|j|jkS)NF)__dict__rMotherrOrOrP__eq__sz User.__eq__cCs ||k SrcrOrfrOrOrP__ne__sz User.__ne__N)E__name__ __module__ __qualname____doc__Z STATUS_OPENZSTATUS_EXPIREDZSTATUS_EXPIRED_GRACEZ STATUS_LOCKEDZSTATUS_LOCKED_TIMEDZSTATUS_EXPIRED_AND_LOCKEDZSTATUS_EXPIRED_GRACE_AND_LOCKEDZSTATUS_EXPIRED_AND_LOCKED_TIMEDZ%STATUS_EXPIRED_GRACE_AND_LOCKED_TIMEDZSTATUS_OPEN_AND_IN_ROLLOVERZSTATUS_EXPIRED_AND_IN_ROLLOVERZSTATUS_LOCKED_AND_IN_ROLLOVERZ)STATUS_EXPIRED_AND_LOCKED_AND_IN_ROLLOVERZ#STATUS_LOCKED_TIMED_AND_IN_ROLLOVERZ*STATUS_EXPIRED_AND_LOCKED_TIMED_AND_IN_ROLZEDITIONS_ENABLED_YESZEDITIONS_ENABLED_NOZAUTHENTICATION_NONEZAUTHENTICATION_EXTERNALZAUTHENTICATION_GLOBALZAUTHENTICATION_PASSWORDZPROXY_CONNECT_YESZPROXY_CONNECT_NOZ COMMON_YESZ COMMON_NOZORACLE_MAINTAINED_YESZORACLE_MAINTAINED_NOZ INHERITED_YESZ INHERITED_NOZ IMPLICIT_YESZ IMPLICIT_NOZALL_SHARED_YESZ ALL_SHARED_NOZEXTERNAL_SHARED_YESZEXTERNAL_SHARED_NOrQpropertyrsetterrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4rdrhrirOrOrOrPr sJ                                                rN)Zoci.utilrrrZoci.decoratorsrobjectrrOrOrOrPs