o
    ɶdf                      @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s   e Zd ZdZdd Zedd Zejdd Zedd Zejd	d Zed
d Z	e	jdd Z	edd Z
e
jdd Z
edd Zejdd Zedd Zejdd Zedd Zejdd Zdd Zdd Zdd ZdS ) SqlTextz
    SQL Text type object.
    c                 K   sZ   dddddddd| _ ddddd	d
dd| _d| _d| _d| _d| _d| _d| _d| _dS )a  
        Initializes a new SqlText object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param version:
            The value to assign to the version property of this SqlText.
        :type version: float

        :param sql_identifier:
            The value to assign to the sql_identifier property of this SqlText.
        :type sql_identifier: str

        :param time_collected:
            The value to assign to the time_collected property of this SqlText.
        :type time_collected: datetime

        :param sql_command:
            The value to assign to the sql_command property of this SqlText.
        :type sql_command: str

        :param exact_matching_signature:
            The value to assign to the exact_matching_signature property of this SqlText.
        :type exact_matching_signature: str

        :param force_matching_signature:
            The value to assign to the force_matching_signature property of this SqlText.
        :type force_matching_signature: str

        :param sql_full_text:
            The value to assign to the sql_full_text property of this SqlText.
        :type sql_full_text: str

        floatstrdatetime)versionsql_identifiertime_collectedsql_commandexact_matching_signatureforce_matching_signaturesql_full_textr
   ZsqlIdentifierZtimeCollectedZ
sqlCommandZexactMatchingSignatureZforceMatchingSignatureZsqlFullTextN)	Zswagger_typesZattribute_map_version_sql_identifier_time_collected_sql_command_exact_matching_signature_force_matching_signature_sql_full_text)selfkwargs r   <usr/lib/python3.10/site-packages/oci/opsi/models/sql_text.py__init__   s.   #

zSqlText.__init__c                 C      | j S )z
        Gets the version of this SqlText.
        Version
        Example: `1`


        :return: The version of this SqlText.
        :rtype: float
        r   r   r   r   r   r
   P      zSqlText.versionc                 C   
   || _ dS )z
        Sets the version of this SqlText.
        Version
        Example: `1`


        :param version: The version of this SqlText.
        :type: float
        Nr   )r   r
   r   r   r   r
   ]      
c                 C   r   )z
        **[Required]** Gets the sql_identifier of this SqlText.
        Unique SQL_ID for a SQL Statement.


        :return: The sql_identifier of this SqlText.
        :rtype: str
        r   r   r   r   r   r   j   s   
zSqlText.sql_identifierc                 C   r!   )z
        Sets the sql_identifier of this SqlText.
        Unique SQL_ID for a SQL Statement.


        :param sql_identifier: The sql_identifier of this SqlText.
        :type: str
        Nr#   )r   r   r   r   r   r   v   s   

c                 C   r   )z
        **[Required]** Gets the time_collected of this SqlText.
        Collection timestamp
        Example: `"2020-05-06T00:00:00.000Z"`


        :return: The time_collected of this SqlText.
        :rtype: datetime
        r   r   r   r   r   r      r    zSqlText.time_collectedc                 C   r!   )z
        Sets the time_collected of this SqlText.
        Collection timestamp
        Example: `"2020-05-06T00:00:00.000Z"`


        :param time_collected: The time_collected of this SqlText.
        :type: datetime
        Nr$   )r   r   r   r   r   r      r"   c                 C   r   )z
        **[Required]** Gets the sql_command of this SqlText.
        SQL command
        Example: `"SELECT"`


        :return: The sql_command of this SqlText.
        :rtype: str
        r   r   r   r   r   r      r    zSqlText.sql_commandc                 C   r!   )z
        Sets the sql_command of this SqlText.
        SQL command
        Example: `"SELECT"`


        :param sql_command: The sql_command of this SqlText.
        :type: str
        Nr%   )r   r   r   r   r   r      r"   c                 C   r   )z
        Gets the exact_matching_signature of this SqlText.
        Exact matching signature
        Example: `"18067345456756876713"`


        :return: The exact_matching_signature of this SqlText.
        :rtype: str
        r   r   r   r   r   r      r    z SqlText.exact_matching_signaturec                 C   r!   )z
        Sets the exact_matching_signature of this SqlText.
        Exact matching signature
        Example: `"18067345456756876713"`


        :param exact_matching_signature: The exact_matching_signature of this SqlText.
        :type: str
        Nr&   )r   r   r   r   r   r      r"   c                 C   r   )z
        Gets the force_matching_signature of this SqlText.
        Force matching signature
        Example: `"18067345456756876713"`


        :return: The force_matching_signature of this SqlText.
        :rtype: str
        r   r   r   r   r   r      r    z SqlText.force_matching_signaturec                 C   r!   )z
        Sets the force_matching_signature of this SqlText.
        Force matching signature
        Example: `"18067345456756876713"`


        :param force_matching_signature: The force_matching_signature of this SqlText.
        :type: str
        Nr'   )r   r   r   r   r   r      r"   c                 C   r   )a  
        **[Required]** Gets the sql_full_text of this SqlText.
        Full SQL Text
        Example: `"SELECT username,profile,default_tablespace,temporary_tablespace FROM dba_users"`
        Disclaimer: SQL text being uploaded explicitly via APIs is not masked. Any sensitive literals contained in the sqlFullText column should be masked prior to ingestion.


        :return: The sql_full_text of this SqlText.
        :rtype: str
        r   r   r   r   r   r      s   zSqlText.sql_full_textc                 C   r!   )a  
        Sets the sql_full_text of this SqlText.
        Full SQL Text
        Example: `"SELECT username,profile,default_tablespace,temporary_tablespace FROM dba_users"`
        Disclaimer: SQL text being uploaded explicitly via APIs is not masked. Any sensitive literals contained in the sqlFullText column should be masked prior to ingestion.


        :param sql_full_text: The sql_full_text of this SqlText.
        :type: str
        Nr(   )r   r   r   r   r   r      s   
c                 C   s   t | S N)r   r   r   r   r   __repr__  s   zSqlText.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__	  s   zSqlText.__eq__c                 C   s
   | |k S r)   r   r,   r   r   r   __ne__  s   
zSqlText.__ne__N)__name__
__module____qualname____doc__r   propertyr
   setterr   r   r   r   r   r   r*   r.   r/   r   r   r   r   r      sD    >













r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   