o
    ëÉ¶dÿ-  ã                   @   sD   d dl mZ ddlmZmZmZ ddlmZ eG dd„ deƒƒZdS )é   )ÚOperatoré    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sæ   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZed
d„ ƒZ	e	jdd„ ƒZ	edd„ ƒZ
e
jdd„ ƒZ
edd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZdd„ Zdd„ Zdd„ ZdS ) ÚSourcez2
    The information about the source object.
    c                 K   sr  i 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“ddddœ¥| _ i 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)“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 )/aª  
        Initializes a new Source object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.Source.model_type` attribute
        of this class is ``SOURCE_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 Source.
            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"
        :type model_type: str

        :param key:
            The value to assign to the key property of this Source.
        :type key: str

        :param model_version:
            The value to assign to the model_version property of this Source.
        :type model_version: str

        :param parent_ref:
            The value to assign to the parent_ref property of this Source.
        :type parent_ref: oci.data_integration.models.ParentReference

        :param name:
            The value to assign to the name property of this Source.
        :type name: str

        :param description:
            The value to assign to the description property of this Source.
        :type description: str

        :param object_version:
            The value to assign to the object_version property of this Source.
        :type object_version: int

        :param input_ports:
            The value to assign to the input_ports property of this Source.
        :type input_ports: list[oci.data_integration.models.InputPort]

        :param output_ports:
            The value to assign to the output_ports property of this Source.
        :type output_ports: list[oci.data_integration.models.TypedObject]

        :param object_status:
            The value to assign to the object_status property of this Source.
        :type object_status: int

        :param identifier:
            The value to assign to the identifier property of this Source.
        :type identifier: str

        :param parameters:
            The value to assign to the parameters property of this Source.
        :type parameters: list[oci.data_integration.models.Parameter]

        :param op_config_values:
            The value to assign to the op_config_values property of this Source.
        :type op_config_values: oci.data_integration.models.ConfigValues

        :param entity:
            The value to assign to the entity property of this Source.
        :type entity: oci.data_integration.models.DataEntity

        :param is_read_access:
            The value to assign to the is_read_access property of this Source.
        :type is_read_access: bool

        :param is_copy_fields:
            The value to assign to the is_copy_fields property of this Source.
        :type is_copy_fields: bool

        :param is_predefined_shape:
            The value to assign to the is_predefined_shape property of this Source.
        :type is_predefined_shape: bool

        :param schema_drift_config:
            The value to assign to the schema_drift_config property of this Source.
        :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 Source.
        :type fixed_data_shape: oci.data_integration.models.Shape

        :param read_operation_config:
            The value to assign to the read_operation_config property of this Source.
        :type read_operation_config: oci.data_integration.models.ReadOperationConfig

        Z
model_typeÚstrÚkeyZmodel_versionZ
parent_refZParentReferenceÚnameÚdescriptionZobject_versionÚintZinput_portszlist[InputPort]Zoutput_portszlist[TypedObject]Zobject_statusÚ
identifierÚ
parameterszlist[Parameter]Zop_config_valuesZConfigValuesÚentityZ
DataEntityÚis_read_accessÚboolÚis_copy_fieldsÚis_predefined_shapeZSchemaDriftConfigZShapeZReadOperationConfig)Úschema_drift_configÚfixed_data_shapeÚread_operation_configZ	modelTypeZmodelVersionZ	parentRefZobjectVersionZ
inputPortsZoutputPortsZobjectStatusZopConfigValuesZisReadAccessZisCopyFieldsZisPredefinedShapeZschemaDriftConfigZfixedDataShapeZreadOperationConfigNZSOURCE_OPERATOR)Zswagger_typesZattribute_mapZ_model_typeÚ_keyZ_model_versionZ_parent_refÚ_nameZ_descriptionZ_object_versionZ_input_portsZ_output_portsZ_object_statusZ_identifierÚ_parametersZ_op_config_valuesÚ_entityÚ_is_read_accessÚ_is_copy_fieldsÚ_is_predefined_shapeÚ_schema_drift_configÚ_fixed_data_shapeÚ_read_operation_config)ÚselfÚkwargs© r$   úFusr/lib/python3.10/site-packages/oci/data_integration/models/source.pyÚ__init__   sÆ   Xÿþýüûúùø	÷
öõôóòñðï
ìÿþýüûúùø	÷
öõôóòñðï
ì
zSource.__init__c                 C   ó   | j S )z•
        Gets the entity of this Source.

        :return: The entity of this Source.
        :rtype: oci.data_integration.models.DataEntity
        ©r   ©r"   r$   r$   r%   r   ®   ó   zSource.entityc                 C   ó
   || _ dS )zš
        Sets the entity of this Source.

        :param entity: The entity of this Source.
        :type: oci.data_integration.models.DataEntity
        Nr(   )r"   r   r$   r$   r%   r   ¸   ó   
c                 C   r'   )z§
        Gets the is_read_access of this Source.
        Specifies the read access.


        :return: The is_read_access of this Source.
        :rtype: bool
        ©r   r)   r$   r$   r%   r   Â   ó   
zSource.is_read_accessc                 C   r+   )z´
        Sets the is_read_access of this Source.
        Specifies the read access.


        :param is_read_access: The is_read_access of this Source.
        :type: bool
        Nr-   )r"   r   r$   r$   r%   r   Î   ó   

c                 C   r'   )z§
        Gets the is_copy_fields of this Source.
        Specifies the copy fields.


        :return: The is_copy_fields of this Source.
        :rtype: bool
        ©r   r)   r$   r$   r%   r   Ú   r.   zSource.is_copy_fieldsc                 C   r+   )z´
        Sets the is_copy_fields of this Source.
        Specifies the copy fields.


        :param is_copy_fields: The is_copy_fields of this Source.
        :type: bool
        Nr0   )r"   r   r$   r$   r%   r   æ   r/   c                 C   r'   )zÁ
        Gets the is_predefined_shape of this Source.
        Specifies if this uses a predefined shape.


        :return: The is_predefined_shape of this Source.
        :rtype: bool
        ©r   r)   r$   r$   r%   r   ò   r.   zSource.is_predefined_shapec                 C   r+   )zÓ
        Sets the is_predefined_shape of this Source.
        Specifies if this uses a predefined shape.


        :param is_predefined_shape: The is_predefined_shape of this Source.
        :type: bool
        Nr1   )r"   r   r$   r$   r%   r   þ   r/   c                 C   r'   )z¶
        Gets the schema_drift_config of this Source.

        :return: The schema_drift_config of this Source.
        :rtype: oci.data_integration.models.SchemaDriftConfig
        ©r   r)   r$   r$   r%   r   
  r*   zSource.schema_drift_configc                 C   r+   )zÈ
        Sets the schema_drift_config of this Source.

        :param schema_drift_config: The schema_drift_config of this Source.
        :type: oci.data_integration.models.SchemaDriftConfig
        Nr2   )r"   r   r$   r$   r%   r     r,   c                 C   r'   )z¤
        Gets the fixed_data_shape of this Source.

        :return: The fixed_data_shape of this Source.
        :rtype: oci.data_integration.models.Shape
        ©r    r)   r$   r$   r%   r     r*   zSource.fixed_data_shapec                 C   r+   )z³
        Sets the fixed_data_shape of this Source.

        :param fixed_data_shape: The fixed_data_shape of this Source.
        :type: oci.data_integration.models.Shape
        Nr3   )r"   r   r$   r$   r%   r   (  r,   c                 C   r'   )z¼
        Gets the read_operation_config of this Source.

        :return: The read_operation_config of this Source.
        :rtype: oci.data_integration.models.ReadOperationConfig
        ©r!   r)   r$   r$   r%   r   2  r*   zSource.read_operation_configc                 C   r+   )zÐ
        Sets the read_operation_config of this Source.

        :param read_operation_config: The read_operation_config of this Source.
        :type: oci.data_integration.models.ReadOperationConfig
        Nr4   )r"   r   r$   r$   r%   r   <  r,   c                 C   s   t | ƒS ©N)r   r)   r$   r$   r%   Ú__repr__F  s   zSource.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r"   Úotherr$   r$   r%   Ú__eq__I  s   zSource.__eq__c                 C   s
   | |k S r5   r$   r8   r$   r$   r%   Ú__ne__O  s   
zSource.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r&   Úpropertyr   Úsetterr   r   r   r   r   r   r6   r:   r;   r$   r$   r$   r%   r      sF     
	
	






	
	
	
	
	
	r   N)	Úoperatorr   Zoci.utilr   r   r   Zoci.decoratorsr   r   r$   r$   r$   r%   Ú<module>   s
   