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 @ sp e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zd d� Zdd� Z dd� ZdS )� InputPortz! The input port details. �DATA�CONTROL�MODELc K s~ ddddddddddd� | _ ddd d ddd dddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new InputPort object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.InputPort.model_type` attribute of this class is ``INPUT_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 InputPort. 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 InputPort. :type key: str :param model_version: The value to assign to the model_version property of this InputPort. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this InputPort. :type parent_ref: oci.data_integration.models.ParentReference :param config_values: The value to assign to the config_values property of this InputPort. :type config_values: oci.data_integration.models.ConfigValues :param object_status: The value to assign to the object_status property of this InputPort. :type object_status: int :param name: The value to assign to the name property of this InputPort. :type name: str :param description: The value to assign to the description property of this InputPort. :type description: str :param port_type: The value to assign to the port_type property of this InputPort. 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 InputPort. :type fields: list[oci.data_integration.models.TypedObject] �str�ParentReference�ConfigValues�intzlist[TypedObject]) � model_type�key� model_version� parent_ref� config_values� object_status�name�description� port_type�fields� modelTyper �modelVersion� parentRef�configValues�objectStatusr r �portTyper N� INPUT_PORT)� swagger_types� attribute_map�_model_type�_key�_model_version�_parent_ref�_config_values�_object_status�_name�_description� _port_type�_fields)�self�kwargs� r/ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/input_port.py�__init__ sB 4�� zInputPort.__init__c C s | j S )ap Gets the port_type of this InputPort. 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 InputPort. :rtype: str )r+ �r- r/ r/ r0 r u s zInputPort.port_typec C s g d�}t ||�sd}|| _dS )z� Sets the port_type of this InputPort. The port details for the data asset.Type. :param port_type: The port_type of this InputPort. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r+ )r- r �allowed_valuesr/ r/ r0 r � s c C s | j S )z� Gets the fields of this InputPort. An array of fields. :return: The fields of this InputPort. :rtype: list[oci.data_integration.models.TypedObject] �r, r2 r/ r/ r0 r � s zInputPort.fieldsc C s || _ dS )z� Sets the fields of this InputPort. An array of fields. :param fields: The fields of this InputPort. :type: list[oci.data_integration.models.TypedObject] Nr5 )r- r r/ r/ r0 r � s c C s t | �S �N)r r2 r/ r/ r0 �__repr__� s zInputPort.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r- �otherr/ r/ r0 �__eq__� s zInputPort.__eq__c C s | |k S r6 r/ r9 r/ r/ r0 �__ne__� s zInputPort.__ne__N)�__name__� __module__�__qualname__�__doc__�PORT_TYPE_DATA�PORT_TYPE_CONTROL�PORT_TYPE_MODELr1 �propertyr �setterr r7 r; r<