ruạṛ
a ���f* � @ 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� �Zdd� Z dd� Zdd� ZdS )� SqlMetricsz3 Metrics of the Sql in the Sql tuning set. c K sP ddddddd�| _ ddddddd�| _d | _d | _d | _d | _d | _d | _d S ) a Initializes a new SqlMetrics object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param cpu_time: The value to assign to the cpu_time property of this SqlMetrics. :type cpu_time: int :param elapsed_time: The value to assign to the elapsed_time property of this SqlMetrics. :type elapsed_time: int :param buffer_gets: The value to assign to the buffer_gets property of this SqlMetrics. :type buffer_gets: int :param disk_reads: The value to assign to the disk_reads property of this SqlMetrics. :type disk_reads: int :param direct_writes: The value to assign to the direct_writes property of this SqlMetrics. :type direct_writes: int :param executions: The value to assign to the executions property of this SqlMetrics. :type executions: int �int)�cpu_time�elapsed_time�buffer_gets� disk_reads� direct_writes� executionsZcpuTimeZelapsedTimeZ bufferGetsZ diskReadsZdirectWritesr N)Z swagger_typesZ attribute_map� _cpu_time� _elapsed_time�_buffer_gets�_disk_reads�_direct_writes�_executions)�self�kwargs� r �N/usr/lib/python3.9/site-packages/oci/database_management/models/sql_metrics.py�__init__ s( � � zSqlMetrics.__init__c C s | j S )z� Gets the cpu_time of this SqlMetrics. Total CPU time consumed by the Sql. :return: The cpu_time of this SqlMetrics. :rtype: int �r �r r r r r I s zSqlMetrics.cpu_timec C s || _ dS )z� Sets the cpu_time of this SqlMetrics. Total CPU time consumed by the Sql. :param cpu_time: The cpu_time of this SqlMetrics. :type: int Nr )r r r r r r U s c C s | j S )z� Gets the elapsed_time of this SqlMetrics. Elapsed time of the Sql. :return: The elapsed_time of this SqlMetrics. :rtype: int �r r r r r r a s zSqlMetrics.elapsed_timec C s || _ dS )z� Sets the elapsed_time of this SqlMetrics. Elapsed time of the Sql. :param elapsed_time: The elapsed_time of this SqlMetrics. :type: int Nr )r r r r r r m s c C s | j S )z� Gets the buffer_gets of this SqlMetrics. Sum total number of buffer gets. :return: The buffer_gets of this SqlMetrics. :rtype: int �r r r r r r y s zSqlMetrics.buffer_getsc C s || _ dS )z� Sets the buffer_gets of this SqlMetrics. Sum total number of buffer gets. :param buffer_gets: The buffer_gets of this SqlMetrics. :type: int Nr )r r r r r r � s c C s | j S )z� Gets the disk_reads of this SqlMetrics. Sum total number of disk reads. :return: The disk_reads of this SqlMetrics. :rtype: int �r r r r r r � s zSqlMetrics.disk_readsc C s || _ dS )z� Sets the disk_reads of this SqlMetrics. Sum total number of disk reads. :param disk_reads: The disk_reads of this SqlMetrics. :type: int Nr )r r r r r r � s c C s | j S )z� Gets the direct_writes of this SqlMetrics. Sum total number of direct path writes. :return: The direct_writes of this SqlMetrics. :rtype: int �r r r r r r � s zSqlMetrics.direct_writesc C s || _ dS )z� Sets the direct_writes of this SqlMetrics. Sum total number of direct path writes. :param direct_writes: The direct_writes of this SqlMetrics. :type: int Nr )r r r r r r � s c C s | j S )z� Gets the executions of this SqlMetrics. Total executions of this SQL statement. :return: The executions of this SqlMetrics. :rtype: int �r r r r r r � s zSqlMetrics.executionsc C s || _ dS )z� Sets the executions of this SqlMetrics. Total executions of this SQL statement. :param executions: The executions of this SqlMetrics. :type: int Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zSqlMetrics.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zSqlMetrics.__eq__c C s | |k S r r r# r r r �__ne__� s zSqlMetrics.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r! r% r&