ruạṛ
a ���f H � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Operator� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zd.d/� Zd0d1� Zd2d3� Zd4S )5�Targetz� The information about the target operator. The target operator lets you specify the data entity to store the transformed data. �TRUNCATE�MERGE�BACKUP� OVERWRITE�APPEND�IGNOREc K s ddddddddddddddd d d d dddd dddd �| _ ddddddddddddddddddd d!d"d#d$d%d&d �| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _ d'| _ d'| _d'| _d'| _ d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d(| _d'S ))a5 Initializes a new Target object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.Target.model_type` attribute of this class is ``TARGET_OPERATOR`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param model_type: The value to assign to the model_type property of this Target. Allowed values for this property are: "SOURCE_OPERATOR", "FILTER_OPERATOR", "JOINER_OPERATOR", "AGGREGATOR_OPERATOR", "PROJECTION_OPERATOR", "TARGET_OPERATOR", "FLATTEN_OPERATOR", "DISTINCT_OPERATOR", "SORT_OPERATOR", "UNION_OPERATOR", "INTERSECT_OPERATOR", "MINUS_OPERATOR", "MERGE_OPERATOR", "FUNCTION_OPERATOR", "SPLIT_OPERATOR", "START_OPERATOR", "END_OPERATOR", "PIPELINE_OPERATOR", "DECISION_OPERATOR", "TASK_OPERATOR", "EXPRESSION_OPERATOR", "LOOKUP_OPERATOR", "PIVOT_OPERATOR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type model_type: str :param key: The value to assign to the key property of this Target. :type key: str :param model_version: The value to assign to the model_version property of this Target. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this Target. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this Target. :type name: str :param description: The value to assign to the description property of this Target. :type description: str :param object_version: The value to assign to the object_version property of this Target. :type object_version: int :param input_ports: The value to assign to the input_ports property of this Target. :type input_ports: list[oci.data_integration.models.InputPort] :param output_ports: The value to assign to the output_ports property of this Target. :type output_ports: list[oci.data_integration.models.TypedObject] :param object_status: The value to assign to the object_status property of this Target. :type object_status: int :param identifier: The value to assign to the identifier property of this Target. :type identifier: str :param parameters: The value to assign to the parameters property of this Target. :type parameters: list[oci.data_integration.models.Parameter] :param op_config_values: The value to assign to the op_config_values property of this Target. :type op_config_values: oci.data_integration.models.ConfigValues :param entity: The value to assign to the entity property of this Target. :type entity: oci.data_integration.models.DataEntity :param is_read_access: The value to assign to the is_read_access property of this Target. :type is_read_access: bool :param is_copy_fields: The value to assign to the is_copy_fields property of this Target. :type is_copy_fields: bool :param is_predefined_shape: The value to assign to the is_predefined_shape property of this Target. :type is_predefined_shape: bool :param is_use_same_source_name: The value to assign to the is_use_same_source_name property of this Target. :type is_use_same_source_name: bool :param target_entity_name_prefix: The value to assign to the target_entity_name_prefix property of this Target. :type target_entity_name_prefix: str :param target_entity_name_suffix: The value to assign to the target_entity_name_suffix property of this Target. :type target_entity_name_suffix: str :param data_property: The value to assign to the data_property property of this Target. Allowed values for this property are: "TRUNCATE", "MERGE", "BACKUP", "OVERWRITE", "APPEND", "IGNORE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type data_property: str :param schema_drift_config: The value to assign to the schema_drift_config property of this Target. :type schema_drift_config: oci.data_integration.models.SchemaDriftConfig :param fixed_data_shape: The value to assign to the fixed_data_shape property of this Target. :type fixed_data_shape: oci.data_integration.models.Shape :param write_operation_config: The value to assign to the write_operation_config property of this Target. :type write_operation_config: oci.data_integration.models.WriteOperationConfig :param load_order: The value to assign to the load_order property of this Target. :type load_order: int �strZParentReference�intzlist[InputPort]zlist[TypedObject]zlist[Parameter]ZConfigValuesZ DataEntity�boolZSchemaDriftConfigZShapeZWriteOperationConfig)Z model_type�keyZ model_versionZ parent_ref�name�descriptionZobject_versionZinput_portsZoutput_portsZ object_status� identifier� parametersZop_config_values�entity�is_read_access�is_copy_fields�is_predefined_shape�is_use_same_source_name�target_entity_name_prefix�target_entity_name_suffix� data_property�schema_drift_config�fixed_data_shape�write_operation_config� load_orderZ modelTyper ZmodelVersionZ parentRefr r Z objectVersionZ inputPortsZoutputPortsZobjectStatusr r ZopConfigValuesr ZisReadAccessZisCopyFieldsZisPredefinedShapeZisUseSameSourceNameZtargetEntityNamePrefixZtargetEntityNameSuffixZdataPropertyZschemaDriftConfigZfixedDataShapeZwriteOperationConfigZ loadOrderNZTARGET_OPERATOR)Z swagger_typesZ attribute_mapZ_model_typeZ_keyZ_model_versionZ_parent_ref�_nameZ_descriptionZ_object_versionZ_input_portsZ _output_portsZ_object_statusZ_identifierZ_parametersZ_op_config_values�_entity�_is_read_access�_is_copy_fields�_is_predefined_shape�_is_use_same_source_name�_target_entity_name_prefix�_target_entity_name_suffix�_data_property�_schema_drift_config�_fixed_data_shape�_write_operation_config�_load_order)�self�kwargs� r2 �F/usr/lib/python3.9/site-packages/oci/data_integration/models/target.py�__init__* s� p��zTarget.__init__c C s | j S )z� Gets the entity of this Target. :return: The entity of this Target. :rtype: oci.data_integration.models.DataEntity �r$ �r0 r2 r2 r3 r � s z Target.entityc C s || _ dS )z� Sets the entity of this Target. :param entity: The entity of this Target. :type: oci.data_integration.models.DataEntity Nr5 )r0 r r2 r2 r3 r � s c C s | j S )z� Gets the is_read_access of this Target. Specifies the read access. :return: The is_read_access of this Target. :rtype: bool �r% r6 r2 r2 r3 r s zTarget.is_read_accessc C s || _ dS )z� Sets the is_read_access of this Target. Specifies the read access. :param is_read_access: The is_read_access of this Target. :type: bool Nr7 )r0 r r2 r2 r3 r s c C s | j S )z� Gets the is_copy_fields of this Target. Specifies the copy fields. :return: The is_copy_fields of this Target. :rtype: bool �r&