ruạṛ
a ���f<Z � @ 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 dZd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Z e jd7d6� �Z ed8d9� �Z!e!jd:d9� �Z!ed;d<� �Z"e"jd=d<� �Z"ed>d?� �Z#e#jd@d?� �Z#edAdB� �Z$e$jdCdB� �Z$dDdE� Z%dFdG� Z&dHdI� Z'dJS )K� SqlCollectionu� The resource represents SQL collection for a specific database user in a target. SqlCollection encapsulates the SQL commands issued in the user’s database sessions, and its execution context. �ENABLED�DISABLED�USER_ISSUED_SQL�ALL_SQL�CREATING�UPDATING� COLLECTING� COMPLETED�INACTIVE�FAILED�DELETING�DELETED�NEEDS_ATTENTIONc K s� dddddddddddddddddd�| _ dddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )ai Initializes a new SqlCollection 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 SqlCollection. :type id: str :param compartment_id: The value to assign to the compartment_id property of this SqlCollection. :type compartment_id: str :param display_name: The value to assign to the display_name property of this SqlCollection. :type display_name: str :param description: The value to assign to the description property of this SqlCollection. :type description: str :param target_id: The value to assign to the target_id property of this SqlCollection. :type target_id: str :param status: The value to assign to the status property of this SqlCollection. Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param db_user_name: The value to assign to the db_user_name property of this SqlCollection. :type db_user_name: str :param time_last_started: The value to assign to the time_last_started property of this SqlCollection. :type time_last_started: datetime :param time_last_stopped: The value to assign to the time_last_stopped property of this SqlCollection. :type time_last_stopped: datetime :param sql_level: The value to assign to the sql_level property of this SqlCollection. Allowed values for this property are: "USER_ISSUED_SQL", "ALL_SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type sql_level: str :param time_created: The value to assign to the time_created property of this SqlCollection. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this SqlCollection. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this SqlCollection. Allowed values for this property are: "CREATING", "UPDATING", "COLLECTING", "COMPLETED", "INACTIVE", "FAILED", "DELETING", "DELETED", "NEEDS_ATTENTION", '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 SqlCollection. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this SqlCollection. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this SqlCollection. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this SqlCollection. :type system_tags: dict(str, dict(str, object)) �strZdatetimezdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�description� target_id�status�db_user_name�time_last_started�time_last_stopped� sql_level�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr Z compartmentIdZdisplayNamer ZtargetIdr Z dbUserNameZtimeLastStartedZtimeLastStoppedZsqlLevelZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_compartment_id� _display_name�_description� _target_id�_status� _db_user_name�_time_last_started�_time_last_stopped� _sql_level� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r9 �G/usr/lib/python3.9/site-packages/oci/data_safe/models/sql_collection.py�__init__G sj Q��zSqlCollection.__init__c C s | j S )z� **[Required]** Gets the id of this SqlCollection. The OCID of the SQL collection. :return: The id of this SqlCollection. :rtype: str �r&