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 @ st e Zd ZdZdZdd� Zedd� �Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zd d� Zdd� Z dd� ZdS )�TargetEnvironmentz0 Description of the target environment. � VM_TARGET_ENVc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new TargetEnvironment object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.cloud_migrations.models.VmTargetEnvironment` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param target_compartment_id: The value to assign to the target_compartment_id property of this TargetEnvironment. :type target_compartment_id: str :param target_environment_type: The value to assign to the target_environment_type property of this TargetEnvironment. Allowed values for this property are: "VM_TARGET_ENV", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type target_environment_type: str �str)�target_compartment_id�target_environment_typeZtargetCompartmentId�targetEnvironmentTypeN)Z swagger_typesZ attribute_map�_target_compartment_id�_target_environment_type)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/cloud_migrations/models/target_environment.py�__init__ s ��zTargetEnvironment.__init__c C s | d }|dkrdS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZVmTargetEnvironmentr Nr )Zobject_dictionary�typer r r �get_subtype7 s zTargetEnvironment.get_subtypec C s | j S )z� Gets the target_compartment_id of this TargetEnvironment. Target compartment identifier :return: The target_compartment_id of this TargetEnvironment. :rtype: str �r �r r r r r D s z'TargetEnvironment.target_compartment_idc C s || _ dS )z� Sets the target_compartment_id of this TargetEnvironment. Target compartment identifier :param target_compartment_id: The target_compartment_id of this TargetEnvironment. :type: str Nr )r r r r r r P s c C s | j S )a� **[Required]** Gets the target_environment_type of this TargetEnvironment. The type of target environment. Allowed values for this property are: "VM_TARGET_ENV", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The target_environment_type of this TargetEnvironment. :rtype: str )r r r r r r \ s z)TargetEnvironment.target_environment_typec C s dg}t ||�sd}|| _dS )z� Sets the target_environment_type of this TargetEnvironment. The type of target environment. :param target_environment_type: The target_environment_type of this TargetEnvironment. :type: str r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r k s c C s t | �S �N)r r r r r �__repr__z s zTargetEnvironment.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__} s zTargetEnvironment.__eq__c C s | |k S r r r r r r �__ne__� s zTargetEnvironment.__ne__N)�__name__� __module__�__qualname__�__doc__Z%TARGET_ENVIRONMENT_TYPE_VM_TARGET_ENVr �staticmethodr �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