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                   @   sJ   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZdd„ Zd	d
„ Z	dd„ Z
dS )ÚFunctionz_
    The Function operator supports users adding a custom OCI Function into the data flow.
    c                 K   s¦   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 Function object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.Function.model_type` attribute
        of this class is ``FUNCTION_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 Function.
            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 Function.
        :type key: str

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

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

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

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

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

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

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

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

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

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

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

        :param oci_function:
            The value to assign to the oci_function property of this Function.
        :type oci_function: oci.data_integration.models.OciFunction

        ÚstrZParentReferenceÚintzlist[InputPort]zlist[TypedObject]zlist[Parameter]ZConfigValuesZOciFunction)Z
model_typeÚkeyZmodel_versionZ
parent_refÚnameÚdescriptionZobject_versionZinput_portsZoutput_portsZobject_statusÚ
identifierÚ
parametersZop_config_valuesÚoci_functionZ	modelTyper   ZmodelVersionZ	parentRefr   r   ZobjectVersionZ
inputPortsZoutputPortsZobjectStatusr   r   ZopConfigValuesZociFunctionNZFUNCTION_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Ú_oci_function)ÚselfÚkwargs© r   úHusr/lib/python3.10/site-packages/oci/data_integration/models/function.pyÚ__init__   sZ   Aòò
zFunction.__init__c                 C   s   | j S )z¦
        Gets the oci_function of this Function.

        :return: The oci_function of this Function.
        :rtype: oci.data_integration.models.OciFunction
        ©r   ©r   r   r   r   r   „   s   zFunction.oci_functionc                 C   s
   || _ dS )z±
        Sets the oci_function of this Function.

        :param oci_function: The oci_function of this Function.
        :type: oci.data_integration.models.OciFunction
        Nr   )r   r   r   r   r   r   Ž   s   
c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__˜   s   zFunction.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__›   s   zFunction.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__¡   s   
zFunction.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r!   r"   r   r   r   r   r      s    r
	
	r   N)	Úoperatorr   Zoci.utilr   r   r   Zoci.decoratorsr   r   r   r   r   r   Ú<module>   s
   