ruạṛ
a ���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� �Zd d!� Zd"d#� Zd$d%� Zd&S )'�ReferencedDataObjectzG The input Operation for which derived entity is to be formed. � PROCEDURE�APIc K sd ddddddddd�| _ ddddd d ddd�| _d | _d | _d | _d | _d | _d | _d | _d | _ d S )a� Initializes a new ReferencedDataObject 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.ReferencedDataObjectFromAPI` * :class:`~oci.data_integration.models.ReferencedDataObjectFromProcedure` 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 ReferencedDataObject. Allowed values for this property are: "PROCEDURE", "API", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type model_type: str :param model_version: The value to assign to the model_version property of this ReferencedDataObject. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this ReferencedDataObject. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this ReferencedDataObject. :type name: str :param object_version: The value to assign to the object_version property of this ReferencedDataObject. :type object_version: int :param resource_name: The value to assign to the resource_name property of this ReferencedDataObject. :type resource_name: str :param object_status: The value to assign to the object_status property of this ReferencedDataObject. :type object_status: int :param external_key: The value to assign to the external_key property of this ReferencedDataObject. :type external_key: str �strZParentReference�int)� model_type� model_version� parent_ref�name�object_version� resource_name� object_status�external_key� modelTypeZmodelVersionZ parentRefr Z objectVersionZresourceNameZobjectStatusZexternalKeyN) Z swagger_typesZ attribute_map�_model_type�_model_version�_parent_ref�_name�_object_version�_resource_name�_object_status� _external_key)�self�kwargs� r �V/usr/lib/python3.9/site-packages/oci/data_integration/models/referenced_data_object.py�__init__ s4 .��zReferencedDataObject.__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 ZReferencedDataObjectFromAPIr Z!ReferencedDataObjectFromProcedurer Nr )Zobject_dictionary�typer r r �get_subtypef s z ReferencedDataObject.get_subtypec C s | j S )a **[Required]** Gets the model_type of this ReferencedDataObject. The input Operation type. Allowed values for this property are: "PROCEDURE", "API", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The model_type of this ReferencedDataObject. :rtype: str )r �r r r r r v s zReferencedDataObject.model_typec C s ddg}t ||�sd}|| _dS )z� Sets the model_type of this ReferencedDataObject. The input Operation type. :param model_type: The model_type of this ReferencedDataObject. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s | j S )z� Gets the model_version of this ReferencedDataObject. The object's model version. :return: The model_version of this ReferencedDataObject. :rtype: str �r r# r r r r � s z"ReferencedDataObject.model_versionc C s || _ dS )z� Sets the model_version of this ReferencedDataObject. The object's model version. :param model_version: The model_version of this ReferencedDataObject. :type: str Nr$ )r r r r r r � s c C s | j S )z� Gets the parent_ref of this ReferencedDataObject. :return: The parent_ref of this ReferencedDataObject. :rtype: oci.data_integration.models.ParentReference �r r# r r r r � s zReferencedDataObject.parent_refc C s || _ dS )z� Sets the parent_ref of this ReferencedDataObject. :param parent_ref: The parent_ref of this ReferencedDataObject. :type: oci.data_integration.models.ParentReference Nr% )r r r r r r � s c C s | j S )aG Gets the name of this ReferencedDataObject. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :return: The name of this ReferencedDataObject. :rtype: str �r r# r r r r � s zReferencedDataObject.namec C s || _ dS )aJ Sets the name of this ReferencedDataObject. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param name: The name of this ReferencedDataObject. :type: str Nr&