ruạṛ
a N��f51 � @ 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 �str�ParentReference�int) � model_type�key� model_version� parent_ref�name�description�object_version� object_status� identifier� modelTyper �modelVersion� parentRefr r � objectVersion�objectStatusr N)� swagger_types� attribute_map�_model_type�_key�_model_version�_parent_ref�_name�_description�_object_version�_object_status�_identifier)�self�kwargs� r+ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/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 �!PublishedObjectFromDataLoaderTaskr �PublishedObjectFromPipelineTaskr �"PublishedObjectFromIntegrationTaskr Nr+ )�object_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) r+ r+ r, r � s zPublishedObject.model_typec C s g d�}t ||�sd}|| _dS )z� Sets the model_type of this PublishedObject. The type of the published object. :param model_type: The model_type of this PublishedObject. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r r )r) r �allowed_valuesr+ r+ r, r � s c C s | j S )a Gets the key of this PublishedObject. Generated key that can be used in API calls to identify task. On scenarios where reference to the task is needed, a value can be passed in create. :return: The key of this PublishedObject. :rtype: str �r! r4 r+ r+ r, r � s zPublishedObject.keyc C s || _ dS )a Sets the key of this PublishedObject. Generated key that can be used in API calls to identify task. On scenarios where reference to the task is needed, a value can be passed in create. :param key: The key of this PublishedObject. :type: str Nr7 )r) r r+ r+ r, r � s c C s | j S )z� Gets the model_version of this PublishedObject. The object's model version. :return: The model_version of this PublishedObject. :rtype: str �r"