ruạṛ
a N��f� � @ 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 @ sR e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zd d � Z dd� Zd d� ZdS )�Splitz� The information about the split operator. Split operator has one input and many output links. Split operator allows users to take one data set and based on conditions produce many different outputs. �FIRST�ALLc K s� ddddddddddddddd�| _ d d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a� Initializes a new Split object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.Split.model_type` attribute of this class is ``SPLIT_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 Split. 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 Split. :type key: str :param model_version: The value to assign to the model_version property of this Split. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this Split. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this Split. :type name: str :param description: The value to assign to the description property of this Split. :type description: str :param object_version: The value to assign to the object_version property of this Split. :type object_version: int :param input_ports: The value to assign to the input_ports property of this Split. :type input_ports: list[oci.data_integration.models.InputPort] :param output_ports: The value to assign to the output_ports property of this Split. :type output_ports: list[oci.data_integration.models.TypedObject] :param object_status: The value to assign to the object_status property of this Split. :type object_status: int :param identifier: The value to assign to the identifier property of this Split. :type identifier: str :param parameters: The value to assign to the parameters property of this Split. :type parameters: list[oci.data_integration.models.Parameter] :param op_config_values: The value to assign to the op_config_values property of this Split. :type op_config_values: oci.data_integration.models.ConfigValues :param data_routing_strategy: The value to assign to the data_routing_strategy property of this Split. Allowed values for this property are: "FIRST", "ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type data_routing_strategy: str �str�ParentReference�intzlist[InputPort]zlist[TypedObject]zlist[Parameter]�ConfigValues)� model_type�key� model_version� parent_ref�name�description�object_version�input_ports�output_ports� object_status� identifier� parameters�op_config_values�data_routing_strategy� modelTyper �modelVersion� parentRefr r � objectVersion� inputPorts�outputPorts�objectStatusr r �opConfigValues�dataRoutingStrategyN�SPLIT_OPERATOR)� swagger_types� attribute_map�_model_type�_key�_model_version�_parent_ref�_name�_description�_object_version�_input_ports� _output_ports�_object_status�_identifier�_parameters�_op_config_values�_data_routing_strategy)�self�kwargs� r9 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/split.py�__init__ sZ D��zSplit.__init__c C s | j S )a- Gets the data_routing_strategy of this Split. Specify how to handle data that matches a split condition. Either data that matches the first condition should be removed from further processing by other conditions, or all matched data should be evaluated for all conditions. Allowed values for this property are: "FIRST", "ALL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The data_routing_strategy of this Split. :rtype: str )r6 �r7 r9 r9 r: r � s zSplit.data_routing_strategyc C s ddg}t ||�sd}|| _dS )a� Sets the data_routing_strategy of this Split. Specify how to handle data that matches a split condition. Either data that matches the first condition should be removed from further processing by other conditions, or all matched data should be evaluated for all conditions. :param data_routing_strategy: The data_routing_strategy of this Split. :type: str r r �UNKNOWN_ENUM_VALUEN)r r6 )r7 r �allowed_valuesr9 r9 r: r � s c C s t | �S �N)r r<