ruạṛ
a ���f( � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DatabaseInsightSummary� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )� AutonomousDatabaseInsightSummaryz1 Summary of a database insight resource. c K s� dddddddddddddddddddddd�| _ d d ddd ddddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _ dS ) a� Initializes a new AutonomousDatabaseInsightSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.AutonomousDatabaseInsightSummary.entity_source` attribute of this class is ``AUTONOMOUS_DATABASE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this AutonomousDatabaseInsightSummary. :type id: str :param database_id: The value to assign to the database_id property of this AutonomousDatabaseInsightSummary. :type database_id: str :param compartment_id: The value to assign to the compartment_id property of this AutonomousDatabaseInsightSummary. :type compartment_id: str :param database_name: The value to assign to the database_name property of this AutonomousDatabaseInsightSummary. :type database_name: str :param database_display_name: The value to assign to the database_display_name property of this AutonomousDatabaseInsightSummary. :type database_display_name: str :param database_type: The value to assign to the database_type property of this AutonomousDatabaseInsightSummary. :type database_type: str :param database_version: The value to assign to the database_version property of this AutonomousDatabaseInsightSummary. :type database_version: str :param database_host_names: The value to assign to the database_host_names property of this AutonomousDatabaseInsightSummary. :type database_host_names: list[str] :param freeform_tags: The value to assign to the freeform_tags property of this AutonomousDatabaseInsightSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AutonomousDatabaseInsightSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this AutonomousDatabaseInsightSummary. :type system_tags: dict(str, dict(str, object)) :param entity_source: The value to assign to the entity_source property of this AutonomousDatabaseInsightSummary. Allowed values for this property are: "AUTONOMOUS_DATABASE", "EM_MANAGED_EXTERNAL_DATABASE", "MACS_MANAGED_EXTERNAL_DATABASE", "PE_COMANAGED_DATABASE", "MDS_MYSQL_DATABASE_SYSTEM" :type entity_source: str :param processor_count: The value to assign to the processor_count property of this AutonomousDatabaseInsightSummary. :type processor_count: int :param status: The value to assign to the status property of this AutonomousDatabaseInsightSummary. Allowed values for this property are: "DISABLED", "ENABLED", "TERMINATED" :type status: str :param time_created: The value to assign to the time_created property of this AutonomousDatabaseInsightSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AutonomousDatabaseInsightSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this AutonomousDatabaseInsightSummary. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION" :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this AutonomousDatabaseInsightSummary. :type lifecycle_details: str :param database_connection_status_details: The value to assign to the database_connection_status_details property of this AutonomousDatabaseInsightSummary. :type database_connection_status_details: str :param database_resource_type: The value to assign to the database_resource_type property of this AutonomousDatabaseInsightSummary. :type database_resource_type: str :param is_advanced_features_enabled: The value to assign to the is_advanced_features_enabled property of this AutonomousDatabaseInsightSummary. :type is_advanced_features_enabled: bool �strz list[str]zdict(str, str)zdict(str, dict(str, object))�intZdatetime�bool)�idZdatabase_idZcompartment_idZ database_nameZdatabase_display_nameZ database_typeZdatabase_versionZdatabase_host_namesZ freeform_tagsZdefined_tagsZsystem_tagsZ entity_sourceZprocessor_count�statusZtime_createdZtime_updatedZlifecycle_stateZlifecycle_detailsZ"database_connection_status_details�database_resource_type�is_advanced_features_enabledr Z databaseIdZ compartmentIdZdatabaseNameZdatabaseDisplayNameZdatabaseTypeZdatabaseVersionZdatabaseHostNamesZfreeformTagsZdefinedTagsZ systemTagsZentitySourceZprocessorCountr ZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZdatabaseConnectionStatusDetailsZdatabaseResourceTypeZisAdvancedFeaturesEnabledNZAUTONOMOUS_DATABASE)Z swagger_typesZ attribute_mapZ_idZ_database_idZ_compartment_idZ_database_nameZ_database_display_nameZ_database_typeZ_database_versionZ_database_host_namesZ_freeform_tagsZ _defined_tagsZ_system_tagsZ_entity_sourceZ_processor_countZ_statusZ _time_createdZ _time_updatedZ_lifecycle_stateZ_lifecycle_detailsZ#_database_connection_status_details�_database_resource_type�_is_advanced_features_enabled)�self�kwargs� r �W/usr/lib/python3.9/site-packages/oci/opsi/models/autonomous_database_insight_summary.py�__init__ s� _��z)AutonomousDatabaseInsightSummary.__init__c C s | j S )z� Gets the database_resource_type of this AutonomousDatabaseInsightSummary. OCI database resource type :return: The database_resource_type of this AutonomousDatabaseInsightSummary. :rtype: str �r �r r r r r � s z7AutonomousDatabaseInsightSummary.database_resource_typec C s || _ dS )z� Sets the database_resource_type of this AutonomousDatabaseInsightSummary. OCI database resource type :param database_resource_type: The database_resource_type of this AutonomousDatabaseInsightSummary. :type: str Nr )r r r r r r � s c C s | j S )a/ Gets the is_advanced_features_enabled of this AutonomousDatabaseInsightSummary. Flag is to identify if advanced features for autonomous database is enabled or not :return: The is_advanced_features_enabled of this AutonomousDatabaseInsightSummary. :rtype: bool �r r r r r r � s z=AutonomousDatabaseInsightSummary.is_advanced_features_enabledc C s || _ dS )aJ Sets the is_advanced_features_enabled of this AutonomousDatabaseInsightSummary. Flag is to identify if advanced features for autonomous database is enabled or not :param is_advanced_features_enabled: The is_advanced_features_enabled of this AutonomousDatabaseInsightSummary. :type: bool Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z)AutonomousDatabaseInsightSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z'AutonomousDatabaseInsightSummary.__eq__c C s | |k S r r r r r r �__ne__� s z'AutonomousDatabaseInsightSummary.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s & r N) Zdatabase_insight_summaryr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn