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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zed-d.� �Z e jd/d.� �Z ed0d1� �Z!e!jd2d1� �Z!ed3d4� �Z"e"jd5d4� �Z"ed6d7� �Z#e#jd8d7� �Z#ed9d:� �Z$e$jd;d:� �Z$ed<d=� �Z%e%jd>d=� �Z%ed?d@� �Z&e&jdAd@� �Z&edBdC� �Z'e'jdDdC� �Z'edEdF� �Z(e(jdGdF� �Z(dHdI� Z)dJdK� Z*dLdM� Z+dNS )O�AuditTrailSummaryz$ Summary of an audit trail. �STARTING� COLLECTING� RECOVERING�IDLE�STOPPING�STOPPED�RESUMING�RETRYING�NOT_STARTED�STOPPED_NEEDS_ATTN�STOPPED_FAILED�INACTIVE�UPDATING�ACTIVE�DELETING�FAILED�NEEDS_ATTENTIONc K s� dddddddddddddddddd�| _ dd d ddd dddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new AuditTrailSummary 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 AuditTrailSummary. :type id: str :param audit_profile_id: The value to assign to the audit_profile_id property of this AuditTrailSummary. :type audit_profile_id: str :param display_name: The value to assign to the display_name property of this AuditTrailSummary. :type display_name: str :param time_created: The value to assign to the time_created property of this AuditTrailSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AuditTrailSummary. :type time_updated: datetime :param status: The value to assign to the status property of this AuditTrailSummary. Allowed values for this property are: "STARTING", "COLLECTING", "RECOVERING", "IDLE", "STOPPING", "STOPPED", "RESUMING", "RETRYING", "NOT_STARTED", "STOPPED_NEEDS_ATTN", "STOPPED_FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param description: The value to assign to the description property of this AuditTrailSummary. :type description: str :param trail_location: The value to assign to the trail_location property of this AuditTrailSummary. :type trail_location: str :param compartment_id: The value to assign to the compartment_id property of this AuditTrailSummary. :type compartment_id: str :param target_id: The value to assign to the target_id property of this AuditTrailSummary. :type target_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this AuditTrailSummary. Allowed values for this property are: "INACTIVE", "UPDATING", "ACTIVE", "DELETING", "FAILED", "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 AuditTrailSummary. :type lifecycle_details: str :param is_auto_purge_enabled: The value to assign to the is_auto_purge_enabled property of this AuditTrailSummary. :type is_auto_purge_enabled: bool :param audit_collection_start_time: The value to assign to the audit_collection_start_time property of this AuditTrailSummary. :type audit_collection_start_time: datetime :param peer_target_database_key: The value to assign to the peer_target_database_key property of this AuditTrailSummary. :type peer_target_database_key: int :param freeform_tags: The value to assign to the freeform_tags property of this AuditTrailSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AuditTrailSummary. :type defined_tags: dict(str, dict(str, object)) �strZdatetime�bool�intzdict(str, str)zdict(str, dict(str, object)))�id�audit_profile_id�display_name�time_created�time_updated�status�description�trail_location�compartment_id� target_id�lifecycle_state�lifecycle_details�is_auto_purge_enabled�audit_collection_start_time�peer_target_database_key� freeform_tags�defined_tagsr ZauditProfileIdZdisplayNameZtimeCreatedZtimeUpdatedr r! Z trailLocationZ compartmentIdZtargetIdZlifecycleStateZlifecycleDetailsZisAutoPurgeEnabledZauditCollectionStartTimeZpeerTargetDatabaseKeyZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_id�_audit_profile_id� _display_name� _time_created� _time_updated�_status�_description�_trail_location�_compartment_id� _target_id�_lifecycle_state�_lifecycle_details�_is_auto_purge_enabled�_audit_collection_start_time�_peer_target_database_key�_freeform_tags� _defined_tags)�self�kwargs� r? �L/usr/lib/python3.9/site-packages/oci/data_safe/models/audit_trail_summary.py�__init__V sj O��zAuditTrailSummary.__init__c C s | j S )z� **[Required]** Gets the id of this AuditTrailSummary. The OCID of the audit trail. :return: The id of this AuditTrailSummary. :rtype: str �r, �r= r? r? r@ r � s zAuditTrailSummary.idc C s || _ dS )z� Sets the id of this AuditTrailSummary. The OCID of the audit trail. :param id: The id of this AuditTrailSummary. :type: str NrB )r= r r? r? r@ r � s c C s | j S )z� **[Required]** Gets the audit_profile_id of this AuditTrailSummary. The OCID of the parent audit. :return: The audit_profile_id of this AuditTrailSummary. :rtype: str �r- rC r? r? r@ r � s z"AuditTrailSummary.audit_profile_idc C s || _ dS )z� Sets the audit_profile_id of this AuditTrailSummary. The OCID of the parent audit. :param audit_profile_id: The audit_profile_id of this AuditTrailSummary. :type: str NrD )r= r r? r? r@ r s c C s | j S )z� **[Required]** Gets the display_name of this AuditTrailSummary. The display name of the audit trail. :return: The display_name of this AuditTrailSummary. :rtype: str �r. rC r? r? r@ r s zAuditTrailSummary.display_namec C s || _ dS )z� Sets the display_name of this AuditTrailSummary. The display name of the audit trail. :param display_name: The display_name of this AuditTrailSummary. :type: str NrE )r= r r? r? r@ r s c C s | j S )a **[Required]** Gets the time_created of this AuditTrailSummary. The date and time the audit trail was created, in the format defined by RFC3339. :return: The time_created of this AuditTrailSummary. :rtype: datetime �r/ rC r? r? r@ r & s zAuditTrailSummary.time_createdc C s || _ dS )z� Sets the time_created of this AuditTrailSummary. The date and time the audit trail was created, in the format defined by RFC3339. :param time_created: The time_created of this AuditTrailSummary. :type: datetime NrF )r= r r? r? r@ r 2 s c C s | j S )a **[Required]** Gets the time_updated of this AuditTrailSummary. The date and time the audit trail was updated, in the format defined by RFC3339. :return: The time_updated of this AuditTrailSummary. :rtype: datetime �r0 rC r? r? r@ r > s zAuditTrailSummary.time_updatedc C s || _ dS )z� Sets the time_updated of this AuditTrailSummary. The date and time the audit trail was updated, in the format defined by RFC3339. :param time_updated: The time_updated of this AuditTrailSummary. :type: datetime NrG )r= r r? r? r@ r J s c C s | j S )a **[Required]** Gets the status of this AuditTrailSummary. The current sub-state of the audit trail. Allowed values for this property are: "STARTING", "COLLECTING", "RECOVERING", "IDLE", "STOPPING", "STOPPED", "RESUMING", "RETRYING", "NOT_STARTED", "STOPPED_NEEDS_ATTN", "STOPPED_FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this AuditTrailSummary. :rtype: str )r1 rC r? r? r@ r V s zAuditTrailSummary.statusc C s g d�}t ||�sd}|| _dS )z� Sets the status of this AuditTrailSummary. The current sub-state of the audit trail. :param status: The status of this AuditTrailSummary. :type: str )r r r r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r1 )r= r �allowed_valuesr? r? r@ r e s c C s | j S )z� Gets the description of this AuditTrailSummary. The description of audit trail. :return: The description of this AuditTrailSummary. :rtype: str �r2 rC r? r? r@ r! t s zAuditTrailSummary.descriptionc C s || _ dS )z� Sets the description of this AuditTrailSummary. The description of audit trail. :param description: The description of this AuditTrailSummary. :type: str NrJ )r= r! r? r? r@ r! � s c C s | j S )a9 Gets the trail_location of this AuditTrailSummary. An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database. :return: The trail_location of this AuditTrailSummary. :rtype: str �r3 rC r? r? r@ r"