ruạṛ
a ���ft# � @ 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 dZ d Zd Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zdd � Zd!d"� Zd#d$� Zd%S )&�StatementSummaryzA Information derived from parsing a NoSQL SQL statement. �CREATE_TABLE�ALTER_TABLE� DROP_TABLE�CREATE_INDEX� DROP_INDEX�SELECT�UPDATE�INSERT�DELETEc K sP ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d S )a` Initializes a new StatementSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param operation: The value to assign to the operation property of this StatementSummary. Allowed values for this property are: "CREATE_TABLE", "ALTER_TABLE", "DROP_TABLE", "CREATE_INDEX", "DROP_INDEX", "SELECT", "UPDATE", "INSERT", "DELETE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operation: str :param table_name: The value to assign to the table_name property of this StatementSummary. :type table_name: str :param index_name: The value to assign to the index_name property of this StatementSummary. :type index_name: str :param is_if_exists: The value to assign to the is_if_exists property of this StatementSummary. :type is_if_exists: bool :param is_if_not_exists: The value to assign to the is_if_not_exists property of this StatementSummary. :type is_if_not_exists: bool :param syntax_error: The value to assign to the syntax_error property of this StatementSummary. :type syntax_error: str �str�bool)� operation� table_name� index_name�is_if_exists�is_if_not_exists�syntax_errorr Z tableNameZ indexNameZ isIfExistsZ isIfNotExistsZsyntaxErrorN)Z swagger_typesZ attribute_map� _operation�_table_name�_index_name� _is_if_exists�_is_if_not_exists� _syntax_error)�self�kwargs� r �F/usr/lib/python3.9/site-packages/oci/nosql/models/statement_summary.py�__init__6 s( !� � zStatementSummary.__init__c C s | j S )a� Gets the operation of this StatementSummary. The operation represented in the statement, e.g. CREATE_TABLE. Allowed values for this property are: "CREATE_TABLE", "ALTER_TABLE", "DROP_TABLE", "CREATE_INDEX", "DROP_INDEX", "SELECT", "UPDATE", "INSERT", "DELETE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The operation of this StatementSummary. :rtype: str )r �r r r r! r o s zStatementSummary.operationc C s g d�}t ||�sd}|| _dS )z� Sets the operation of this StatementSummary. The operation represented in the statement, e.g. CREATE_TABLE. :param operation: The operation of this StatementSummary. :type: str ) r r r r r r r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r! r ~ s c C s | j S )z� Gets the table_name of this StatementSummary. The table name from the SQL statement. :return: The table_name of this StatementSummary. :rtype: str �r r# r r r! r � s zStatementSummary.table_namec C s || _ dS )z� Sets the table_name of this StatementSummary. The table name from the SQL statement. :param table_name: The table_name of this StatementSummary. :type: str Nr$ )r r r r r! r � s c C s | j S )z� Gets the index_name of this StatementSummary. The index name from the SQL statement, if present. :return: The index_name of this StatementSummary. :rtype: str �r r# r r r! r � s zStatementSummary.index_namec C s || _ dS )z� Sets the index_name of this StatementSummary. The index name from the SQL statement, if present. :param index_name: The index_name of this StatementSummary. :type: str Nr% )r r r r r! r � s c C s | j S )z� Gets the is_if_exists of this StatementSummary. True if the statement includes "IF EXISTS." :return: The is_if_exists of this StatementSummary. :rtype: bool �r r# r r r! r � s zStatementSummary.is_if_existsc C s || _ dS )z� Sets the is_if_exists of this StatementSummary. True if the statement includes "IF EXISTS." :param is_if_exists: The is_if_exists of this StatementSummary. :type: bool Nr&