HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/oci/opsi/models/__pycache__/sql_bucket.cpython-39.opt-1.pyc
a

���f�+�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@sNeZdZdZdd�Zedd��Zejdd��Zedd��Zejd	d��Zed
d��Z	e	jdd��Z	ed
d��Z
e
jdd��Z
edd��Zejdd��Zedd��Zejdd��Zedd��Z
e
jdd��Z
edd��Zejdd��Zedd��Zejdd��Zedd ��Zejd!d ��Zed"d#��Zejd$d#��Zd%d&�Zd'd(�Zd)d*�Zd+S),�	SqlBucketz!
    Sql bucket type object.
    cKs�dddddddddddd�|_dddd	d
ddd
dddd�|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_dS)a$
        Initializes a new SqlBucket 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 SqlBucket.
        :type version: float

        :param database_type:
            The value to assign to the database_type property of this SqlBucket.
        :type database_type: str

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

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

        :param plan_hash:
            The value to assign to the plan_hash property of this SqlBucket.
        :type plan_hash: int

        :param bucket_id:
            The value to assign to the bucket_id property of this SqlBucket.
        :type bucket_id: str

        :param executions_count:
            The value to assign to the executions_count property of this SqlBucket.
        :type executions_count: int

        :param cpu_time_in_sec:
            The value to assign to the cpu_time_in_sec property of this SqlBucket.
        :type cpu_time_in_sec: float

        :param io_time_in_sec:
            The value to assign to the io_time_in_sec property of this SqlBucket.
        :type io_time_in_sec: float

        :param other_wait_time_in_sec:
            The value to assign to the other_wait_time_in_sec property of this SqlBucket.
        :type other_wait_time_in_sec: float

        :param total_time_in_sec:
            The value to assign to the total_time_in_sec property of this SqlBucket.
        :type total_time_in_sec: float

        �float�strZdatetime�int)�version�
database_type�time_collected�sql_identifier�	plan_hash�	bucket_id�executions_count�cpu_time_in_sec�io_time_in_sec�other_wait_time_in_sec�total_time_in_secr
ZdatabaseTypeZ
timeCollectedZ
sqlIdentifierZplanHashZbucketIdZexecutionsCountZcpuTimeInSecZioTimeInSecZotherWaitTimeInSecZtotalTimeInSecN)
Z
swagger_typesZ
attribute_map�_version�_database_type�_time_collected�_sql_identifier�
_plan_hash�
_bucket_id�_executions_count�_cpu_time_in_sec�_io_time_in_sec�_other_wait_time_in_sec�_total_time_in_sec)�self�kwargs�r"�>/usr/lib/python3.9/site-packages/oci/opsi/models/sql_bucket.py�__init__sF3��zSqlBucket.__init__cCs|jS)z�
        Gets the version of this SqlBucket.
        Version
        Example: `1`


        :return: The version of this SqlBucket.
        :rtype: float
        �r�r r"r"r#r
lszSqlBucket.versioncCs
||_dS)z�
        Sets the version of this SqlBucket.
        Version
        Example: `1`


        :param version: The version of this SqlBucket.
        :type: float
        Nr%)r r
r"r"r#r
yscCs|jS)z�
        Gets the database_type of this SqlBucket.
        Ops Insights internal representation of the database type.


        :return: The database_type of this SqlBucket.
        :rtype: str
        �rr&r"r"r#r�s
zSqlBucket.database_typecCs
||_dS)z�
        Sets the database_type of this SqlBucket.
        Ops Insights internal representation of the database type.


        :param database_type: The database_type of this SqlBucket.
        :type: str
        Nr')r rr"r"r#r�s
cCs|jS)z�
        **[Required]** Gets the time_collected of this SqlBucket.
        Collection timestamp
        Example: `"2020-03-31T00:00:00.000Z"`


        :return: The time_collected of this SqlBucket.
        :rtype: datetime
        �rr&r"r"r#r�szSqlBucket.time_collectedcCs
||_dS)z�
        Sets the time_collected of this SqlBucket.
        Collection timestamp
        Example: `"2020-03-31T00:00:00.000Z"`


        :param time_collected: The time_collected of this SqlBucket.
        :type: datetime
        Nr()r rr"r"r#r�scCs|jS)z�
        **[Required]** Gets the sql_identifier of this SqlBucket.
        Unique SQL_ID for a SQL Statement.


        :return: The sql_identifier of this SqlBucket.
        :rtype: str
        �rr&r"r"r#r
�s
zSqlBucket.sql_identifiercCs
||_dS)z�
        Sets the sql_identifier of this SqlBucket.
        Unique SQL_ID for a SQL Statement.


        :param sql_identifier: The sql_identifier of this SqlBucket.
        :type: str
        Nr))r r
