/
lib
/
python3.9
/
site-packages
/
oci
/
database_tools
/
models
/
__pycache__
/
Upload File
HOME
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 @ sp e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zd d� Zdd� Z dd� ZdS )�DatabaseToolsRelatedResourcez A related resource �AUTONOMOUSDATABASE�DATABASE�PLUGGABLEDATABASEc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new DatabaseToolsRelatedResource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param entity_type: The value to assign to the entity_type property of this DatabaseToolsRelatedResource. Allowed values for this property are: "AUTONOMOUSDATABASE", "DATABASE", "PLUGGABLEDATABASE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type entity_type: str :param identifier: The value to assign to the identifier property of this DatabaseToolsRelatedResource. :type identifier: str �str)�entity_type� identifierZ entityTyper N)Z swagger_typesZ attribute_map�_entity_type�_identifier)�self�kwargs� r �]/usr/lib/python3.9/site-packages/oci/database_tools/models/database_tools_related_resource.py�__init__ s ��z%DatabaseToolsRelatedResource.__init__c C s | j S )a� **[Required]** Gets the entity_type of this DatabaseToolsRelatedResource. The resource entity type. Allowed values for this property are: "AUTONOMOUSDATABASE", "DATABASE", "PLUGGABLEDATABASE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The entity_type of this DatabaseToolsRelatedResource. :rtype: str )r �r r r r r ; s z(DatabaseToolsRelatedResource.entity_typec C s g d�}t ||�sd}|| _dS )z� Sets the entity_type of this DatabaseToolsRelatedResource. The resource entity type. :param entity_type: The entity_type of this DatabaseToolsRelatedResource. :type: str )r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r J s c C s | j S )a7 **[Required]** Gets the identifier of this DatabaseToolsRelatedResource. The `OCID`__ of the related resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The identifier of this DatabaseToolsRelatedResource. :rtype: str �r r r r r r Y s z'DatabaseToolsRelatedResource.identifierc C s || _ dS )a1 Sets the identifier of this DatabaseToolsRelatedResource. The `OCID`__ of the related resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param identifier: The identifier of this DatabaseToolsRelatedResource. :type: str Nr )r r r r r r g s c C s t | �S �N)r r r r r �__repr__u s z%DatabaseToolsRelatedResource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__x s z#DatabaseToolsRelatedResource.__eq__c C s | |k S r r r r r r �__ne__~ s z#DatabaseToolsRelatedResource.__ne__N)�__name__� __module__�__qualname__�__doc__ZENTITY_TYPE_AUTONOMOUSDATABASEZENTITY_TYPE_DATABASEZENTITY_TYPE_PLUGGABLEDATABASEr �propertyr �setterr r r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s