ruạṛ
a N��f,@ � @ 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 ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze d d!� �Zejd"d!� �Ze d#d$� �Zejd%d$� �Ze d&d'� �Zejd(d'� �Ze d)d*� �Zejd+d*� �Ze d,d-� �Zejd.d-� �Zd/d0� Zd1d2� Zd3d4� Zd5S )6�#CreateConnectivityValidationDetailsz� Input to perform connector validation. Defines the data integration semantics in a data flow. It can be about reading, writing, or transforming the data. �SOURCE_OPERATOR�TARGET_OPERATORc K s� dddddddddddddd� | _ d d ddd ddddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )ao Initializes a new CreateConnectivityValidationDetails 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_connectivity.models.Target` * :class:`~oci.data_connectivity.models.Source` 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 CreateConnectivityValidationDetails. Allowed values for this property are: "SOURCE_OPERATOR", "TARGET_OPERATOR" :type model_type: str :param key: The value to assign to the key property of this CreateConnectivityValidationDetails. :type key: str :param model_version: The value to assign to the model_version property of this CreateConnectivityValidationDetails. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this CreateConnectivityValidationDetails. :type parent_ref: oci.data_connectivity.models.ParentReference :param name: The value to assign to the name property of this CreateConnectivityValidationDetails. :type name: str :param description: The value to assign to the description property of this CreateConnectivityValidationDetails. :type description: str :param object_version: The value to assign to the object_version property of this CreateConnectivityValidationDetails. :type object_version: int :param input_ports: The value to assign to the input_ports property of this CreateConnectivityValidationDetails. :type input_ports: list[oci.data_connectivity.models.InputPort] :param output_ports: The value to assign to the output_ports property of this CreateConnectivityValidationDetails. :type output_ports: list[oci.data_connectivity.models.OutputPort] :param object_status: The value to assign to the object_status property of this CreateConnectivityValidationDetails. :type object_status: int :param identifier: The value to assign to the identifier property of this CreateConnectivityValidationDetails. :type identifier: str :param parameters: The value to assign to the parameters property of this CreateConnectivityValidationDetails. :type parameters: list[oci.data_connectivity.models.Parameter] :param op_config_values: The value to assign to the op_config_values property of this CreateConnectivityValidationDetails. :type op_config_values: oci.data_connectivity.models.ConfigValues �str�ParentReference�intzlist[InputPort]zlist[OutputPort]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� modelTyper �modelVersion� parentRefr r � objectVersion� inputPorts�outputPorts�objectStatusr r �opConfigValuesN)� 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)�self�kwargs� r3 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_connectivity/models/create_connectivity_validation_details.py�__init__ sR A��z,CreateConnectivityValidationDetails.__init__c C s( | d }|dkrdS |dkr dS dS dS )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 �Targetr �Sourcer Nr3 )�object_dictionary�typer3 r3 r4 �get_subtype� s z/CreateConnectivityValidationDetails.get_subtypec C s | j S )a@ **[Required]** Gets the model_type of this CreateConnectivityValidationDetails. The model type of the operator. Allowed values for this property are: "SOURCE_OPERATOR", "TARGET_OPERATOR" :return: The model_type of this CreateConnectivityValidationDetails. :rtype: str )r$ �r1 r3 r3 r4 r � s z.CreateConnectivityValidationDetails.model_typec C s* ddg}t ||�s td�|���|| _dS )z� Sets the model_type of this CreateConnectivityValidationDetails. The model type of the operator. :param model_type: The model_type of this CreateConnectivityValidationDetails. :type: str r r z:Invalid value for `model_type`, must be None or one of {0}N)r � ValueError�formatr$ )r1 r �allowed_valuesr3 r3 r4 r � s ��c C s | j S )z� Gets the key of this CreateConnectivityValidationDetails. The key of the object. :return: The key of this CreateConnectivityValidationDetails. :rtype: str �r% r; r3 r3 r4 r � s z'CreateConnectivityValidationDetails.keyc C s || _ dS )z� Sets the key of this CreateConnectivityValidationDetails. The key of the object. :param key: The key of this CreateConnectivityValidationDetails. :type: str Nr? )r1 r r3 r3 r4 r � s c C s | j S )z� Gets the model_version of this CreateConnectivityValidationDetails. The model version of an object. :return: The model_version of this CreateConnectivityValidationDetails. :rtype: str �r&