ruạṛ
a ���fS � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Asset� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�VmAssetz VM type of asset. c K s� ddddddddddddddddd�| _ d d ddd dddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a Initializes a new VmAsset object with values from keyword arguments. The default value of the :py:attr:`~oci.cloud_bridge.models.VmAsset.asset_type` attribute of this class is ``VM`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this VmAsset. :type display_name: str :param inventory_id: The value to assign to the inventory_id property of this VmAsset. :type inventory_id: str :param id: The value to assign to the id property of this VmAsset. :type id: str :param compartment_id: The value to assign to the compartment_id property of this VmAsset. :type compartment_id: str :param source_key: The value to assign to the source_key property of this VmAsset. :type source_key: str :param external_asset_key: The value to assign to the external_asset_key property of this VmAsset. :type external_asset_key: str :param asset_type: The value to assign to the asset_type property of this VmAsset. Allowed values for this property are: "VMWARE_VM", "VM" :type asset_type: str :param time_created: The value to assign to the time_created property of this VmAsset. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this VmAsset. :type time_updated: datetime :param asset_source_ids: The value to assign to the asset_source_ids property of this VmAsset. :type asset_source_ids: list[str] :param lifecycle_state: The value to assign to the lifecycle_state property of this VmAsset. Allowed values for this property are: "ACTIVE", "DELETED" :type lifecycle_state: str :param freeform_tags: The value to assign to the freeform_tags property of this VmAsset. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this VmAsset. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this VmAsset. :type system_tags: dict(str, dict(str, object)) :param compute: The value to assign to the compute property of this VmAsset. :type compute: oci.cloud_bridge.models.ComputeProperties :param vm: The value to assign to the vm property of this VmAsset. :type vm: oci.cloud_bridge.models.VmProperties �strZdatetimez list[str]zdict(str, str)zdict(str, dict(str, object))ZComputePropertiesZVmProperties)Zdisplay_nameZinventory_id�idZcompartment_idZ source_keyZexternal_asset_keyZ asset_typeZtime_createdZtime_updatedZasset_source_idsZlifecycle_stateZ freeform_tagsZdefined_tagsZsystem_tags�compute�vmZdisplayNameZinventoryIdr Z compartmentIdZ sourceKeyZexternalAssetKeyZ assetTypeZtimeCreatedZtimeUpdatedZassetSourceIdsZlifecycleStateZfreeformTagsZdefinedTagsZ systemTagsr r NZVM)Z swagger_typesZ attribute_mapZ _display_nameZ _inventory_idZ_idZ_compartment_idZ_source_keyZ_external_asset_keyZ_asset_typeZ _time_createdZ _time_updatedZ_asset_source_idsZ_lifecycle_stateZ_freeform_tagsZ _defined_tagsZ_system_tags�_compute�_vm)�self�kwargs� r �D/usr/lib/python3.9/site-packages/oci/cloud_bridge/models/vm_asset.py�__init__ sf J��zVmAsset.__init__c C s | j S )z� Gets the compute of this VmAsset. :return: The compute of this VmAsset. :rtype: oci.cloud_bridge.models.ComputeProperties �r �r r r r r � s zVmAsset.computec C s || _ dS )z� Sets the compute of this VmAsset. :param compute: The compute of this VmAsset. :type: oci.cloud_bridge.models.ComputeProperties Nr )r r r r r r � s c C s | j S )z� Gets the vm of this VmAsset. :return: The vm of this VmAsset. :rtype: oci.cloud_bridge.models.VmProperties �r r r r r r � s z VmAsset.vmc C s || _ dS )z� Sets the vm of this VmAsset. :param vm: The vm of this VmAsset. :type: oci.cloud_bridge.models.VmProperties Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zVmAsset.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zVmAsset.__eq__c C s | |k S r r r r r r �__ne__� s zVmAsset.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s r N) Zassetr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn