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_statistics.cpython-39.opt-1.pyc
a

���f�X�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@seZdZdZdd�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#��Zed%d&��Zejd'd&��Zed(d)��Zejd*d)��Zed+d,��Zejd-d,��Zed.d/��Zejd0d/��Zed1d2��Zejd3d2��Zed4d5��Zejd6d5��Zed7d8��Zejd9d8��Zed:d;��Zejd<d;��Zd=d>�Zd?d@�ZdAdB�ZdCS)D�
SqlStatisticsz-
    Performance statistics for the SQL.
    cKs�dddddddddddddddddddd�|_dddddd	d
ddd
dddddddddd�|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_d|_d|_d|_d|_dS)a+
        Initializes a new SqlStatistics object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param database_time_in_sec:
            The value to assign to the database_time_in_sec property of this SqlStatistics.
        :type database_time_in_sec: float

        :param executions_per_hour:
            The value to assign to the executions_per_hour property of this SqlStatistics.
        :type executions_per_hour: float

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

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

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

        :param inefficient_wait_time_in_sec:
            The value to assign to the inefficient_wait_time_in_sec property of this SqlStatistics.
        :type inefficient_wait_time_in_sec: float

        :param response_time_in_sec:
            The value to assign to the response_time_in_sec property of this SqlStatistics.
        :type response_time_in_sec: float

        :param plan_count:
            The value to assign to the plan_count property of this SqlStatistics.
        :type plan_count: int

        :param variability:
            The value to assign to the variability property of this SqlStatistics.
        :type variability: float

        :param average_active_sessions:
            The value to assign to the average_active_sessions property of this SqlStatistics.
        :type average_active_sessions: float

        :param database_time_pct:
            The value to assign to the database_time_pct property of this SqlStatistics.
        :type database_time_pct: float

        :param inefficiency_in_pct:
            The value to assign to the inefficiency_in_pct property of this SqlStatistics.
        :type inefficiency_in_pct: float

        :param change_in_cpu_time_in_pct:
            The value to assign to the change_in_cpu_time_in_pct property of this SqlStatistics.
        :type change_in_cpu_time_in_pct: float

        :param change_in_io_time_in_pct:
            The value to assign to the change_in_io_time_in_pct property of this SqlStatistics.
        :type change_in_io_time_in_pct: float

        :param change_in_inefficient_wait_time_in_pct:
            The value to assign to the change_in_inefficient_wait_time_in_pct property of this SqlStatistics.
        :type change_in_inefficient_wait_time_in_pct: float

        :param change_in_response_time_in_pct:
            The value to assign to the change_in_response_time_in_pct property of this SqlStatistics.
        :type change_in_response_time_in_pct: float

        :param change_in_average_active_sessions_in_pct:
            The value to assign to the change_in_average_active_sessions_in_pct property of this SqlStatistics.
        :type change_in_average_active_sessions_in_pct: float

        :param change_in_executions_per_hour_in_pct:
            The value to assign to the change_in_executions_per_hour_in_pct property of this SqlStatistics.
        :type change_in_executions_per_hour_in_pct: float

        :param change_in_inefficiency_in_pct:
            The value to assign to the change_in_inefficiency_in_pct property of this SqlStatistics.
        :type change_in_inefficiency_in_pct: float

        �float�int)�database_time_in_sec�executions_per_hour�executions_count�cpu_time_in_sec�io_time_in_sec�inefficient_wait_time_in_sec�response_time_in_sec�
