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 @ sp e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zd d� Zdd� Z dd� ZdS )�TargetEntryz^ Details to specify a target to add or remove from a Exadata Fleet Update Collection. �DATABASE� VMCLUSTER�CLOUDVMCLUSTERc K s( ddd�| _ ddd�| _d| _d| _dS )a: Initializes a new TargetEntry 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 TargetEntry. Allowed values for this property are: "DATABASE", "VMCLUSTER", "CLOUDVMCLUSTER" :type entity_type: str :param identifier: The value to assign to the identifier property of this TargetEntry. :type identifier: str �str)�entity_type� identifierZ entityTyper N)Z swagger_typesZ attribute_map�_entity_type�_identifier)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/fleet_software_update/models/target_entry.py�__init__ s ��zTargetEntry.__init__c C s | j S )a **[Required]** Gets the entity_type of this TargetEntry. Resource entity type Allowed values for this property are: "DATABASE", "VMCLUSTER", "CLOUDVMCLUSTER" :return: The entity_type of this TargetEntry. :rtype: str )r �r r r r r : s zTargetEntry.entity_typec C s* g d�}t ||�s td|� ���|| _dS )z� Sets the entity_type of this TargetEntry. Resource entity type :param entity_type: The entity_type of this TargetEntry. :type: str )r r r z8Invalid value for `entity_type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r H s �c C s | j S )z� **[Required]** Gets the identifier of this TargetEntry. Resource identifier OCID :return: The identifier of this TargetEntry. :rtype: str �r r r r r r Y s zTargetEntry.identifierc C s || _ dS )z� Sets the identifier of this TargetEntry. Resource identifier OCID :param identifier: The identifier of this TargetEntry. :type: str Nr )r r r r r r e s c C s t | �S �N)r r r r r �__repr__q s zTargetEntry.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__t s zTargetEntry.__eq__c C s | |k S r r r r r r �__ne__z s zTargetEntry.__ne__N)�__name__� __module__�__qualname__�__doc__ZENTITY_TYPE_DATABASEZENTITY_TYPE_VMCLUSTERZENTITY_TYPE_CLOUDVMCLUSTERr �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
cải xoăn