ruạṛ
a N��f�L � @ 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 @ 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� �Ze d;d<� �Zejd=d<� �Zd>d?� Zd@dA� ZdBdC� ZdDS )E�CreateEntityShapeFromSQLz! The SQL 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 CreateEntityShapeFromSQL object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.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: "FILE_ENTITY", "SQL_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_integration.models.ParentReference :param name: The value to assign to the name property of this CreateEntityShapeFromSQL. :type name: str :param description: The value to assign to the description property of this CreateEntityShapeFromSQL. :type description: 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_integration.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" :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_integration.models.UniqueKey] :param foreign_keys: The value to assign to the foreign_keys property of this CreateEntityShapeFromSQL. :type foreign_keys: list[oci.data_integration.models.ForeignKey] :param resource_name: The value to assign to the resource_name property of this CreateEntityShapeFromSQL. :type resource_name: str :param data_format: The value to assign to the data_format property of this CreateEntityShapeFromSQL. :type data_format: oci.data_integration.models.DataFormat :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 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]� DataFormat)� model_type�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�data_format� object_status� identifier� sql_query� modelTyper �modelVersion� parentRefr r � objectVersion�externalKeyr �shapeId� entityType�otherTypeLabel� uniqueKeys�foreignKeys�resourceName� dataFormat�objectStatusr# �sqlQueryN� SQL_ENTITY)� swagger_types� attribute_map�_model_type�_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�_data_format�_object_status�_identifier� _sql_query)�self�kwargs� rK ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/create_entity_shape_from_sql.py�__init__ sx V��z!CreateEntityShapeFromSQL.__init__c C s | j S )z� Gets the key of this CreateEntityShapeFromSQL. The object key. :return: The key of this CreateEntityShapeFromSQL. :rtype: str �r7 �rI rK rK rL r � s zCreateEntityShapeFromSQL.keyc C s || _ dS )z� Sets the key of this CreateEntityShapeFromSQL. The object key. :param key: The key of this CreateEntityShapeFromSQL. :type: str NrN )rI r rK rK rL r � s c C s | j S )z� Gets the model_version of this CreateEntityShapeFromSQL. The object's model version. :return: The model_version of this CreateEntityShapeFromSQL. :rtype: str �r8 rO rK rK rL r � s z&CreateEntityShapeFromSQL.model_versionc C s || _ dS )z� Sets the model_version of this CreateEntityShapeFromSQL. The object's model version. :param model_version: The model_version of this CreateEntityShapeFromSQL. :type: str NrP )rI r rK rK rL r � s c C s | j S )z� Gets the parent_ref of this CreateEntityShapeFromSQL. :return: The parent_ref of this CreateEntityShapeFromSQL. :rtype: oci.data_integration.models.ParentReference �r9 rO rK rK rL r � s z#CreateEntityShapeFromSQL.parent_refc C s || _ dS )z� Sets the parent_ref of this CreateEntityShapeFromSQL. :param parent_ref: The parent_ref of this CreateEntityShapeFromSQL. :type: oci.data_integration.models.ParentReference NrQ )rI r rK rK rL r � s c C s | j S )aO Gets the name of this CreateEntityShapeFromSQL. 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 CreateEntityShapeFromSQL. :rtype: str �r: rO rK rK rL r � s zCreateEntityShapeFromSQL.namec C s || _ dS )aR Sets the name of this CreateEntityShapeFromSQL. 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 CreateEntityShapeFromSQL. :type: str NrR )rI r rK rK rL r s c C s | j S )z� Gets the description of this CreateEntityShapeFromSQL. Detailed description for the object. :return: The description of this CreateEntityShapeFromSQL. :rtype: str �r; rO rK rK rL r s z$CreateEntityShapeFromSQL.descriptionc C s || _ dS )z� Sets the description of this CreateEntityShapeFromSQL. Detailed description for the object. :param description: The description of this CreateEntityShapeFromSQL. :type: str NrS )rI r rK rK rL r s c C s | j S )z� Gets the object_version of this CreateEntityShapeFromSQL. The version of the object that is used to track changes in the object instance. :return: The object_version of this CreateEntityShapeFromSQL. :rtype: int �r<