ruạṛ
a ���f] � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�TypedObject� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�ConditionalOutputPortzO The conditional output port details, used in operators such as split. �DATA�CONTROL�MODELc K s� dddddddddddd�| _ dd d ddd dddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _dS )a5 Initializes a new ConditionalOutputPort object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.ConditionalOutputPort.model_type` attribute of this class is ``CONDITIONAL_OUTPUT_PORT`` 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 ConditionalOutputPort. Allowed values for this property are: "SHAPE", "INPUT_PORT", "SHAPE_FIELD", "INPUT_FIELD", "DERIVED_FIELD", "MACRO_FIELD", "OUTPUT_FIELD", "DYNAMIC_PROXY_FIELD", "OUTPUT_PORT", "DYNAMIC_INPUT_FIELD", "PROXY_FIELD", "PARAMETER", "PIVOT_FIELD", "MACRO_PIVOT_FIELD", "CONDITIONAL_OUTPUT_PORT", "INPUT_PROXY_FIELD", "MATERIALIZED_DYNAMIC_FIELD", "DECISION_OUTPUT_PORT", '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 ConditionalOutputPort. :type key: str :param model_version: The value to assign to the model_version property of this ConditionalOutputPort. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this ConditionalOutputPort. :type parent_ref: oci.data_integration.models.ParentReference :param config_values: The value to assign to the config_values property of this ConditionalOutputPort. :type config_values: oci.data_integration.models.ConfigValues :param object_status: The value to assign to the object_status property of this ConditionalOutputPort. :type object_status: int :param name: The value to assign to the name property of this ConditionalOutputPort. :type name: str :param description: The value to assign to the description property of this ConditionalOutputPort. :type description: str :param port_type: The value to assign to the port_type property of this ConditionalOutputPort. Allowed values for this property are: "DATA", "CONTROL", "MODEL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type port_type: str :param fields: The value to assign to the fields property of this ConditionalOutputPort. :type fields: list[oci.data_integration.models.TypedObject] :param split_condition: The value to assign to the split_condition property of this ConditionalOutputPort. :type split_condition: oci.data_integration.models.Expression �strZParentReferenceZConfigValues�intzlist[TypedObject]Z Expression)Z model_type�keyZ model_versionZ parent_refZ config_valuesZ object_status�name�description� port_type�fields�split_conditionZ modelTyper ZmodelVersionZ parentRefZconfigValuesZobjectStatusr r ZportTyper ZsplitConditionNZCONDITIONAL_OUTPUT_PORT) Z swagger_typesZ attribute_mapZ_model_typeZ_keyZ_model_versionZ_parent_refZ_config_valuesZ_object_status�_nameZ_description� _port_type�_fields�_split_condition)�self�kwargs� r �W/usr/lib/python3.9/site-packages/oci/data_integration/models/conditional_output_port.py�__init__ sH 8��zConditionalOutputPort.__init__c C s | j S )a� Gets the port_type of this ConditionalOutputPort. The port details for the data asset.Type. Allowed values for this property are: "DATA", "CONTROL", "MODEL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The port_type of this ConditionalOutputPort. :rtype: str )r �r r r r r ~ s zConditionalOutputPort.port_typec C s g d�}t ||�sd}|| _dS )z� Sets the port_type of this ConditionalOutputPort. The port details for the data asset.Type. :param port_type: The port_type of this ConditionalOutputPort. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )z� Gets the fields of this ConditionalOutputPort. An array of fields. :return: The fields of this ConditionalOutputPort. :rtype: list[oci.data_integration.models.TypedObject] �r r r r r r � s zConditionalOutputPort.fieldsc C s || _ dS )z� Sets the fields of this ConditionalOutputPort. An array of fields. :param fields: The fields of this ConditionalOutputPort. :type: list[oci.data_integration.models.TypedObject] Nr )r r r r r r � s c C s | j S )z� Gets the split_condition of this ConditionalOutputPort. :return: The split_condition of this ConditionalOutputPort. :rtype: oci.data_integration.models.Expression �r r r r r r � s z%ConditionalOutputPort.split_conditionc C s || _ dS )z� Sets the split_condition of this ConditionalOutputPort. :param split_condition: The split_condition of this ConditionalOutputPort. :type: oci.data_integration.models.Expression Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zConditionalOutputPort.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zConditionalOutputPort.__eq__c C s | |k S r r r# r r r �__ne__� s zConditionalOutputPort.__ne__N)�__name__� __module__�__qualname__�__doc__ZPORT_TYPE_DATAZPORT_TYPE_CONTROLZPORT_TYPE_MODELr �propertyr �setterr r r! r% r&