ruạṛ
a ���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 @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�Pivotz� Pivot operator has one input and one output. Pivot operator takes group by columns, a pivot key with values and aggregations. Output is the pivoted table. c K s� ddddddddddddddd d d�| _ dd ddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a< Initializes a new Pivot object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.Pivot.model_type` attribute of this class is ``PIVOT_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 Pivot. 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 Pivot. :type key: str :param model_version: The value to assign to the model_version property of this Pivot. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this Pivot. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this Pivot. :type name: str :param description: The value to assign to the description property of this Pivot. :type description: str :param object_version: The value to assign to the object_version property of this Pivot. :type object_version: int :param input_ports: The value to assign to the input_ports property of this Pivot. :type input_ports: list[oci.data_integration.models.InputPort] :param output_ports: The value to assign to the output_ports property of this Pivot. :type output_ports: list[oci.data_integration.models.TypedObject] :param object_status: The value to assign to the object_status property of this Pivot. :type object_status: int :param identifier: The value to assign to the identifier property of this Pivot. :type identifier: str :param parameters: The value to assign to the parameters property of this Pivot. :type parameters: list[oci.data_integration.models.Parameter] :param op_config_values: The value to assign to the op_config_values property of this Pivot. :type op_config_values: oci.data_integration.models.ConfigValues :param group_by_columns: The value to assign to the group_by_columns property of this Pivot. :type group_by_columns: oci.data_integration.models.DynamicProxyField :param materialized_group_by_columns: The value to assign to the materialized_group_by_columns property of this Pivot. :type materialized_group_by_columns: oci.data_integration.models.MaterializedDynamicField :param pivot_keys: The value to assign to the pivot_keys property of this Pivot. :type pivot_keys: oci.data_integration.models.PivotKeys �strZParentReference�intzlist[InputPort]zlist[TypedObject]zlist[Parameter]ZConfigValuesZDynamicProxyFieldZMaterializedDynamicFieldZ PivotKeys)Z model_type�keyZ model_versionZ parent_ref�name�descriptionZobject_versionZinput_portsZoutput_portsZ object_status� identifier� parametersZop_config_values�group_by_columns�materialized_group_by_columns� pivot_keysZ modelTyper ZmodelVersionZ parentRefr r Z objectVersionZ inputPortsZoutputPortsZobjectStatusr r ZopConfigValuesZgroupByColumnsZmaterializedGroupByColumnsZ pivotKeysNZPIVOT_OPERATOR)Z swagger_typesZ attribute_mapZ_model_typeZ_keyZ_model_versionZ_parent_ref�_nameZ_descriptionZ_object_versionZ_input_portsZ _output_portsZ_object_statusZ_identifierZ_parametersZ_op_config_values�_group_by_columns�_materialized_group_by_columns�_pivot_keys)�self�kwargs� r �E/usr/lib/python3.9/site-packages/oci/data_integration/models/pivot.py�__init__ sf I��zPivot.__init__c C s | j S )z� Gets the group_by_columns of this Pivot. :return: The group_by_columns of this Pivot. :rtype: oci.data_integration.models.DynamicProxyField �r �r r r r r � s zPivot.group_by_columnsc C s || _ dS )z� Sets the group_by_columns of this Pivot. :param group_by_columns: The group_by_columns of this Pivot. :type: oci.data_integration.models.DynamicProxyField Nr )r r r r r r � s c C s | j S )z� Gets the materialized_group_by_columns of this Pivot. :return: The materialized_group_by_columns of this Pivot. :rtype: oci.data_integration.models.MaterializedDynamicField �r r r r r r � s z#Pivot.materialized_group_by_columnsc C s || _ dS )z� Sets the materialized_group_by_columns of this Pivot. :param materialized_group_by_columns: The materialized_group_by_columns of this Pivot. :type: oci.data_integration.models.MaterializedDynamicField Nr )r r r r r r � s c C s | j S )z� Gets the pivot_keys of this Pivot. :return: The pivot_keys of this Pivot. :rtype: oci.data_integration.models.PivotKeys �r r r r r r � s zPivot.pivot_keysc C s || _ dS )z� Sets the pivot_keys of this Pivot. :param pivot_keys: The pivot_keys of this Pivot. :type: oci.data_integration.models.PivotKeys Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zPivot.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zPivot.__eq__c C s | |k S r r r# r r r �__ne__� s zPivot.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r! r% r&