plan_count�variability�average_active_sessions�database_time_pct�inefficiency_in_pct�change_in_cpu_time_in_pct�change_in_io_time_in_pct�&change_in_inefficient_wait_time_in_pct�change_in_response_time_in_pct�(change_in_average_active_sessions_in_pct�$change_in_executions_per_hour_in_pct�change_in_inefficiency_in_pctZdatabaseTimeInSecZexecutionsPerHourZexecutionsCountZcpuTimeInSecZioTimeInSecZinefficientWaitTimeInSecZresponseTimeInSecZ	planCountrZaverageActiveSessionsZdatabaseTimePctZinefficiencyInPctZchangeInCpuTimeInPctZchangeInIoTimeInPctZ changeInInefficientWaitTimeInPctZchangeInResponseTimeInPctZ"changeInAverageActiveSessionsInPctZchangeInExecutionsPerHourInPctZchangeInInefficiencyInPctN)Z
swagger_typesZ
attribute_map�_database_time_in_sec�_executions_per_hour�_executions_count�_cpu_time_in_sec�_io_time_in_sec�_inefficient_wait_time_in_sec�_response_time_in_sec�_plan_count�_variability�_average_active_sessions�_database_time_pct�_inefficiency_in_pct�_change_in_cpu_time_in_pct�_change_in_io_time_in_pct�'_change_in_inefficient_wait_time_in_pct�_change_in_response_time_in_pct�)_change_in_average_active_sessions_in_pct�%_change_in_executions_per_hour_in_pct�_change_in_inefficiency_in_pct)�self�kwargs�r1�B/usr/lib/python3.9/site-packages/oci/opsi/models/sql_statistics.py�__init__svS��zSqlStatistics.__init__cCs|jS)z�
        **[Required]** Gets the database_time_in_sec of this SqlStatistics.
        Database Time in seconds


        :return: The database_time_in_sec of this SqlStatistics.
        :rtype: float
        �r�r/r1r1r2r	�s
z"SqlStatistics.database_time_in_seccCs
||_dS)z�
        Sets the database_time_in_sec of this SqlStatistics.
        Database Time in seconds


        :param database_time_in_sec: The database_time_in_sec of this SqlStatistics.
        :type: float
        Nr4)r/r	r1r1r2r	�s
cCs|jS)z�
        **[Required]** Gets the executions_per_hour of this SqlStatistics.
        Number of executions per hour


        :return: The executions_per_hour of this SqlStatistics.
        :rtype: float
        �rr5r1r1r2r
�s
z!SqlStatistics.executions_per_hourcCs
||_dS)z�
        Sets the executions_per_hour of this SqlStatistics.
        Number of executions per hour


        :param executions_per_hour: The executions_per_hour of this SqlStatistics.
        :type: float
        Nr6)r/r
r1r1r2r
�s
cCs|jS)z�
        **[Required]** Gets the executions_count of this SqlStatistics.
        Total number of executions


        :return: The executions_count of this SqlStatistics.
        :rtype: int
        �rr5r1r1r2r�s
zSqlStatistics.executions_countcCs
||_dS)z�
        Sets the executions_count of this SqlStatistics.
        Total number of executions


        :param executions_count: The executions_count of this SqlStatistics.
        :type: int
        Nr7)r/rr1r1r2r�s
cCs|jS)z�
        **[Required]** Gets the cpu_time_in_sec of this SqlStatistics.
        CPU Time in seconds


        :return: The cpu_time_in_sec of this SqlStatistics.
        :rtype: float
        �rr5r1r1r2r�s
zSqlStatistics.cpu_time_in_seccCs
||_dS)z�
        Sets the cpu_time_in_sec of this SqlStatistics.
        CPU Time in seconds


        :param cpu_time_in_sec: The cpu_time_in_sec of this SqlStatistics.
        :type: float
        Nr8)r/rr1r1r2r�s
cCs|jS)z�
        **[Required]** Gets the io_time_in_sec of this SqlStatistics.
        I/O Time in seconds


        :return: The io_time_in_sec of this SqlStatistics.
        :rtype: float
        �r r5r1r1r2r
s
zSqlStatistics.io_time_in_seccCs
||_dS)z�
        Sets the io_time_in_sec of this SqlStatistics.
        I/O Time in seconds


        :param io_time_in_sec: The io_time_in_sec of this SqlStatistics.
        :type: float
        Nr9)r/r
r1r1r2r
s
cCs|jS)z�
        **[Required]** Gets the inefficient_wait_time_in_sec of this SqlStatistics.
        Inefficient Wait Time in seconds


        :return: The inefficient_wait_time_in_sec of this SqlStatistics.
        :rtype: float
        �r!r5r1r1r2rs
z*SqlStatistics.inefficient_wait_time_in_seccCs
||_dS)z�
        Sets the inefficient_wait_time_in_sec of this SqlStatistics.
        Inefficient Wait Time in seconds


        :param inefficient_wait_time_in_sec: The inefficient_wait_time_in_sec of this SqlStatistics.
        :type: float
        Nr:)r/rr1r1r2r(s
cCs|jS)a3
        **[Required]** Gets the response_time_in_sec of this SqlStatistics.
        Response time is the average elaspsed time per execution. It is the ratio of Total Database Time to the number of executions


        :return: The response_time_in_sec of this SqlStatistics.
        :rtype: float
        �r"r5r1r1r2r4s
