ruạṛ
a N��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 �str�datetime�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_details�availabilityDomain� compartmentIdr �lifecycleState�displayName�timeCreated�sourceId�targetId� replicationId�lastSnapshotId�recoveryPointTime�deltaStatus� deltaProgress�freeformTags�definedTags�lifecycleDetailsN)� swagger_types� 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� rH ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/file_storage/models/replication_target.py�__init__J 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 �r6 �rF rH rH rI 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 NrK )rF r rH rH rI 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 �r7 rL rH rH rI 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 NrM )rF r rH rH rI 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 �r8 rL rH rH rI r s zReplicationTarget.idc C s || _ dS )z� Sets the id of this ReplicationTarget. The `OCID`__ of the replication. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this ReplicationTarget. :type: str NrN )rF r rH rH rI r s c C s | j S )a� **[Required]** Gets the lifecycle_state of this ReplicationTarget. The current state 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'. :return: The lifecycle_state of this ReplicationTarget. :rtype: str )r9 rL rH rH rI r ! s z!ReplicationTarget.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this ReplicationTarget. The current state of this replication. :param lifecycle_state: The lifecycle_state of this ReplicationTarget. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r9 )rF r �allowed_valuesrH rH rI r 0 s c C s | j S )a3 **[Required]** Gets the display_name of this ReplicationTarget. A user-friendly name. This name is same as the replication display name for the associated resource. Example: `My Replication` :return: The display_name of this ReplicationTarget. :rtype: str �r: rL rH rH rI r ? s zReplicationTarget.display_namec C s || _ dS )a/ Sets the display_name of this ReplicationTarget. A user-friendly name. This name is same as the replication display name for the associated resource. Example: `My Replication` :param display_name: The display_name of this ReplicationTarget. :type: str NrQ )rF r rH rH rI r L s c C s | j S )a} **[Required]** Gets the time_created of this ReplicationTarget. The date and time the replication target was created in target region. in `RFC 3339`__ timestamp format. Example: `2021-01-04T20:01:29.100Z` __ https://tools.ietf.org/rfc/rfc3339 :return: The time_created of this ReplicationTarget. :rtype: datetime �r; rL rH rH rI r Y s zReplicationTarget.time_createdc C s || _ dS )ay Sets the time_created of this ReplicationTarget. The date and time the replication target was created in target region. in `RFC 3339`__ timestamp format. Example: `2021-01-04T20:01:29.100Z` __ https://tools.ietf.org/rfc/rfc3339 :param time_created: The time_created of this ReplicationTarget. :type: datetime NrR )rF r rH rH rI r i s c C s | j S )a **[Required]** Gets the source_id of this ReplicationTarget. The `OCID`__ of source filesystem. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The source_id of this ReplicationTarget. :rtype: str �r<