ruạṛ
a ���f�W � @ 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� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zed;d<� �Zejd=d<� �Zd>d?� Zd@dA� Z dBdC� Z!dDS )E�AuditPolicya� The resource represents all available audit policies relevant for the target database with their corresponding audit conditions. The audit policies could be in any one of the following 3 states in the target database 1) Created and enabled 2) Created but not enabled 3) Not created For more details on available audit policies, refer to `documentation`__. __ https://docs.oracle.com/en/cloud/paas/data-safe/udscs/audit-policies.html#GUID-361A9A9A-7C21-4F5A-8945-9B3A0C472827 �CREATING�UPDATING�ACTIVE�FAILED�NEEDS_ATTENTION�DELETING�DELETEDc K s� dddddddddddddddddd�| _ d d ddd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new AuditPolicy 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 AuditPolicy. :type id: str :param compartment_id: The value to assign to the compartment_id property of this AuditPolicy. :type compartment_id: str :param display_name: The value to assign to the display_name property of this AuditPolicy. :type display_name: str :param description: The value to assign to the description property of this AuditPolicy. :type description: str :param time_created: The value to assign to the time_created property of this AuditPolicy. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AuditPolicy. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this AuditPolicy. 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 AuditPolicy. :type lifecycle_details: str :param target_id: The value to assign to the target_id property of this AuditPolicy. :type target_id: str :param is_data_safe_service_account_excluded: The value to assign to the is_data_safe_service_account_excluded property of this AuditPolicy. :type is_data_safe_service_account_excluded: bool :param time_last_provisioned: The value to assign to the time_last_provisioned property of this AuditPolicy. :type time_last_provisioned: datetime :param time_last_retrieved: The value to assign to the time_last_retrieved property of this AuditPolicy. :type time_last_retrieved: datetime :param audit_specifications: The value to assign to the audit_specifications property of this AuditPolicy. :type audit_specifications: list[oci.data_safe.models.AuditSpecification] :param audit_conditions: The value to assign to the audit_conditions property of this AuditPolicy. :type audit_conditions: list[oci.data_safe.models.AuditConditions] :param freeform_tags: The value to assign to the freeform_tags property of this AuditPolicy. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AuditPolicy. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this AuditPolicy. :type system_tags: dict(str, dict(str, object)) �strZdatetime�boolzlist[AuditSpecification]zlist[AuditConditions]zdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�description�time_created�time_updated�lifecycle_state�lifecycle_details� target_id�%is_data_safe_service_account_excluded�time_last_provisioned�time_last_retrieved�audit_specifications�audit_conditions� freeform_tags�defined_tags�system_tagsr Z compartmentIdZdisplayNamer ZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZtargetIdZ isDataSafeServiceAccountExcludedZtimeLastProvisionedZtimeLastRetrievedZauditSpecificationsZauditConditionsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_compartment_id� _display_name�_description� _time_created� _time_updated�_lifecycle_state�_lifecycle_details� _target_id�&_is_data_safe_service_account_excluded�_time_last_provisioned�_time_last_retrieved�_audit_specifications�_audit_conditions�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r4 �E/usr/lib/python3.9/site-packages/oci/data_safe/models/audit_policy.py�__init__5 sj M��zAuditPolicy.__init__c C s | j S )z� **[Required]** Gets the id of this AuditPolicy. The OCID of the audit policy. :return: The id of this AuditPolicy. :rtype: str �r! �r2 r4 r4 r5 r � s zAuditPolicy.idc C s || _ dS )z� Sets the id of this AuditPolicy. The OCID of the audit policy. :param id: The id of this AuditPolicy. :type: str Nr7 )r2 r r4 r4 r5 r � s c C s | j S )z� **[Required]** Gets the compartment_id of this AuditPolicy. The OCID of the compartment containing the audit policy. :return: The compartment_id of this AuditPolicy. :rtype: str �r"