ruạṛ
a ���f6# � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdd� Zedd� �Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Zdd� Zd d!� Zd"d#� Zd$S )%�FlowPortLinkzA Details about the link between two data flow operators. �CONDITIONAL_INPUT_LINK�OUTPUT_LINK� INPUT_LINKc K sZ dddddddd�| _ ddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _dS ) a| Initializes a new FlowPortLink object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.data_integration.models.InputLink` * :class:`~oci.data_integration.models.OutputLink` * :class:`~oci.data_integration.models.ConditionalInputLink` 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 FlowPortLink. Allowed values for this property are: "CONDITIONAL_INPUT_LINK", "OUTPUT_LINK", "INPUT_LINK" :type model_type: str :param key: The value to assign to the key property of this FlowPortLink. :type key: str :param model_version: The value to assign to the model_version property of this FlowPortLink. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this FlowPortLink. :type parent_ref: oci.data_integration.models.ParentReference :param object_status: The value to assign to the object_status property of this FlowPortLink. :type object_status: int :param description: The value to assign to the description property of this FlowPortLink. :type description: str :param port: The value to assign to the port property of this FlowPortLink. :type port: str �strZParentReference�int)� model_type�key� model_version� parent_ref� object_status�description�port� modelTyper ZmodelVersionZ parentRefZobjectStatusr r N) Z swagger_typesZ attribute_map�_model_type�_key�_model_version�_parent_ref�_object_status�_description�_port)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/data_integration/models/flow_port_link.py�__init__ s. *�� zFlowPortLink.__init__c C s4 | d }|dkrdS |dkr dS |dkr,dS dS d S ) z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r Z InputLinkr Z OutputLinkr ZConditionalInputLinkr Nr )Zobject_dictionary�typer r r �get_subtypec s zFlowPortLink.get_subtypec C s | j S )a! **[Required]** Gets the model_type of this FlowPortLink. The model type of the object. Allowed values for this property are: "CONDITIONAL_INPUT_LINK", "OUTPUT_LINK", "INPUT_LINK" :return: The model_type of this FlowPortLink. :rtype: str )r �r r r r r v s zFlowPortLink.model_typec C s* g d�}t ||�s td|� ���|| _dS )z� Sets the model_type of this FlowPortLink. The model type of the object. :param model_type: The model_type of this FlowPortLink. :type: str )r r r z7Invalid value for `model_type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r � s �c C s | j S )z� Gets the key of this FlowPortLink. The key of the object. :return: The key of this FlowPortLink. :rtype: str �r r"