ruạṛ
a ���f�* � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� DatabaseConfigurationMetricGroup� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s4 e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zd"d#� Zd$d%� Zd&d'� Zd(S ))�DBExternalPropertieszB Configuration parameters defined for external databases. c K s� ddddddddddddd�| _ dddddd d ddd ddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a Initializes a new DBExternalProperties object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.DBExternalProperties.metric_name` attribute of this class is ``DB_EXTERNAL_PROPERTIES`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param metric_name: The value to assign to the metric_name property of this DBExternalProperties. Allowed values for this property are: "DB_EXTERNAL_PROPERTIES", "DB_EXTERNAL_INSTANCE", "DB_OS_CONFIG_INSTANCE", "DB_PARAMETERS" :type metric_name: str :param time_collected: The value to assign to the time_collected property of this DBExternalProperties. :type time_collected: datetime :param name: The value to assign to the name property of this DBExternalProperties. :type name: str :param log_mode: The value to assign to the log_mode property of this DBExternalProperties. :type log_mode: str :param cdb: The value to assign to the cdb property of this DBExternalProperties. :type cdb: str :param open_mode: The value to assign to the open_mode property of this DBExternalProperties. :type open_mode: str :param database_role: The value to assign to the database_role property of this DBExternalProperties. :type database_role: str :param guard_status: The value to assign to the guard_status property of this DBExternalProperties. :type guard_status: str :param platform_name: The value to assign to the platform_name property of this DBExternalProperties. :type platform_name: str :param control_file_type: The value to assign to the control_file_type property of this DBExternalProperties. :type control_file_type: str :param switchover_status: The value to assign to the switchover_status property of this DBExternalProperties. :type switchover_status: str :param created: The value to assign to the created property of this DBExternalProperties. :type created: datetime �strZdatetime)Zmetric_nameZtime_collected�name�log_mode�cdb� open_mode� database_role�guard_status� platform_name�control_file_type�switchover_status�createdZ metricNameZ timeCollectedr ZlogModer ZopenModeZdatabaseRoleZguardStatusZplatformNameZcontrolFileTypeZswitchoverStatusr NZDB_EXTERNAL_PROPERTIES)Z swagger_typesZ attribute_mapZ_metric_nameZ_time_collected�_name� _log_mode�_cdb� _open_mode�_database_role� _guard_status�_platform_name�_control_file_type�_switchover_status�_created)�self�kwargs� r �J/usr/lib/python3.9/site-packages/oci/opsi/models/db_external_properties.py�__init__ sN 9��zDBExternalProperties.__init__c C s | j S )z� Gets the name of this DBExternalProperties. Name of the database. :return: The name of this DBExternalProperties. :rtype: str �r �r r r r! r v s zDBExternalProperties.namec C s || _ dS )z� Sets the name of this DBExternalProperties. Name of the database. :param name: The name of this DBExternalProperties. :type: str Nr# )r r r r r! r � s c C s | j S )z� Gets the log_mode of this DBExternalProperties. Archive log mode. :return: The log_mode of this DBExternalProperties. :rtype: str �r r$ r r r! r � s zDBExternalProperties.log_modec C s || _ dS )z� Sets the log_mode of this DBExternalProperties. Archive log mode. :param log_mode: The log_mode of this DBExternalProperties. :type: str Nr% )r r r r r! r � s c C s | j S )z� Gets the cdb of this DBExternalProperties. Indicates if it is a CDB or not. This would be 'yes' or 'no'. :return: The cdb of this DBExternalProperties. :rtype: str �r r$ r r r! r � s zDBExternalProperties.cdbc C s || _ dS )z� Sets the cdb of this DBExternalProperties. Indicates if it is a CDB or not. This would be 'yes' or 'no'. :param cdb: The cdb of this DBExternalProperties. :type: str Nr&