ruạṛ
a ���f�I � @ 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 d � Zedd� �Z e jd d� �Z edd� �Zejdd� �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� �Zd5d6� Zd7d8� Zd9d:� Zd;S )<�DatabaseSecurityConfiga? Database Security Configurations resource represents the target database configurations. Included in the Database Security Configurations are the SQL Firewall configurations such as the status of the firewall, the time that the firewall status was last updated, violation log auto purge settings, etc. �CREATING�UPDATING�ACTIVE�FAILED�NEEDS_ATTENTION�DELETING�DELETEDc K s� ddddddddddddddd�| _ ddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a� Initializes a new DatabaseSecurityConfig 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 DatabaseSecurityConfig. :type id: str :param compartment_id: The value to assign to the compartment_id property of this DatabaseSecurityConfig. :type compartment_id: str :param display_name: The value to assign to the display_name property of this DatabaseSecurityConfig. :type display_name: str :param description: The value to assign to the description property of this DatabaseSecurityConfig. :type description: str :param target_id: The value to assign to the target_id property of this DatabaseSecurityConfig. :type target_id: str :param time_last_refreshed: The value to assign to the time_last_refreshed property of this DatabaseSecurityConfig. :type time_last_refreshed: datetime :param time_created: The value to assign to the time_created property of this DatabaseSecurityConfig. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DatabaseSecurityConfig. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this DatabaseSecurityConfig. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "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 DatabaseSecurityConfig. :type lifecycle_details: str :param sql_firewall_config: The value to assign to the sql_firewall_config property of this DatabaseSecurityConfig. :type sql_firewall_config: oci.data_safe.models.SqlFirewallConfig :param freeform_tags: The value to assign to the freeform_tags property of this DatabaseSecurityConfig. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DatabaseSecurityConfig. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DatabaseSecurityConfig. :type system_tags: dict(str, dict(str, object)) �strZdatetimeZSqlFirewallConfigzdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�description� target_id�time_last_refreshed�time_created�time_updated�lifecycle_state�lifecycle_details�sql_firewall_config� freeform_tags�defined_tags�system_tagsr Z compartmentIdZdisplayNamer ZtargetIdZtimeLastRefreshedZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZsqlFirewallConfigZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_compartment_id� _display_name�_description� _target_id�_time_last_refreshed� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_sql_firewall_config�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r- �Q/usr/lib/python3.9/site-packages/oci/data_safe/models/database_security_config.py�__init__0 sX A��zDatabaseSecurityConfig.__init__c C s | j S )z� **[Required]** Gets the id of this DatabaseSecurityConfig. The OCID of the database security config. :return: The id of this DatabaseSecurityConfig. :rtype: str �r �r+ r- r- r. r � s zDatabaseSecurityConfig.idc C s || _ dS )z� Sets the id of this DatabaseSecurityConfig. The OCID of the database security config. :param id: The id of this DatabaseSecurityConfig. :type: str Nr0 )r+ r r- r- r. r � s c C s | j S )z� **[Required]** Gets the compartment_id of this DatabaseSecurityConfig. The OCID of the compartment containing the database security config. :return: The compartment_id of this DatabaseSecurityConfig. :rtype: str �r r1 r- r- r. r � s z%DatabaseSecurityConfig.compartment_idc C s || _ dS )z� Sets the compartment_id of this DatabaseSecurityConfig. The OCID of the compartment containing the database security config. :param compartment_id: The compartment_id of this DatabaseSecurityConfig. :type: str Nr2 )r+ r r- r- r. r � s c C s | j S )z� **[Required]** Gets the display_name of this DatabaseSecurityConfig. The display name of the database security config. :return: The display_name of this DatabaseSecurityConfig. :rtype: str �r r1 r- r- r. r � s z#DatabaseSecurityConfig.display_namec C s || _ dS )z� Sets the display_name of this DatabaseSecurityConfig. The display name of the database security config. :param display_name: The display_name of this DatabaseSecurityConfig. :type: str Nr3 )r+ r r- r- r. r � s c C s | j S )z� Gets the description of this DatabaseSecurityConfig. The description of the database security config. :return: The description of this DatabaseSecurityConfig. :rtype: str �r r1 r- r- r. r � s z"DatabaseSecurityConfig.descriptionc C s || _ dS )z� Sets the description of this DatabaseSecurityConfig. The description of the database security config. :param description: The description of this DatabaseSecurityConfig. :type: str Nr4 )r+ r r- r- r. r � s c C s | j S )z� **[Required]** Gets the target_id of this DatabaseSecurityConfig. The target OCID corresponding to the database security config. :return: The target_id of this DatabaseSecurityConfig. :rtype: str �r! r1 r- r- r. r s z DatabaseSecurityConfig.target_idc C s || _ dS )z� Sets the target_id of this DatabaseSecurityConfig. The target OCID corresponding to the database security config. :param target_id: The target_id of this DatabaseSecurityConfig. :type: str Nr5 )r+ r r- r- r. r s c C s | j S )a Gets the time_last_refreshed of this DatabaseSecurityConfig. The last date and time the database security config was refreshed, in the format defined by RFC3339. :return: The time_last_refreshed of this DatabaseSecurityConfig. :rtype: datetime �r"