z"SqlStatistics.response_time_in_seccCs
||_dS)a7
        Sets the response_time_in_sec of this SqlStatistics.
        Response time is the average elaspsed time per execution. It is the ratio of Total Database Time to the number of executions


        :param response_time_in_sec: The response_time_in_sec of this SqlStatistics.
        :type: float
        Nr;)r/rr1r1r2r@s
cCs|jS)z�
        **[Required]** Gets the plan_count of this SqlStatistics.
        Number of SQL execution plans used by the SQL


        :return: The plan_count of this SqlStatistics.
        :rtype: int
        �r#r5r1r1r2rLs
zSqlStatistics.plan_countcCs
||_dS)z�
        Sets the plan_count of this SqlStatistics.
        Number of SQL execution plans used by the SQL


        :param plan_count: The plan_count of this SqlStatistics.
        :type: int
        Nr<)r/rr1r1r2rXs
cCs|jS)a
        **[Required]** Gets the variability of this SqlStatistics.
        Variability is the ratio of the standard deviation in response time to the mean of response time of the SQL


        :return: The variability of this SqlStatistics.
        :rtype: float
        �r$r5r1r1r2rds
zSqlStatistics.variabilitycCs
||_dS)a
        Sets the variability of this SqlStatistics.
        Variability is the ratio of the standard deviation in response time to the mean of response time of the SQL


        :param variability: The variability of this SqlStatistics.
        :type: float
        Nr=)r/rr1r1r2rps
cCs|jS)aO
        **[Required]** Gets the average_active_sessions of this SqlStatistics.
        Average Active Sessions represent the average active sessions at a point in time. It is the number of sessions that are either working or waiting.


        :return: The average_active_sessions of this SqlStatistics.
        :rtype: float
        �r%r5r1r1r2r|s
z%SqlStatistics.average_active_sessionscCs
||_dS)aV
        Sets the average_active_sessions of this SqlStatistics.
        Average Active Sessions represent the average active sessions at a point in time. It is the number of sessions that are either working or waiting.


        :param average_active_sessions: The average_active_sessions of this SqlStatistics.
        :type: float
        Nr>)r/rr1r1r2r�s
cCs|jS)z�
        **[Required]** Gets the database_time_pct of this SqlStatistics.
        Percentage of Database Time


        :return: The database_time_pct of this SqlStatistics.
        :rtype: float
        �r&r5r1r1r2r�s
zSqlStatistics.database_time_pctcCs
||_dS)z�
        Sets the database_time_pct of this SqlStatistics.
        Percentage of Database Time


        :param database_time_pct: The database_time_pct of this SqlStatistics.
        :type: float
        Nr?)r/rr1r1r2r�s
cCs|jS)a
        **[Required]** Gets the inefficiency_in_pct of this SqlStatistics.
        Percentage of Inefficiency. It is calculated by Total Database Time divided by Total Wait Time


        :return: The inefficiency_in_pct of this SqlStatistics.
        :rtype: float
        �r'r5r1r1r2r�s
z!SqlStatistics.inefficiency_in_pctcCs
||_dS)a
        Sets the inefficiency_in_pct of this SqlStatistics.
        Percentage of Inefficiency. It is calculated by Total Database Time divided by Total Wait Time


        :param inefficiency_in_pct: The inefficiency_in_pct of this SqlStatistics.
        :type: float
        Nr@)r/rr1r1r2r�s
cCs|jS)z�
        **[Required]** Gets the change_in_cpu_time_in_pct of this SqlStatistics.
        Percent change in CPU Time based on linear regression


        :return: The change_in_cpu_time_in_pct of this SqlStatistics.
        :rtype: float
        �r(r5r1r1r2r�s
z'SqlStatistics.change_in_cpu_time_in_pctcCs
||_dS)z�
        Sets the change_in_cpu_time_in_pct of this SqlStatistics.
        Percent change in CPU Time based on linear regression


        :param change_in_cpu_time_in_pct: The change_in_cpu_time_in_pct of this SqlStatistics.
        :type: float
        NrA)r/rr1r1r2r�s
cCs|jS)z�
        **[Required]** Gets the change_in_io_time_in_pct of this SqlStatistics.
        Percent change in IO Time based on linear regression


        :return: The change_in_io_time_in_pct of this SqlStatistics.
        :rtype: float
        �r)r5r1r1r2r�s
