ruạṛ
a ���f�# � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�#DiscoveredExternalDbSystemComponent� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zdd� Zdd� Z dd� ZdS )�DiscoveredExternalAsmzR The details of an ASM discovered in an external DB system discovery run. c K s� dddddddddddddd� | _ ddd d ddd ddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )an Initializes a new DiscoveredExternalAsm object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.DiscoveredExternalAsm.component_type` attribute of this class is ``ASM`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param component_id: The value to assign to the component_id property of this DiscoveredExternalAsm. :type component_id: str :param display_name: The value to assign to the display_name property of this DiscoveredExternalAsm. :type display_name: str :param component_name: The value to assign to the component_name property of this DiscoveredExternalAsm. :type component_name: str :param component_type: The value to assign to the component_type property of this DiscoveredExternalAsm. Allowed values for this property are: "ASM", "ASM_INSTANCE", "CLUSTER", "CLUSTER_INSTANCE", "DATABASE", "DATABASE_INSTANCE", "DATABASE_HOME", "DATABASE_NODE", "DBSYSTEM", "LISTENER", "PLUGGABLE_DATABASE" :type component_type: str :param resource_id: The value to assign to the resource_id property of this DiscoveredExternalAsm. :type resource_id: str :param is_selected_for_monitoring: The value to assign to the is_selected_for_monitoring property of this DiscoveredExternalAsm. :type is_selected_for_monitoring: bool :param status: The value to assign to the status property of this DiscoveredExternalAsm. Allowed values for this property are: "NEW", "EXISTING", "MARKED_FOR_DELETION", "UNKNOWN" :type status: str :param associated_components: The value to assign to the associated_components property of this DiscoveredExternalAsm. :type associated_components: list[oci.database_management.models.AssociatedComponent] :param grid_home: The value to assign to the grid_home property of this DiscoveredExternalAsm. :type grid_home: str :param is_flex_enabled: The value to assign to the is_flex_enabled property of this DiscoveredExternalAsm. :type is_flex_enabled: bool :param version: The value to assign to the version property of this DiscoveredExternalAsm. :type version: str :param asm_instances: The value to assign to the asm_instances property of this DiscoveredExternalAsm. :type asm_instances: list[oci.database_management.models.DiscoveredExternalAsmInstance] :param connector: The value to assign to the connector property of this DiscoveredExternalAsm. :type connector: oci.database_management.models.ExternalDbSystemDiscoveryConnector �str�boolzlist[AssociatedComponent]z#list[DiscoveredExternalAsmInstance]Z"ExternalDbSystemDiscoveryConnector) Zcomponent_idZdisplay_nameZcomponent_nameZcomponent_typeZresource_idZis_selected_for_monitoring�statusZassociated_components� grid_home�is_flex_enabled�version� asm_instances� connectorZcomponentIdZdisplayNameZ componentNameZ componentTypeZ resourceIdZisSelectedForMonitoringr ZassociatedComponentsZgridHomeZ isFlexEnabledr ZasmInstancesr NZASM)Z swagger_typesZ attribute_mapZ _component_idZ _display_nameZ_component_nameZ_component_typeZ_resource_idZ_is_selected_for_monitoringZ_statusZ_associated_components� _grid_home�_is_flex_enabled�_version�_asm_instances� _connector)�self�kwargs� r �Z/usr/lib/python3.9/site-packages/oci/database_management/models/discovered_external_asm.py�__init__ sT >��zDiscoveredExternalAsm.__init__c C s | j S )a Gets the grid_home of this DiscoveredExternalAsm. The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed. :return: The grid_home of this DiscoveredExternalAsm. :rtype: str �r �r r r r r ~ s zDiscoveredExternalAsm.grid_homec C s || _ dS )a Sets the grid_home of this DiscoveredExternalAsm. The directory in which ASM is installed. This is the same directory in which Oracle Grid Infrastructure is installed. :param grid_home: The grid_home of this DiscoveredExternalAsm. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the is_flex_enabled of this DiscoveredExternalAsm. Indicates whether Oracle Flex ASM is enabled or not. :return: The is_flex_enabled of this DiscoveredExternalAsm. :rtype: bool �r r r r r r � s z%DiscoveredExternalAsm.is_flex_enabledc C s || _ dS )z� Sets the is_flex_enabled of this DiscoveredExternalAsm. Indicates whether Oracle Flex ASM is enabled or not. :param is_flex_enabled: The is_flex_enabled of this DiscoveredExternalAsm. :type: bool Nr )r r r r r r � s c C s | j S )z� Gets the version of this DiscoveredExternalAsm. The ASM version. :return: The version of this DiscoveredExternalAsm. :rtype: str �r r r r r r � s zDiscoveredExternalAsm.versionc C s || _ dS )z� Sets the version of this DiscoveredExternalAsm. The ASM version. :param version: The version of this DiscoveredExternalAsm. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the asm_instances of this DiscoveredExternalAsm. :return: The asm_instances of this DiscoveredExternalAsm. :rtype: list[oci.database_management.models.DiscoveredExternalAsmInstance] �r r r r r r � s z#DiscoveredExternalAsm.asm_instancesc C s || _ dS )z� Sets the asm_instances of this DiscoveredExternalAsm. :param asm_instances: The asm_instances of this DiscoveredExternalAsm. :type: list[oci.database_management.models.DiscoveredExternalAsmInstance] Nr )r r r r r r � s c C s | j S )z� Gets the connector of this DiscoveredExternalAsm. :return: The connector of this DiscoveredExternalAsm. :rtype: oci.database_management.models.ExternalDbSystemDiscoveryConnector �r r r r r r � s zDiscoveredExternalAsm.connectorc C s || _ dS )z� Sets the connector of this DiscoveredExternalAsm. :param connector: The connector of this DiscoveredExternalAsm. :type: oci.database_management.models.ExternalDbSystemDiscoveryConnector Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zDiscoveredExternalAsm.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zDiscoveredExternalAsm.__eq__c C s | |k S r! r r$ r r r �__ne__� s zDiscoveredExternalAsm.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r"