📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
cloud_migrations
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/cloud_migrations/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: target_asset_summary.cpython-39.pyc
a ���f�D � @ 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 ZdZdZdd� Zedd� �Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zd4d5� Zd6d7� Zd8d9� Zd:S );�TargetAssetSummaryz& Summary of the target asset. �INSTANCEc K s� dddddddddddddddd�| _ dd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )aO Initializes a new TargetAssetSummary 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.VmTargetAssetSummary` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this TargetAssetSummary. :type id: str :param display_name: The value to assign to the display_name property of this TargetAssetSummary. :type display_name: str :param lifecycle_state: The value to assign to the lifecycle_state property of this TargetAssetSummary. :type lifecycle_state: str :param migration_plan_id: The value to assign to the migration_plan_id property of this TargetAssetSummary. :type migration_plan_id: str :param compartment_id: The value to assign to the compartment_id property of this TargetAssetSummary. :type compartment_id: str :param created_resource_id: The value to assign to the created_resource_id property of this TargetAssetSummary. :type created_resource_id: str :param type: The value to assign to the type property of this TargetAssetSummary. Allowed values for this property are: "INSTANCE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param is_excluded_from_execution: The value to assign to the is_excluded_from_execution property of this TargetAssetSummary. :type is_excluded_from_execution: bool :param compatibility_messages: The value to assign to the compatibility_messages property of this TargetAssetSummary. :type compatibility_messages: list[oci.cloud_migrations.models.CompatibilityMessage] :param estimated_cost: The value to assign to the estimated_cost property of this TargetAssetSummary. :type estimated_cost: oci.cloud_migrations.models.CostEstimation :param time_created: The value to assign to the time_created property of this TargetAssetSummary. :type time_created: datetime :param lifecycle_details: The value to assign to the lifecycle_details property of this TargetAssetSummary. :type lifecycle_details: str :param time_updated: The value to assign to the time_updated property of this TargetAssetSummary. :type time_updated: datetime :param time_assessed: The value to assign to the time_assessed property of this TargetAssetSummary. :type time_assessed: datetime :param migration_asset: The value to assign to the migration_asset property of this TargetAssetSummary. :type migration_asset: oci.cloud_migrations.models.MigrationAssetSummary �str�boolzlist[CompatibilityMessage]ZCostEstimationZdatetimeZMigrationAssetSummary)�id�display_name�lifecycle_state�migration_plan_id�compartment_id�created_resource_id�type�is_excluded_from_execution�compatibility_messages�estimated_cost�time_created�lifecycle_details�time_updated� time_assessed�migration_assetr ZdisplayNameZlifecycleStateZmigrationPlanIdZ compartmentIdZcreatedResourceIdr ZisExcludedFromExecutionZcompatibilityMessagesZ estimatedCostZtimeCreatedZlifecycleDetailsZtimeUpdatedZtimeAssessedZmigrationAssetN)Z swagger_typesZ attribute_map�_id� _display_name�_lifecycle_state�_migration_plan_id�_compartment_id�_created_resource_id�_type�_is_excluded_from_execution�_compatibility_messages�_estimated_cost� _time_created�_lifecycle_details� _time_updated�_time_assessed�_migration_asset)�self�kwargs� r* �T/usr/lib/python3.9/site-packages/oci/cloud_migrations/models/target_asset_summary.py�__init__ s^ I��zTargetAssetSummary.__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 ZVmTargetAssetSummaryr Nr* )Zobject_dictionaryr r* r* r+ �get_subtype� s zTargetAssetSummary.get_subtypec C s | j S )z� **[Required]** Gets the id of this TargetAssetSummary. Unique identifier that is immutable on creation. :return: The id of this TargetAssetSummary. :rtype: str �r �r( r* r* r+ r � s zTargetAssetSummary.idc C s || _ dS )z� Sets the id of this TargetAssetSummary. Unique identifier that is immutable on creation. :param id: The id of this TargetAssetSummary. :type: str Nr. )r( r r* r* r+ r � s c C s | j S )a Gets the display_name of this TargetAssetSummary. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this TargetAssetSummary. :rtype: str �r r/ r* r* r+ r � s zTargetAssetSummary.display_namec C s || _ dS )a Sets the display_name of this TargetAssetSummary. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this TargetAssetSummary. :type: str Nr0 )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the lifecycle_state of this TargetAssetSummary. The current state of the target asset. :return: The lifecycle_state of this TargetAssetSummary. :rtype: str �r r/ r* r* r+ r � s z"TargetAssetSummary.lifecycle_statec C s || _ dS )z� Sets the lifecycle_state of this TargetAssetSummary. The current state of the target asset. :param lifecycle_state: The lifecycle_state of this TargetAssetSummary. :type: str Nr1 )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the migration_plan_id of this TargetAssetSummary. OCID of the associated migration plan. :return: The migration_plan_id of this TargetAssetSummary. :rtype: str �r r/ r* r* r+ r � s z$TargetAssetSummary.migration_plan_idc C s || _ dS )z� Sets the migration_plan_id of this TargetAssetSummary. OCID of the associated migration plan. :param migration_plan_id: The migration_plan_id of this TargetAssetSummary. :type: str Nr2 )r( r r* r* r+ r � s c C s | j S )z� Gets the compartment_id of this TargetAssetSummary. Compartment identifier :return: The compartment_id of this TargetAssetSummary. :rtype: str �r r/ r* r* r+ r � s z!TargetAssetSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this TargetAssetSummary. Compartment identifier :param compartment_id: The compartment_id of this TargetAssetSummary. :type: str Nr3 )r( r r* r* r+ r s c C s | j S )z� Gets the created_resource_id of this TargetAssetSummary. Created resource identifier :return: The created_resource_id of this TargetAssetSummary. :rtype: str �r r/ r* r* r+ r s z&TargetAssetSummary.created_resource_idc C s || _ dS )z� Sets the created_resource_id of this TargetAssetSummary. Created resource identifier :param created_resource_id: The created_resource_id of this TargetAssetSummary. :type: str Nr4 )r( r r* r* r+ r # s c C s | j S )ag **[Required]** Gets the type of this TargetAssetSummary. The type of target asset. Allowed values for this property are: "INSTANCE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this TargetAssetSummary. :rtype: str )r r/ r* r* r+ r / s zTargetAssetSummary.typec C s dg}t ||�sd}|| _dS )z� Sets the type of this TargetAssetSummary. The type of target asset. :param type: The type of this TargetAssetSummary. :type: str r ZUNKNOWN_ENUM_VALUEN)r r )r( r Zallowed_valuesr* r* r+ r > s c C s | j S )a **[Required]** Gets the is_excluded_from_execution of this TargetAssetSummary. A boolean indicating whether the asset should be migrated. :return: The is_excluded_from_execution of this TargetAssetSummary. :rtype: bool �r r/ r* r* r+ r M s z-TargetAssetSummary.is_excluded_from_executionc C s || _ dS )a Sets the is_excluded_from_execution of this TargetAssetSummary. A boolean indicating whether the asset should be migrated. :param is_excluded_from_execution: The is_excluded_from_execution of this TargetAssetSummary. :type: bool Nr5 )r( r r* r* r+ r Y s c C s | j S )a Gets the compatibility_messages of this TargetAssetSummary. Messages about compatibility issues. :return: The compatibility_messages of this TargetAssetSummary. :rtype: list[oci.cloud_migrations.models.CompatibilityMessage] �r! r/ r* r* r+ r e s z)TargetAssetSummary.compatibility_messagesc C s || _ dS )a Sets the compatibility_messages of this TargetAssetSummary. Messages about compatibility issues. :param compatibility_messages: The compatibility_messages of this TargetAssetSummary. :type: list[oci.cloud_migrations.models.CompatibilityMessage] Nr6 )r( r r* r* r+ r q s c C s | j S )z� **[Required]** Gets the estimated_cost of this TargetAssetSummary. :return: The estimated_cost of this TargetAssetSummary. :rtype: oci.cloud_migrations.models.CostEstimation �r"