ruạṛ
a N��f�H � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� DataEntity� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdd� 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-� �Ze d/d0� �Zejd1d0� �Ze d2d3� �Zejd4d3� �Ze d5d6� �Zejd7d6� �Ze d8d9� �Zejd:d9� �Zd;d<� Zd=d>� Zd?d@� ZdAS )B�DataEntityFromSqlz- The sql entity data entity details. �TABLE�VIEW�FILE�SQLc K s� dddddddddddddddddddd�| _ d d ddd ddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new DataEntityFromSql object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.DataEntityFromSql.model_type` attribute of this class is ``SQL_ENTITY`` and it should not be changed. 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 DataEntityFromSql. Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", "DERIVED_ENTITY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type model_type: str :param metadata: The value to assign to the metadata property of this DataEntityFromSql. :type metadata: oci.data_integration.models.ObjectMetadata :param key: The value to assign to the key property of this DataEntityFromSql. :type key: str :param model_version: The value to assign to the model_version property of this DataEntityFromSql. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this DataEntityFromSql. :type parent_ref: oci.data_integration.models.ParentReference :param name: The value to assign to the name property of this DataEntityFromSql. :type name: str :param description: The value to assign to the description property of this DataEntityFromSql. :type description: str :param object_version: The value to assign to the object_version property of this DataEntityFromSql. :type object_version: int :param external_key: The value to assign to the external_key property of this DataEntityFromSql. :type external_key: str :param shape: The value to assign to the shape property of this DataEntityFromSql. :type shape: oci.data_integration.models.Shape :param shape_id: The value to assign to the shape_id property of this DataEntityFromSql. :type shape_id: str :param entity_type: The value to assign to the entity_type property of this DataEntityFromSql. Allowed values for this property are: "TABLE", "VIEW", "FILE", "SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type entity_type: str :param other_type_label: The value to assign to the other_type_label property of this DataEntityFromSql. :type other_type_label: str :param unique_keys: The value to assign to the unique_keys property of this DataEntityFromSql. :type unique_keys: list[oci.data_integration.models.UniqueKey] :param foreign_keys: The value to assign to the foreign_keys property of this DataEntityFromSql. :type foreign_keys: list[oci.data_integration.models.ForeignKey] :param resource_name: The value to assign to the resource_name property of this DataEntityFromSql. :type resource_name: str :param object_status: The value to assign to the object_status property of this DataEntityFromSql. :type object_status: int :param identifier: The value to assign to the identifier property of this DataEntityFromSql. :type identifier: str :param sql_query: The value to assign to the sql_query property of this DataEntityFromSql. :type sql_query: str �str�ObjectMetadata�ParentReference�int�Shapezlist[UniqueKey]zlist[ForeignKey])� model_type�metadata�key� model_version� parent_ref�name�description�object_version�external_key�shape�shape_id�entity_type�other_type_label�unique_keys�foreign_keys� resource_name� object_status� identifier� sql_query� modelTyper r �modelVersion� parentRefr r � objectVersion�externalKeyr �shapeId� entityType�otherTypeLabel� uniqueKeys�foreignKeys�resourceName�objectStatusr# �sqlQueryN� SQL_ENTITY)� swagger_types� attribute_map�_model_type� _metadata�_key�_model_version�_parent_ref�_name�_description�_object_version� _external_key�_shape� _shape_id�_entity_type�_other_type_label�_unique_keys� _foreign_keys�_resource_name�_object_status�_identifier� _sql_query)�self�kwargs� rJ ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/data_entity_from_sql.py�__init__ sx X��zDataEntityFromSql.__init__c C s | j S )z� Gets the key of this DataEntityFromSql. The object key. :return: The key of this DataEntityFromSql. :rtype: str �r7 �rH rJ rJ rK r � s zDataEntityFromSql.keyc C s || _ dS )z� Sets the key of this DataEntityFromSql. The object key. :param key: The key of this DataEntityFromSql. :type: str NrM )rH r rJ rJ rK r � s c C s | j S )z� Gets the model_version of this DataEntityFromSql. The object's model version. :return: The model_version of this DataEntityFromSql. :rtype: str �r8 rN rJ rJ rK r � s zDataEntityFromSql.model_versionc C s || _ dS )z� Sets the model_version of this DataEntityFromSql. The object's model version. :param model_version: The model_version of this DataEntityFromSql. :type: str NrO )rH r rJ rJ rK r � s c C s | j S )z� Gets the parent_ref of this DataEntityFromSql. :return: The parent_ref of this DataEntityFromSql. :rtype: oci.data_integration.models.ParentReference �r9 rN rJ rJ rK r � s zDataEntityFromSql.parent_refc C s || _ dS )z� Sets the parent_ref of this DataEntityFromSql. :param parent_ref: The parent_ref of this DataEntityFromSql. :type: oci.data_integration.models.ParentReference NrP )rH r rJ rJ rK r � s c C s | j S )aA Gets the name of this DataEntityFromSql. 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 DataEntityFromSql. :rtype: str �r: rN rJ rJ rK r � s zDataEntityFromSql.namec C s || _ dS )aD Sets the name of this DataEntityFromSql. 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 DataEntityFromSql. :type: str NrQ )rH r rJ rJ rK r s c C s | j S )z� Gets the description of this DataEntityFromSql. Detailed description for the object. :return: The description of this DataEntityFromSql. :rtype: str �r; rN rJ rJ rK r s zDataEntityFromSql.descriptionc C s || _ dS )z� Sets the description of this DataEntityFromSql. Detailed description for the object. :param description: The description of this DataEntityFromSql. :type: str NrR )rH r rJ rJ rK r s c C s | j S )z� Gets the object_version of this DataEntityFromSql. The version of the object that is used to track changes in the object instance. :return: The object_version of this DataEntityFromSql. :rtype: int �r<