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"d?d@� Z#dAdB� Z$dCdD� Z%dES )F�ReplicationTargeta+ Replication targets are associated with a primary resource called a :class:`Replication` 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. All operations (except `DELETE`) must be done using the associated replication resource. Deleting a `ReplicationTarget` allows the target file system to be exported. Deleting a `ReplicationTarget` does not delete the associated `Replication` resource, but places it in a `FAILED` state. 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� ddddddddddddddddd�| _ ddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )as Initializes a new ReplicationTarget object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param availability_domain: The value to assign to the availability_domain property of this ReplicationTarget. :type availability_domain: str :param compartment_id: The value to assign to the compartment_id property of this ReplicationTarget. :type compartment_id: str :param id: The value to assign to the id property of this ReplicationTarget. :type id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ReplicationTarget. 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 ReplicationTarget. :type display_name: str :param time_created: The value to assign to the time_created property of this ReplicationTarget. :type time_created: datetime :param source_id: The value to assign to the source_id property of this ReplicationTarget. :type source_id: str :param target_id: The value to assign to the target_id property of this ReplicationTarget. :type target_id: str :param replication_id: The value to assign to the replication_id property of this ReplicationTarget. :type replication_id: str :param last_snapshot_id: The value to assign to the last_snapshot_id property of this ReplicationTarget. :type last_snapshot_id: str :param recovery_point_time: The value to assign to the recovery_point_time property of this ReplicationTarget. :type recovery_point_time: datetime :param delta_status: The value to assign to the delta_status property of this ReplicationTarget. 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 delta_progress: The value to assign to the delta_progress property of this ReplicationTarget. :type delta_progress: int :param freeform_tags: The value to assign to the freeform_tags property of this ReplicationTarget. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ReplicationTarget. :type defined_tags: dict(str, dict(str, object)) :param lifecycle_details: The value to assign to the lifecycle_details property of this ReplicationTarget. :type lifecycle_details: str �strZdatetime�intzdict(str, str)zdict(str, dict(str, object)))�availability_domain�compartment_id�id�lifecycle_state�display_name�time_created� source_id� target_id�replication_id�last_snapshot_id�recovery_point_time�delta_status�delta_progress� freeform_tags�defined_tags�lifecycle_detailsZavailabilityDomainZ compartmentIdr ZlifecycleStateZdisplayNameZtimeCreatedZsourceIdZtargetIdZ replicationIdZlastSnapshotIdZrecoveryPointTimeZdeltaStatusZ deltaProgressZfreeformTagsZdefinedTagsZlifecycleDetailsN)Z swagger_typesZ attribute_map�_availability_domain�_compartment_id�_id�_lifecycle_state� _display_name� _time_created� _source_id� _target_id�_replication_id�_last_snapshot_id�_recovery_point_time� _delta_status�_delta_progress�_freeform_tags� _defined_tags�_lifecycle_details)�self�kwargs� r6 �N/usr/lib/python3.9/site-packages/oci/file_storage/models/replication_target.py�__init__L sd K��zReplicationTarget.__init__c C s | j S )a4 Gets the availability_domain of this ReplicationTarget. The availability domain the replication resource is in. May be unset as a blank or NULL value. Example: `Uocm:PHX-AD-1` :return: The availability_domain of this ReplicationTarget. :rtype: str �r$ �r4 r6 r6 r7 r � s z%ReplicationTarget.availability_domainc C s || _ dS )aF Sets the availability_domain of this ReplicationTarget. The availability domain the replication resource is in. May be unset as a blank or NULL value. Example: `Uocm:PHX-AD-1` :param availability_domain: The availability_domain of this ReplicationTarget. :type: str Nr9 )r4 r r6 r6 r7 r � s c C s | j S )aB **[Required]** Gets the compartment_id of this ReplicationTarget. 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 ReplicationTarget. :rtype: str �r% r: r6 r6 r7 r � s z ReplicationTarget.compartment_idc C s || _ dS )a@ Sets the compartment_id of this ReplicationTarget. 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 ReplicationTarget. :type: str Nr; )r4 r r6 r6 r7 r � s c C s | j S )a **[Required]** Gets the id of this ReplicationTarget. The `OCID`__ of the replication. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this ReplicationTarget. :rtype: str �r&