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 @ sp e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zd d� Zdd� Z dd� ZdS )�AwrDatabaseReportz' The result of the AWR report. �HTML�TEXT�XMLc K sV ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d| _d S )ak Initializes a new AwrDatabaseReport object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.AwrDatabaseReport.awr_result_type` attribute of this class is ``AWRDB_DB_REPORT`` 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 AwrDatabaseReport. :type name: str :param version: The value to assign to the version property of this AwrDatabaseReport. :type version: str :param db_query_time_in_secs: The value to assign to the db_query_time_in_secs property of this AwrDatabaseReport. :type db_query_time_in_secs: float :param awr_result_type: The value to assign to the awr_result_type property of this AwrDatabaseReport. 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 content: The value to assign to the content property of this AwrDatabaseReport. :type content: str :param format: The value to assign to the format property of this AwrDatabaseReport. Allowed values for this property are: "HTML", "TEXT", "XML", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type format: str �str�float)�name�versionZdb_query_time_in_secsZawr_result_type�content�formatr r ZdbQueryTimeInSecsZ awrResultTyper r NZAWRDB_DB_REPORT)Z swagger_typesZ attribute_map�_nameZ_versionZ_db_query_time_in_secsZ_awr_result_type�_content�_format)�self�kwargs� r �G/usr/lib/python3.9/site-packages/oci/opsi/models/awr_database_report.py�__init__ s* $� � zAwrDatabaseReport.__init__c C s | j S )z� Gets the content of this AwrDatabaseReport. The content of the report. :return: The content of this AwrDatabaseReport. :rtype: str �r �r r r r r [ s zAwrDatabaseReport.contentc C s || _ dS )z� Sets the content of this AwrDatabaseReport. The content of the report. :param content: The content of this AwrDatabaseReport. :type: str Nr )r r r r r r g s c C s | j S )ae Gets the format of this AwrDatabaseReport. The format of the report. Allowed values for this property are: "HTML", "TEXT", "XML", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The format of this AwrDatabaseReport. :rtype: str )r r r r r r s s zAwrDatabaseReport.formatc C s g d�}t ||�sd}|| _dS )z� Sets the format of this AwrDatabaseReport. The format of the report. :param format: The format of this AwrDatabaseReport. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s t | �S �N)r r r r r �__repr__� s zAwrDatabaseReport.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zAwrDatabaseReport.__eq__c C s | |k S r r r r r r �__ne__� s zAwrDatabaseReport.__ne__N)�__name__� __module__�__qualname__�__doc__ZFORMAT_HTMLZFORMAT_TEXTZ FORMAT_XMLr �propertyr �setterr r r! r"