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 dZdZd d� Zedd� �Zejdd� �Zedd� �Zejdd� �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.� �Zejd/d.� �Zed0d1� �Zejd2d1� �Zed3d4� �Zejd5d4� �Zed6d7� �Z e jd8d7� �Z ed9d:� �Z!e!jd;d:� �Z!ed<d=� �Z"e"jd>d=� �Z"ed?d@� �Z#e#jdAd@� �Z#dBdC� Z$dDdE� Z%dFdG� Z&dHS )I�Replicationa� Replications are the primary resource that governs the policy of cross-region replication between source and target file systems. Replications are associated with a secondary resource called a :class:`ReplicationTarget` located in another availability domain in the same or different region. The replication retrieves the delta of data between two snapshots of a source file system and sends it to the associated `ReplicationTarget`, which applies it to the target file system. For more information, see `File System Replication`__. __ https://docs.cloud.oracle.com/iaas/Content/File/Tasks/FSreplication.htm �CREATING�ACTIVE�DELETING�DELETED�FAILED�IDLE� CAPTURING�APPLYING� SERVICE_ERROR� USER_ERROR�TRANSFERRINGc K s� dddddddddddddddddd�| _ ddd d ddd ddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new Replication object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this Replication. :type compartment_id: str :param availability_domain: The value to assign to the availability_domain property of this Replication. :type availability_domain: str :param id: The value to assign to the id property of this Replication. :type id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Replication. Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param display_name: The value to assign to the display_name property of this Replication. :type display_name: str :param time_created: The value to assign to the time_created property of this Replication. :type time_created: datetime :param source_id: The value to assign to the source_id property of this Replication. :type source_id: str :param target_id: The value to assign to the target_id property of this Replication. :type target_id: str :param replication_target_id: The value to assign to the replication_target_id property of this Replication. :type replication_target_id: str :param replication_interval: The value to assign to the replication_interval property of this Replication. :type replication_interval: int :param last_snapshot_id: The value to assign to the last_snapshot_id property of this Replication. :type last_snapshot_id: str :param recovery_point_time: The value to assign to the recovery_point_time property of this Replication. :type recovery_point_time: datetime :param delta_status: The value to assign to the delta_status property of this Replication. Allowed values for this property are: "IDLE", "CAPTURING", "APPLYING", "SERVICE_ERROR", "USER_ERROR", "FAILED", "TRANSFERRING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type delta_status: str :param lifecycle_details: The value to assign to the lifecycle_details property of this Replication. :type lifecycle_details: str :param delta_progress: The value to assign to the delta_progress property of this Replication. :type delta_progress: int :param freeform_tags: The value to assign to the freeform_tags property of this Replication. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Replication. :type defined_tags: dict(str, dict(str, object)) �strZdatetime�intzdict(str, str)zdict(str, dict(str, object)))�compartment_id�availability_domain�id�lifecycle_state�display_name�time_created� source_id� target_id�replication_target_id�replication_interval�last_snapshot_id�recovery_point_time�delta_status�lifecycle_details�delta_progress� freeform_tags�defined_tagsZ compartmentIdZavailabilityDomainr ZlifecycleStateZdisplayNameZtimeCreatedZsourceIdZtargetIdZreplicationTargetIdZreplicationIntervalZlastSnapshotIdZrecoveryPointTimeZdeltaStatusZlifecycleDetailsZ deltaProgressZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_compartment_id�_availability_domain�_id�_lifecycle_state� _display_name� _time_created� _source_id� _target_id�_replication_target_id�_replication_interval�_last_snapshot_id�_recovery_point_time� _delta_status�_lifecycle_details�_delta_progress�_freeform_tags� _defined_tags)�self�kwargs� r8 �G/usr/lib/python3.9/site-packages/oci/file_storage/models/replication.py�__init__I sj O��zReplication.__init__c C s | j S )a6 **[Required]** Gets the compartment_id of this Replication. The `OCID`__ of the compartment that contains the replication. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Replication. :rtype: str �r% �r6 r8 r8 r9 r � s zReplication.compartment_idc C s || _ dS )a4 Sets the compartment_id of this Replication. The `OCID`__ of the compartment that contains the replication. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Replication. :type: str Nr; )r6 r r8 r8 r9 r � s c C s | j S )a Gets the availability_domain of this Replication. The availability domain that contains the replication. May be unset as a blank or `NULL` value. Example: `Uocm:PHX-AD-2` :return: The availability_domain of this Replication. :rtype: str �r&