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 ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Zdd� Zdd� Zdd� Zd S )!�DbCredentialz� Database credentials are needed for onboarding cloud database to identity. The DB credentials are used for DB authentication with the service. �CREATING�ACTIVE�DELETING�DELETEDc K sP ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new DbCredential object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this DbCredential. :type id: str :param user_id: The value to assign to the user_id property of this DbCredential. :type user_id: str :param time_created: The value to assign to the time_created property of this DbCredential. :type time_created: datetime :param time_expires: The value to assign to the time_expires property of this DbCredential. :type time_expires: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this DbCredential. Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this DbCredential. :type lifecycle_details: int �strZdatetime�int)�id�user_id�time_created�time_expires�lifecycle_state�lifecycle_detailsr ZuserIdZtimeCreatedZtimeExpiresZlifecycleStateZlifecycleDetailsN)Z swagger_typesZ attribute_map�_id�_user_id� _time_created� _time_expires�_lifecycle_state�_lifecycle_details)�self�kwargs� r �E/usr/lib/python3.9/site-packages/oci/identity/models/db_credential.py�__init__# s( !� � zDbCredential.__init__c C s | j S )z� Gets the id of this DbCredential. The OCID of the DB credential. :return: The id of this DbCredential. :rtype: str �r �r r r r r \ s zDbCredential.idc C s || _ dS )z� Sets the id of this DbCredential. The OCID of the DB credential. :param id: The id of this DbCredential. :type: str Nr )r r r r r r h s c C s | j S )z� Gets the user_id of this DbCredential. The OCID of the user the DB credential belongs to. :return: The user_id of this DbCredential. :rtype: str �r r r r r r t s zDbCredential.user_idc C s || _ dS )z� Sets the user_id of this DbCredential. The OCID of the user the DB credential belongs to. :param user_id: The user_id of this DbCredential. :type: str Nr )r r r r r r � s c C s | j S )a Gets the time_created of this DbCredential. Date and time the `DbCredential` object was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :return: The time_created of this DbCredential. :rtype: datetime �r r r r r r � s zDbCredential.time_createdc C s || _ dS )a' Sets the time_created of this DbCredential. Date and time the `DbCredential` object was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param time_created: The time_created of this DbCredential. :type: datetime Nr! )r r r r r r � s c C s | j S )a9 Gets the time_expires of this DbCredential. Date and time when this credential will expire, in the format defined by RFC3339. Null if it never expires. Example: `2016-08-25T21:10:29.600Z` :return: The time_expires of this DbCredential. :rtype: datetime �r r r r r r � s zDbCredential.time_expiresc C s || _ dS )aD Sets the time_expires of this DbCredential. Date and time when this credential will expire, in the format defined by RFC3339. Null if it never expires. Example: `2016-08-25T21:10:29.600Z` :param time_expires: The time_expires of this DbCredential. :type: datetime Nr"