ruạṛ
a N��fB � @ 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 @ sj e Zd ZdZdZdZdZdZdZdd� Z e d d � �Zedd� �Z e jd d� �Z dd� Zdd� Zdd� ZdS )�DataEntityDetailsz) The data entity details object. �VIEW_ENTITY�TABLE_ENTITY�FILE_ENTITY� SQL_ENTITY�DATA_STORE_ENTITYc K s ddi| _ ddi| _d| _dS )a# Initializes a new DataEntityDetails 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.DataEntityFromFileEntityDetails` * :class:`~oci.data_integration.models.DataEntityFromViewEntityDetails` * :class:`~oci.data_integration.models.DataEntityFromSqlEntityDetails` * :class:`~oci.data_integration.models.DataEntityFromDataStoreEntityDetails` * :class:`~oci.data_integration.models.DataEntityFromTableEntityDetails` 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 DataEntityDetails. Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY" :type model_type: str � model_type�str� modelTypeN)� swagger_types� attribute_map�_model_type)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/data_entity_details.py�__init__$ s ��zDataEntityDetails.__init__c C sL | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS 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 �DataEntityFromFileEntityDetailsr �DataEntityFromViewEntityDetailsr �DataEntityFromSqlEntityDetailsr �$DataEntityFromDataStoreEntityDetailsr � DataEntityFromTableEntityDetailsr Nr )�object_dictionary�typer r r �get_subtypeA s zDataEntityDetails.get_subtypec C s | j S )a= **[Required]** Gets the model_type of this DataEntityDetails. The data entity type. Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY" :return: The model_type of this DataEntityDetails. :rtype: str )r �r r r r r Z s zDataEntityDetails.model_typec C s* g d�}t ||�s td�|���|| _dS )z� Sets the model_type of this DataEntityDetails. The data entity type. :param model_type: The model_type of this DataEntityDetails. :type: str )r r r r r z:Invalid value for `model_type`, must be None or one of {0}N)r � ValueError�formatr )r r �allowed_valuesr r r r h s ��c C s t | �S �N)r r r r r �__repr__z s zDataEntityDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__} s zDataEntityDetails.__eq__c C s | |k S r# r r&