z&SqlStatistics.change_in_io_time_in_pctcCs
||_dS)z�
        Sets the change_in_io_time_in_pct of this SqlStatistics.
        Percent change in IO Time based on linear regression


        :param change_in_io_time_in_pct: The change_in_io_time_in_pct of this SqlStatistics.
        :type: float
        NrB)r/rr1r1r2r�s
cCs|jS)a
        **[Required]** Gets the change_in_inefficient_wait_time_in_pct of this SqlStatistics.
        Percent change in Inefficient Wait Time based on linear regression


        :return: The change_in_inefficient_wait_time_in_pct of this SqlStatistics.
        :rtype: float
        �r*r5r1r1r2r�s
z4SqlStatistics.change_in_inefficient_wait_time_in_pctcCs
||_dS)a3
        Sets the change_in_inefficient_wait_time_in_pct of this SqlStatistics.
        Percent change in Inefficient Wait Time based on linear regression


        :param change_in_inefficient_wait_time_in_pct: The change_in_inefficient_wait_time_in_pct of this SqlStatistics.
        :type: float
        NrC)r/rr1r1r2rs
cCs|jS)a
        **[Required]** Gets the change_in_response_time_in_pct of this SqlStatistics.
        Percent change in Response Time based on linear regression


        :return: The change_in_response_time_in_pct of this SqlStatistics.
        :rtype: float
        �r+r5r1r1r2rs
z,SqlStatistics.change_in_response_time_in_pctcCs
||_dS)a
        Sets the change_in_response_time_in_pct of this SqlStatistics.
        Percent change in Response Time based on linear regression


        :param change_in_response_time_in_pct: The change_in_response_time_in_pct of this SqlStatistics.
        :type: float
        NrD)r/rr1r1r2rs
cCs|jS)a#
        **[Required]** Gets the change_in_average_active_sessions_in_pct of this SqlStatistics.
        Percent change in Average Active Sessions based on linear regression


        :return: The change_in_average_active_sessions_in_pct of this SqlStatistics.
        :rtype: float
        �r,r5r1r1r2r$s
z6SqlStatistics.change_in_average_active_sessions_in_pctcCs
||_dS)a;
        Sets the change_in_average_active_sessions_in_pct of this SqlStatistics.
        Percent change in Average Active Sessions based on linear regression


        :param change_in_average_active_sessions_in_pct: The change_in_average_active_sessions_in_pct of this SqlStatistics.
        :type: float
        NrE)r/rr1r1r2r0s
cCs|jS)a
        **[Required]** Gets the change_in_executions_per_hour_in_pct of this SqlStatistics.
        Percent change in Executions per hour based on linear regression


        :return: The change_in_executions_per_hour_in_pct of this SqlStatistics.
        :rtype: float
        �r-r5r1r1r2r<s
z2SqlStatistics.change_in_executions_per_hour_in_pctcCs
||_dS)a+
        Sets the change_in_executions_per_hour_in_pct of this SqlStatistics.
        Percent change in Executions per hour based on linear regression


        :param change_in_executions_per_hour_in_pct: The change_in_executions_per_hour_in_pct of this SqlStatistics.
        :type: float
        NrF)r/rr1r1r2rHs
cCs|jS)a
        **[Required]** Gets the change_in_inefficiency_in_pct of this SqlStatistics.
        Percent change in Inefficiency based on linear regression


        :return: The change_in_inefficiency_in_pct of this SqlStatistics.
        :rtype: float
        �r.r5r1r1r2rTs
z+SqlStatistics.change_in_inefficiency_in_pctcCs
||_dS)a
        Sets the change_in_inefficiency_in_pct of this SqlStatistics.
        Percent change in Inefficiency based on linear regression


        :param change_in_inefficiency_in_pct: The change_in_inefficiency_in_pct of this SqlStatistics.
        :type: float
        NrG)r/rr1r1r2r`s
cCst|�S�N)rr5r1r1r2�__repr__lszSqlStatistics.__repr__cCs|durdS|j|jkS)NF)�__dict__�r/�otherr1r1r2�__eq__oszSqlStatistics.__eq__cCs
||kSrHr1rKr1r1r2�__ne__uszSqlStatistics.__ne__N)�__name__�
__module__�__qualname__�__doc__r3�propertyr	�setterr
rrr
rrrrrrrrrrrrrrrIrMrNr1r1r1r2rs�





































rN)Zoci.utilrrrZoci.decoratorsr�objectrr1r1r1r2�<module>s