File: //lib/python3.9/site-packages/oci/opsi/models/__pycache__/sql_inventory.cpython-39.opt-1.pyc
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 d
d� Z
dd� Zdd� ZdS )�SqlInventoryz
Inventory details.
c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a�
Initializes a new SqlInventory object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param total_sqls:
The value to assign to the total_sqls property of this SqlInventory.
:type total_sqls: int
:param total_databases:
The value to assign to the total_databases property of this SqlInventory.
:type total_databases: int
:param sqls_analyzed:
The value to assign to the sqls_analyzed property of this SqlInventory.
:type sqls_analyzed: int
�int)�
total_sqls�total_databases�
sqls_analyzedZ totalSqlsZtotalDatabasesZsqlsAnalyzedN)Z
swagger_typesZ
attribute_map�_total_sqls�_total_databases�_sqls_analyzed)�self�kwargs� r �A/usr/lib/python3.9/site-packages/oci/opsi/models/sql_inventory.py�__init__ s ��zSqlInventory.__init__c C s | j S )z�
**[Required]** Gets the total_sqls of this SqlInventory.
Total number of sqls. Example `2000`
:return: The total_sqls of this SqlInventory.
:rtype: int
�r �r r r r r 4 s
zSqlInventory.total_sqlsc C s
|| _ dS )z�
Sets the total_sqls of this SqlInventory.
Total number of sqls. Example `2000`
:param total_sqls: The total_sqls of this SqlInventory.
:type: int
Nr )r r r r r r @ s
c C s | j S )z�
**[Required]** Gets the total_databases of this SqlInventory.
Total number of Databases. Example `400`
:return: The total_databases of this SqlInventory.
:rtype: int
�r r r r r r L s
zSqlInventory.total_databasesc C s
|| _ dS )z�
Sets the total_databases of this SqlInventory.
Total number of Databases. Example `400`
:param total_databases: The total_databases of this SqlInventory.
:type: int
Nr )r r r r r r X s
c C s | j S )z�
**[Required]** Gets the sqls_analyzed of this SqlInventory.
Total number of sqls analyzed by the query. Example `120`
:return: The sqls_analyzed of this SqlInventory.
:rtype: int
�r
r r r r r
d s
zSqlInventory.sqls_analyzedc C s
|| _ dS )z�
Sets the sqls_analyzed of this SqlInventory.
Total number of sqls analyzed by the query. Example `120`
:param sqls_analyzed: The sqls_analyzed of this SqlInventory.
:type: int
Nr )r r
r r r r
p s
c C s t | �S �N)r r r r r �__repr__| s zSqlInventory.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zSqlInventory.__eq__c C s
| |k S r r r r r r �__ne__� s zSqlInventory.__ne__N)
�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r
r r r r r r r r s"