ruạṛ
a ���f�X � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �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. c K s� dddddddddddddddddddd�| _ dddddd d ddd 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_pctZdatabaseTimeInSecZexecutionsPerHourZexecutionsCountZcpuTimeInSecZioTimeInSecZinefficientWaitTimeInSecZresponseTimeInSecZ planCountr ZaverageActiveSessionsZdatabaseTimePctZinefficiencyInPctZchangeInCpuTimeInPctZchangeInIoTimeInPctZ 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__ sv S��zSqlStatistics.__init__c C s | j S )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/ r1 r1 r2 r � s z"SqlStatistics.database_time_in_secc C s || _ 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 r1 r1 r2 r � s c C s | j S )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 �r r5 r1 r1 r2 r � s z!SqlStatistics.executions_per_hourc C s || _ 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 r1 r1 r2 r � s c C s | j S )z� **[Required]** Gets the executions_count of this SqlStatistics. Total number of executions :return: The executions_count of this SqlStatistics. :rtype: int �r r5 r1 r1 r2 r � s zSqlStatistics.executions_countc C s || _ 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/ r r1 r1 r2 r � s c C s | j S )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 �r r5 r1 r1 r2 r � s zSqlStatistics.cpu_time_in_secc C s || _ 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 r1 r1 r2 r � s c C s | j S )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 r5 r1 r1 r2 r s zSqlStatistics.io_time_in_secc C s || _ 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 r1 r1 r2 r s c C s | j S )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! r5 r1 r1 r2 r s z*SqlStatistics.inefficient_wait_time_in_secc C s || _ 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/ r r1 r1 r2 r ( s c C s | j S )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"