ruạṛ
a N��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 �str�ParentReference�ConfigValues�intzlist[TypedObject]� Expression)� model_type�key� model_version� parent_ref� config_values� object_status�name�description� port_type�fields�split_condition� modelTyper �modelVersion� parentRef�configValues�objectStatusr r �portTyper �splitConditionN�CONDITIONAL_OUTPUT_PORT) � swagger_types� attribute_map�_model_type�_key�_model_version�_parent_ref�_config_values�_object_status�_name�_description� _port_type�_fields�_split_condition)�self�kwargs� r3 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/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. �r1 r3 r3 r4 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 �UNKNOWN_ENUM_VALUEN)r r. )r1 r �allowed_valuesr3 r3 r4 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/ r6 r3 r3 r4 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] Nr9 )r1 r r3 r3 r4 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 �r0 r6 r3 r3 r4 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: )r1 r r3 r3 r4 r � s c C s t | �S �N)r r6 r3 r3 r4 �__repr__� s zConditionalOutputPort.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r1 �otherr3 r3 r4 �__eq__� s zConditionalOutputPort.__eq__c C s | |k S r; r3 r>