ruạṛ
a N��f@ � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CreateEntityShapeDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�CreateEntityShapeFromSQLz! The SQL entity details. c K s� dddddddddddddddddddd �| _ d ddd dddddddddddddddd �| _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 CreateEntityShapeFromSQL object with values from keyword arguments. The default value of the :py:attr:`~oci.data_connectivity.models.CreateEntityShapeFromSQL.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 CreateEntityShapeFromSQL. Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", "SQL_ENTITY", "MESSAGE_ENTITY" :type model_type: str :param key: The value to assign to the key property of this CreateEntityShapeFromSQL. :type key: str :param model_version: The value to assign to the model_version property of this CreateEntityShapeFromSQL. :type model_version: str :param parent_ref: The value to assign to the parent_ref property of this CreateEntityShapeFromSQL. :type parent_ref: oci.data_connectivity.models.ParentReference :param name: The value to assign to the name property of this CreateEntityShapeFromSQL. :type name: str :param object_version: The value to assign to the object_version property of this CreateEntityShapeFromSQL. :type object_version: int :param external_key: The value to assign to the external_key property of this CreateEntityShapeFromSQL. :type external_key: str :param shape: The value to assign to the shape property of this CreateEntityShapeFromSQL. :type shape: oci.data_connectivity.models.Shape :param shape_id: The value to assign to the shape_id property of this CreateEntityShapeFromSQL. :type shape_id: str :param entity_type: The value to assign to the entity_type property of this CreateEntityShapeFromSQL. Allowed values for this property are: "TABLE", "VIEW", "FILE", "SQL", "DATA_STORE", "MESSAGE" :type entity_type: str :param other_type_label: The value to assign to the other_type_label property of this CreateEntityShapeFromSQL. :type other_type_label: str :param unique_keys: The value to assign to the unique_keys property of this CreateEntityShapeFromSQL. :type unique_keys: list[oci.data_connectivity.models.UniqueKey] :param foreign_keys: The value to assign to the foreign_keys property of this CreateEntityShapeFromSQL. :type foreign_keys: list[oci.data_connectivity.models.ForeignKey] :param resource_name: The value to assign to the resource_name property of this CreateEntityShapeFromSQL. :type resource_name: str :param object_status: The value to assign to the object_status property of this CreateEntityShapeFromSQL. :type object_status: int :param identifier: The value to assign to the identifier property of this CreateEntityShapeFromSQL. :type identifier: str :param types: The value to assign to the types property of this CreateEntityShapeFromSQL. :type types: oci.data_connectivity.models.TypeLibrary :param entity_properties: The value to assign to the entity_properties property of this CreateEntityShapeFromSQL. :type entity_properties: dict(str, str) :param sql_query: The value to assign to the sql_query property of this CreateEntityShapeFromSQL. :type sql_query: str �str�ParentReference�int�Shapezlist[UniqueKey]zlist[ForeignKey]�TypeLibraryzdict(str, str))� model_type�key� model_version� parent_ref�name�object_version�external_key�shape�shape_id�entity_type�other_type_label�unique_keys�foreign_keys� resource_name� object_status� identifier�types�entity_properties� sql_query� modelTyper �modelVersion� parentRefr � objectVersion�externalKeyr �shapeId� entityType�otherTypeLabel� uniqueKeys�foreignKeys�resourceName�objectStatusr r �entityProperties�sqlQueryN� SQL_ENTITY)� swagger_types� attribute_map�_model_type�_key�_model_version�_parent_ref�_name�_object_version� _external_key�_shape� _shape_id�_entity_type�_other_type_label�_unique_keys� _foreign_keys�_resource_name�_object_status�_identifier�_types�_entity_properties� _sql_query)�self�kwargs� rG ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_connectivity/models/create_entity_shape_from_sql.py�__init__ sx V��z!CreateEntityShapeFromSQL.__init__c C s | j S )z� Gets the sql_query of this CreateEntityShapeFromSQL. sqlQuery :return: The sql_query of this CreateEntityShapeFromSQL. :rtype: str �rD �rE rG rG rH r � s z"CreateEntityShapeFromSQL.sql_queryc C s || _ dS )z� Sets the sql_query of this CreateEntityShapeFromSQL. sqlQuery :param sql_query: The sql_query of this CreateEntityShapeFromSQL. :type: str NrJ )rE r rG rG rH r � s c C s t | �S �N)r rK rG rG rH �__repr__� s z!CreateEntityShapeFromSQL.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�rE �otherrG rG rH �__eq__� s zCreateEntityShapeFromSQL.__eq__c C s | |k S rL rG rO rG rG rH �__ne__� s zCreateEntityShapeFromSQL.__ne__N)�__name__� __module__�__qualname__�__doc__rI �propertyr �setterrM rQ rR rG rG rG rH r s r N) �create_entity_shape_detailsr �oci.utilr r r �oci.decoratorsr r rG rG rG rH �<module> s
cải xoăn