ruạṛ
a ���fE � @ 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 ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Zdd� Zdd� ZdS )�OperationsInsightsConfigzL The configuration of Operations Insights for the external database �ENABLING�ENABLED� DISABLING�NOT_ENABLED�FAILED_ENABLING�FAILED_DISABLINGc K s( ddd�| _ ddd�| _d| _d| _dS )ax Initializes a new OperationsInsightsConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param operations_insights_status: The value to assign to the operations_insights_status property of this OperationsInsightsConfig. Allowed values for this property are: "ENABLING", "ENABLED", "DISABLING", "NOT_ENABLED", "FAILED_ENABLING", "FAILED_DISABLING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type operations_insights_status: str :param operations_insights_connector_id: The value to assign to the operations_insights_connector_id property of this OperationsInsightsConfig. :type operations_insights_connector_id: str �str)�operations_insights_status� operations_insights_connector_idZoperationsInsightsStatusZoperationsInsightsConnectorIdN)Z swagger_typesZ attribute_map�_operations_insights_status�!_operations_insights_connector_id)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/database/models/operations_insights_config.py�__init__* s ��z!OperationsInsightsConfig.__init__c C s | j S )a� **[Required]** Gets the operations_insights_status of this OperationsInsightsConfig. The status of Operations Insights Allowed values for this property are: "ENABLING", "ENABLED", "DISABLING", "NOT_ENABLED", "FAILED_ENABLING", "FAILED_DISABLING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The operations_insights_status of this OperationsInsightsConfig. :rtype: str )r �r r r r r G s z3OperationsInsightsConfig.operations_insights_statusc C s g d�}t ||�sd}|| _dS )a Sets the operations_insights_status of this OperationsInsightsConfig. The status of Operations Insights :param operations_insights_status: The operations_insights_status of this OperationsInsightsConfig. :type: str )r r r r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r V s c C s | j S )av Gets the operations_insights_connector_id of this OperationsInsightsConfig. The `OCID`__ of the :func:`create_external_database_connector_details`. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The operations_insights_connector_id of this OperationsInsightsConfig. :rtype: str �r r r r r r e s z9OperationsInsightsConfig.operations_insights_connector_idc C s || _ dS )a� Sets the operations_insights_connector_id of this OperationsInsightsConfig. The `OCID`__ of the :func:`create_external_database_connector_details`. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param operations_insights_connector_id: The operations_insights_connector_id of this OperationsInsightsConfig. :type: str Nr )r r r r r r t s c C s t | �S �N)r r r r r �__repr__� s z!OperationsInsightsConfig.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zOperationsInsightsConfig.__eq__c C s | |k S r r r r r r �__ne__� s zOperationsInsightsConfig.__ne__N)�__name__� __module__�__qualname__�__doc__Z#OPERATIONS_INSIGHTS_STATUS_ENABLINGZ"OPERATIONS_INSIGHTS_STATUS_ENABLEDZ$OPERATIONS_INSIGHTS_STATUS_DISABLINGZ&OPERATIONS_INSIGHTS_STATUS_NOT_ENABLEDZ*OPERATIONS_INSIGHTS_STATUS_FAILED_ENABLINGZ+OPERATIONS_INSIGHTS_STATUS_FAILED_DISABLINGr �propertyr �setterr r r r r r r r r s&