HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/oci/opsi/models/__pycache__/awr_database_report.cpython-39.pyc
a

���f��@sDddlmZddlmZmZmZddlmZeGdd�de��ZdS)�)�AwrQueryResult�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@speZdZdZdZdZdZdd�Zedd��Z	e	j
d	d��Z	ed
d��Zej
dd��Zd
d�Zdd�Z
dd�ZdS)�AwrDatabaseReportz'
    The result of the AWR report.
    �HTML�TEXT�XMLcKsVddddddd�|_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�formatrrZdbQueryTimeInSecsZ
awrResultTyperrNZAWRDB_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__cCs|jS)z�
        Gets the content of this AwrDatabaseReport.
        The content of the report.


        :return: The content of this AwrDatabaseReport.
        :rtype: str
        �r�rrrrr[s
zAwrDatabaseReport.contentcCs
||_dS)z�
        Sets the content of this AwrDatabaseReport.
        The content of the report.


        :param content: The content of this AwrDatabaseReport.
        :type: str
        Nr)rrrrrrgs
cCs|jS)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
        )rrrrrrss
zAwrDatabaseReport.formatcCs gd�}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
rZUNKNOWN_ENUM_VALUEN)rr)rrZallowed_valuesrrrr�s

cCst|�S�N)rrrrr�__repr__�szAwrDatabaseReport.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__�szAwrDatabaseReport.__eq__cCs
||kSrrrrrr�__ne__�szAwrDatabaseReport.__ne__N)�__name__�
__module__�__qualname__�__doc__ZFORMAT_HTMLZFORMAT_TEXTZ
FORMAT_XMLr�propertyr�setterrrr!r"rrrrrs =



rN)	Zawr_query_resultrZoci.utilrrrZoci.decoratorsrrrrrr�<module>s