ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�AwrQueryResult� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�AwrDatabaseCollectionz" The result of AWR query. c K sL dddddd�| _ ddddd d�| _d | _d | _d | _d | _d | _d| _d S )a[ Initializes a new AwrDatabaseCollection object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.AwrDatabaseCollection.awr_result_type` attribute of this class is ``AWRDB_SET`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this AwrDatabaseCollection. :type name: str :param version: The value to assign to the version property of this AwrDatabaseCollection. :type version: str :param db_query_time_in_secs: The value to assign to the db_query_time_in_secs property of this AwrDatabaseCollection. :type db_query_time_in_secs: float :param awr_result_type: The value to assign to the awr_result_type property of this AwrDatabaseCollection. Allowed values for this property are: "AWRDB_SET", "AWRDB_SNAPSHOT_RANGE_SET", "AWRDB_SNAPSHOT_SET", "AWRDB_METRICS_SET", "AWRDB_SYSSTAT_SET", "AWRDB_TOP_EVENT_SET", "AWRDB_EVENT_SET", "AWRDB_EVENT_HISTOGRAM", "AWRDB_DB_PARAMETER_SET", "AWRDB_DB_PARAMETER_CHANGE", "AWRDB_ASH_CPU_USAGE_SET", "AWRDB_DB_REPORT", "AWRDB_SQL_REPORT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type awr_result_type: str :param items: The value to assign to the items property of this AwrDatabaseCollection. :type items: list[oci.opsi.models.AwrDatabaseSummary] �str�floatzlist[AwrDatabaseSummary])�name�versionZdb_query_time_in_secsZawr_result_type�itemsr r ZdbQueryTimeInSecsZ awrResultTyper NZ AWRDB_SET)Z swagger_typesZ attribute_map�_nameZ_versionZ_db_query_time_in_secsZ_awr_result_type�_items)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/opsi/models/awr_database_collection.py�__init__ s$ � �zAwrDatabaseCollection.__init__c C s | j S )z� Gets the items of this AwrDatabaseCollection. A list of AWR summary data. :return: The items of this AwrDatabaseCollection. :rtype: list[oci.opsi.models.AwrDatabaseSummary] �r �r r r r r F s zAwrDatabaseCollection.itemsc C s || _ dS )z� Sets the items of this AwrDatabaseCollection. A list of AWR summary data. :param items: The items of this AwrDatabaseCollection. :type: list[oci.opsi.models.AwrDatabaseSummary] Nr )r r r r r r R s c C s t | �S �N)r r r r r �__repr__^ s zAwrDatabaseCollection.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__a s zAwrDatabaseCollection.__eq__c C s | |k S r r r r r r �__ne__g s zAwrDatabaseCollection.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s 4 r N) Zawr_query_resultr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn