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_connectivity.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", "SHAPE_FIELD", "NATIVE_SHAPE_FIELD" :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_connectivity.models.ParentReference :param config_values: The value to assign to the config_values property of this InputPort. :type config_values: oci.data_connectivity.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" :type port_type: str :param fields: The value to assign to the fields property of this InputPort. :type fields: list[oci.data_connectivity.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_connectivity/models/input_port.py�__init__ sB 2�� zInputPort.__init__c C s | j S )z� Gets the port_type of this InputPort. The port details of the data asset type. Allowed values for this property are: "DATA", "CONTROL", "MODEL" :return: The port_type of this InputPort. :rtype: str )r+ �r- r/ r/ r0 r s s zInputPort.port_typec C s* g d�}t ||�s td�|���|| _dS )z� Sets the port_type of this InputPort. The port details of the data asset type. :param port_type: The port_type of this InputPort. :type: str )r r r z9Invalid value for `port_type`, must be None or one of {0}N)r � ValueError�formatr+ )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_connectivity.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_connectivity.models.TypedObject] Nr6 )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 r7 r/ r: r/ r/ r0 �__ne__� s zInputPort.__ne__N)�__name__� __module__�__qualname__�__doc__�PORT_TYPE_DATA�PORT_TYPE_CONTROL�PORT_TYPE_MODELr1 �propertyr �setterr r8 r<