r"r"r#r
�s
cCs|jS)z�
        **[Required]** Gets the plan_hash of this SqlBucket.
        Plan hash value for the SQL Execution Plan


        :return: The plan_hash of this SqlBucket.
        :rtype: int
        �rr&r"r"r#r�s
zSqlBucket.plan_hashcCs
||_dS)z�
        Sets the plan_hash of this SqlBucket.
        Plan hash value for the SQL Execution Plan


        :param plan_hash: The plan_hash of this SqlBucket.
        :type: int
        Nr*)r rr"r"r#r�s
cCs|jS)a
        **[Required]** Gets the bucket_id of this SqlBucket.
        SQL Bucket ID, examples <= 3 secs, 3-10 secs, 10-60 secs, 1-5 min, > 5 min
        Example: `"<= 3 secs"`


        :return: The bucket_id of this SqlBucket.
        :rtype: str
        �rr&r"r"r#r�szSqlBucket.bucket_idcCs
||_dS)z�
        Sets the bucket_id of this SqlBucket.
        SQL Bucket ID, examples <= 3 secs, 3-10 secs, 10-60 secs, 1-5 min, > 5 min
        Example: `"<= 3 secs"`


        :param bucket_id: The bucket_id of this SqlBucket.
        :type: str
        Nr+)r rr"r"r#r�scCs|jS)z�
        Gets the executions_count of this SqlBucket.
        Total number of executions
        Example: `60`


        :return: The executions_count of this SqlBucket.
        :rtype: int
        �rr&r"r"r#rszSqlBucket.executions_countcCs
||_dS)z�
        Sets the executions_count of this SqlBucket.
        Total number of executions
        Example: `60`


        :param executions_count: The executions_count of this SqlBucket.
        :type: int
        Nr,)r rr"r"r#rscCs|jS)z�
        Gets the cpu_time_in_sec of this SqlBucket.
        Total CPU time
        Example: `1046`


        :return: The cpu_time_in_sec of this SqlBucket.
        :rtype: float
        �rr&r"r"r#rszSqlBucket.cpu_time_in_seccCs
||_dS)z�
        Sets the cpu_time_in_sec of this SqlBucket.
        Total CPU time
        Example: `1046`


        :param cpu_time_in_sec: The cpu_time_in_sec of this SqlBucket.
        :type: float
        Nr-)r rr"r"r#r)scCs|jS)z�
        Gets the io_time_in_sec of this SqlBucket.
        Total IO time
        Example: `5810`


        :return: The io_time_in_sec of this SqlBucket.
        :rtype: float
        �rr&r"r"r#r6szSqlBucket.io_time_in_seccCs
||_dS)z�
        Sets the io_time_in_sec of this SqlBucket.
        Total IO time
        Example: `5810`


        :param io_time_in_sec: The io_time_in_sec of this SqlBucket.
        :type: float
        Nr.)r rr"r"r#rCscCs|jS)z�
        Gets the other_wait_time_in_sec of this SqlBucket.
        Total other wait time
        Example: `24061`


        :return: The other_wait_time_in_sec of this SqlBucket.
        :rtype: float
        �rr&r"r"r#rPsz SqlBucket.other_wait_time_in_seccCs
||_dS)z�
        Sets the other_wait_time_in_sec of this SqlBucket.
        Total other wait time
        Example: `24061`


        :param other_wait_time_in_sec: The other_wait_time_in_sec of this SqlBucket.
        :type: float
        Nr/)r rr"r"r#r]scCs|jS)z�
        Gets the total_time_in_sec of this SqlBucket.
        Total time
        Example: `30917`


        :return: The total_time_in_sec of this SqlBucket.
        :rtype: float
        �rr&r"r"r#rjszSqlBucket.total_time_in_seccCs
||_dS)z�
        Sets the total_time_in_sec of this SqlBucket.
        Total time
        Example: `30917`


        :param total_time_in_sec: The total_time_in_sec of this SqlBucket.
        :type: float
        Nr0)r rr"r"r#rwscCst|�S�N)rr&r"r"r#�__repr__�szSqlBucket.__repr__cCs|durdS|j|jkS)NF)�__dict__�r �otherr"r"r#�__eq__�szSqlBucket.__eq__cCs
||kSr1r"r4r"r"r#�__ne__�szSqlBucket.__ne__N)�__name__�
__module__�__qualname__�__doc__r$�propertyr
�setterrrr
rrrrrrrr2r6r7r"r"r"r#rsbZ





















rN)Zoci.utilrrrZoci.decoratorsr�objectrr"r"r"r#�<module>s