ruạṛ
a ���f�1 � @ 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 ZdZdZdZdZdZdZdZ dd � Z ed d� �Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Zd'd(� Zd)d*� Zd+d,� Zd-S ).�PublishedObjectz5 The information about the published object. �INTEGRATION_TASK�DATA_LOADER_TASK� PIPELINE_TASK�SQL_TASK�OCI_DATAFLOW_TASK� REST_TASKc K sn dddddddddd� | _ ddddd d ddd d� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ dS )a� Initializes a new PublishedObject 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.PublishedObjectFromDataLoaderTask` * :class:`~oci.data_integration.models.PublishedObjectFromPipelineTask` * :class:`~oci.data_integration.models.PublishedObjectFromIntegrationTask` 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 PublishedObject. Allowed values for this property are: "INTEGRATION_TASK", "DATA_LOADER_TASK", "PIPELINE_TASK", "SQL_TASK", "OCI_DATAFLOW_TASK", "REST_TASK", '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 PublishedObject. :type key: str :param model_version: The value to assign to the model_version property of this PublishedObject. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this PublishedObject. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this PublishedObject. :type name: str :param description: The value to assign to the description property of this PublishedObject. :type description: str :param object_version: The value to assign to the object_version property of this PublishedObject. :type object_version: int :param object_status: The value to assign to the object_status property of this PublishedObject. :type object_status: int :param identifier: The value to assign to the identifier property of this PublishedObject. :type identifier: str �strZParentReference�int) � model_type�key� model_version� parent_ref�name�description�object_version� object_status� identifier� modelTyper ZmodelVersionZ parentRefr r Z objectVersionZobjectStatusr N)Z swagger_typesZ attribute_map�_model_type�_key�_model_version�_parent_ref�_name�_description�_object_version�_object_status�_identifier)�self�kwargs� r$ �P/usr/lib/python3.9/site-packages/oci/data_integration/models/published_object.py�__init__* s: 3� �zPublishedObject.__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!PublishedObjectFromDataLoaderTaskr ZPublishedObjectFromPipelineTaskr Z"PublishedObjectFromIntegrationTaskr Nr$ )Zobject_dictionary�typer$ r$ r% �get_subtype~ s zPublishedObject.get_subtypec C s | j S )a� **[Required]** Gets the model_type of this PublishedObject. The type of the published object. Allowed values for this property are: "INTEGRATION_TASK", "DATA_LOADER_TASK", "PIPELINE_TASK", "SQL_TASK", "OCI_DATAFLOW_TASK", "REST_TASK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The model_type of this PublishedObject. :rtype: str )r �r"