ruạṛ
a ���fe] � @ 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<� �Zed>d?� �Zejd@d?� �ZdAdB� Z dCdD� Z!dEdF� Z"dGS )H�AuditProfilea= The resource represents audit profile settings and audit configurations for the database target, and helps evaluate the initial audit data volume for configuring collection in Data Safe. The resource is also responsible for auto-discovery of audit trails in the database target during target's registration. �CREATING�UPDATING�ACTIVE�DELETING�FAILED�NEEDS_ATTENTION�DELETEDc K s� ddddddddddddddddddd�| _ d d ddd dddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS )a� Initializes a new AuditProfile 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 AuditProfile. :type id: str :param compartment_id: The value to assign to the compartment_id property of this AuditProfile. :type compartment_id: str :param display_name: The value to assign to the display_name property of this AuditProfile. :type display_name: str :param time_created: The value to assign to the time_created property of this AuditProfile. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AuditProfile. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this AuditProfile. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "FAILED", "NEEDS_ATTENTION", "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 AuditProfile. :type lifecycle_details: str :param target_id: The value to assign to the target_id property of this AuditProfile. :type target_id: str :param description: The value to assign to the description property of this AuditProfile. :type description: str :param audit_trails: The value to assign to the audit_trails property of this AuditProfile. :type audit_trails: list[oci.data_safe.models.AuditTrail] :param is_paid_usage_enabled: The value to assign to the is_paid_usage_enabled property of this AuditProfile. :type is_paid_usage_enabled: bool :param online_months: The value to assign to the online_months property of this AuditProfile. :type online_months: int :param offline_months: The value to assign to the offline_months property of this AuditProfile. :type offline_months: int :param audit_collected_volume: The value to assign to the audit_collected_volume property of this AuditProfile. :type audit_collected_volume: int :param is_override_global_retention_setting: The value to assign to the is_override_global_retention_setting property of this AuditProfile. :type is_override_global_retention_setting: bool :param freeform_tags: The value to assign to the freeform_tags property of this AuditProfile. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AuditProfile. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this AuditProfile. :type system_tags: dict(str, dict(str, object)) �strZdatetimezlist[AuditTrail]�bool�intzdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�time_created�time_updated�lifecycle_state�lifecycle_details� target_id�description�audit_trails�is_paid_usage_enabled� online_months�offline_months�audit_collected_volume�$is_override_global_retention_setting� freeform_tags�defined_tags�system_tagsr Z compartmentIdZdisplayNameZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZtargetIdr ZauditTrailsZisPaidUsageEnabledZonlineMonthsZ offlineMonthsZauditCollectedVolumeZ isOverrideGlobalRetentionSettingZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_compartment_id� _display_name� _time_created� _time_updated�_lifecycle_state�_lifecycle_details� _target_id�_description� _audit_trails�_is_paid_usage_enabled�_online_months�_offline_months�_audit_collected_volume�%_is_override_global_retention_setting�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r7 �F/usr/lib/python3.9/site-packages/oci/data_safe/models/audit_profile.py�__init__. sp Q��zAuditProfile.__init__c C s | j S )z� **[Required]** Gets the id of this AuditProfile. The OCID of the audit profile. :return: The id of this AuditProfile. :rtype: str �r# �r5 r7 r7 r8 r � s zAuditProfile.idc C s || _ dS )z� Sets the id of this AuditProfile. The OCID of the audit profile. :param id: The id of this AuditProfile. :type: str Nr: )r5 r r7 r7 r8 r � s c C s | j S )z� **[Required]** Gets the compartment_id of this AuditProfile. The OCID of the compartment that contains the audit. :return: The compartment_id of this AuditProfile. :rtype: str �r$ r; r7 r7 r8 r � s zAuditProfile.compartment_idc C s || _ dS )z� Sets the compartment_id of this AuditProfile. The OCID of the compartment that contains the audit. :param compartment_id: The compartment_id of this AuditProfile. :type: str Nr<