ruạṛ
a ���f� � @ 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 dZ d Zd ZdZ dZd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd� Zdd� Zd S )!�AssociatedComponentz2 The details of the associated component. �ASM�ASM_INSTANCE�CLUSTER�CLUSTER_INSTANCE�DATABASE�DATABASE_INSTANCE� DATABASE_HOME� DATABASE_NODE�DBSYSTEM�LISTENER�PLUGGABLE_DATABASE�CONTAINS�USESc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new AssociatedComponent object with values from keyword arguments. 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 AssociatedComponent. :type component_id: str :param component_type: The value to assign to the component_type property of this AssociatedComponent. Allowed values for this property are: "ASM", "ASM_INSTANCE", "CLUSTER", "CLUSTER_INSTANCE", "DATABASE", "DATABASE_INSTANCE", "DATABASE_HOME", "DATABASE_NODE", "DBSYSTEM", "LISTENER", "PLUGGABLE_DATABASE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type component_type: str :param association_type: The value to assign to the association_type property of this AssociatedComponent. Allowed values for this property are: "CONTAINS", "USES", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type association_type: str �str)�component_id�component_type�association_typeZcomponentIdZ componentTypeZassociationTypeN)Z swagger_typesZ attribute_map� _component_id�_component_type�_association_type)�self�kwargs� r �W/usr/lib/python3.9/site-packages/oci/database_management/models/associated_component.py�__init__F s ��zAssociatedComponent.__init__c C s | j S )z� **[Required]** Gets the component_id of this AssociatedComponent. The identifier of the associated component. :return: The component_id of this AssociatedComponent. :rtype: str �r �r r r r r l s z AssociatedComponent.component_idc C s || _ dS )z� Sets the component_id of this AssociatedComponent. The identifier of the associated component. :param component_id: The component_id of this AssociatedComponent. :type: str Nr )r r r r r r x s c C s | j S )a Gets the component_type of this AssociatedComponent. The type of associated component. Allowed values for this property are: "ASM", "ASM_INSTANCE", "CLUSTER", "CLUSTER_INSTANCE", "DATABASE", "DATABASE_INSTANCE", "DATABASE_HOME", "DATABASE_NODE", "DBSYSTEM", "LISTENER", "PLUGGABLE_DATABASE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The component_type of this AssociatedComponent. :rtype: str )r r! r r r r � s z"AssociatedComponent.component_typec C s g d�}t ||�sd}|| _dS )z� Sets the component_type of this AssociatedComponent. The type of associated component. :param component_type: The component_type of this AssociatedComponent. :type: str )r r r r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r � s c C s | j S )a� **[Required]** Gets the association_type of this AssociatedComponent. The association type. Allowed values for this property are: "CONTAINS", "USES", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The association_type of this AssociatedComponent. :rtype: str )r r! r r r r � s z$AssociatedComponent.association_typec C s ddg}t ||�sd}|| _dS )z� Sets the association_type of this AssociatedComponent. The association type. :param association_type: The association_type of this AssociatedComponent. :type: str r r r"