ruạṛ
a N��f8L � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zd7d8� Zd9d:� Zd;d<� Zd=S )>�MigrationPlanSummaryz( Summary of the migration plan. c K s� dddddddddddddddddd �| _ d ddd dddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )aW Initializes a new MigrationPlanSummary object with values from keyword arguments. 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 MigrationPlanSummary. :type id: str :param compartment_id: The value to assign to the compartment_id property of this MigrationPlanSummary. :type compartment_id: str :param display_name: The value to assign to the display_name property of this MigrationPlanSummary. :type display_name: str :param time_created: The value to assign to the time_created property of this MigrationPlanSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this MigrationPlanSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this MigrationPlanSummary. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this MigrationPlanSummary. :type lifecycle_details: str :param migration_id: The value to assign to the migration_id property of this MigrationPlanSummary. :type migration_id: str :param strategies: The value to assign to the strategies property of this MigrationPlanSummary. :type strategies: list[oci.cloud_migrations.models.ResourceAssessmentStrategy] :param migration_plan_stats: The value to assign to the migration_plan_stats property of this MigrationPlanSummary. :type migration_plan_stats: oci.cloud_migrations.models.MigrationPlanStats :param calculated_limits: The value to assign to the calculated_limits property of this MigrationPlanSummary. :type calculated_limits: dict(str, int) :param target_environments: The value to assign to the target_environments property of this MigrationPlanSummary. :type target_environments: list[oci.cloud_migrations.models.TargetEnvironment] :param reference_to_rms_stack: The value to assign to the reference_to_rms_stack property of this MigrationPlanSummary. :type reference_to_rms_stack: str :param source_migration_plan_id: The value to assign to the source_migration_plan_id property of this MigrationPlanSummary. :type source_migration_plan_id: str :param freeform_tags: The value to assign to the freeform_tags property of this MigrationPlanSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this MigrationPlanSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this MigrationPlanSummary. :type system_tags: dict(str, dict(str, object)) �str�datetimez list[ResourceAssessmentStrategy]�MigrationPlanStatszdict(str, int)zlist[TargetEnvironment]zdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�time_created�time_updated�lifecycle_state�lifecycle_details�migration_id� strategies�migration_plan_stats�calculated_limits�target_environments�reference_to_rms_stack�source_migration_plan_id� freeform_tags�defined_tags�system_tagsr � compartmentId�displayName�timeCreated�timeUpdated�lifecycleState�lifecycleDetails�migrationIdr �migrationPlanStats�calculatedLimits�targetEnvironments�referenceToRmsStack�sourceMigrationPlanId�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id�_compartment_id� _display_name� _time_created� _time_updated�_lifecycle_state�_lifecycle_details� _migration_id�_strategies�_migration_plan_stats�_calculated_limits�_target_environments�_reference_to_rms_stack�_source_migration_plan_id�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r? ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/cloud_migrations/models/migration_plan_summary.py�__init__ sj K��zMigrationPlanSummary.__init__c C s | j S )z� **[Required]** Gets the id of this MigrationPlanSummary. The unique Oracle ID (OCID) that is immutable on creation. :return: The id of this MigrationPlanSummary. :rtype: str �r, �r= r? r? r@ r � s zMigrationPlanSummary.idc C s || _ dS )z� Sets the id of this MigrationPlanSummary. The unique Oracle ID (OCID) that is immutable on creation. :param id: The id of this MigrationPlanSummary. :type: str NrB )r= r r? r? r@ r � s c C s | j S )z� **[Required]** Gets the compartment_id of this MigrationPlanSummary. The OCID of the compartment containing the migration plan. :return: The compartment_id of this MigrationPlanSummary. :rtype: str �r- rC r? r? r@ r � s z#MigrationPlanSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this MigrationPlanSummary. The OCID of the compartment containing the migration plan. :param compartment_id: The compartment_id of this MigrationPlanSummary. :type: str NrD )r= r r? r? r@ r � s c C s | j S )a Gets the display_name of this MigrationPlanSummary. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this MigrationPlanSummary. :rtype: str �r. rC r? r? r@ r � s z!MigrationPlanSummary.display_namec C s || _ dS )a Sets the display_name of this MigrationPlanSummary. 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 MigrationPlanSummary. :type: str NrE )r= r r? r? r@ r � s c C s | j S )a **[Required]** Gets the time_created of this MigrationPlanSummary. The time when the migration plan was created. An RFC3339 formatted datetime string. :return: The time_created of this MigrationPlanSummary. :rtype: datetime �r/ rC r? r? r@ r � s z!MigrationPlanSummary.time_createdc C s || _ dS )a Sets the time_created of this MigrationPlanSummary. The time when the migration plan was created. An RFC3339 formatted datetime string. :param time_created: The time_created of this MigrationPlanSummary. :type: datetime NrF )r= r r? r? r@ r � s c C s | j S )z� Gets the time_updated of this MigrationPlanSummary. The time when the migration plan was updated. An RFC3339 formatted datetime string. :return: The time_updated of this MigrationPlanSummary. :rtype: datetime �r0 rC r? r? r@ r � s z!MigrationPlanSummary.time_updatedc C s || _ dS )a Sets the time_updated of this MigrationPlanSummary. The time when the migration plan was updated. An RFC3339 formatted datetime string. :param time_updated: The time_updated of this MigrationPlanSummary. :type: datetime NrG )r= r r? r? r@ r s c C s | j S )z� **[Required]** Gets the lifecycle_state of this MigrationPlanSummary. The current state of the migration plan. :return: The lifecycle_state of this MigrationPlanSummary. :rtype: str �r1 rC r? r? r@ r s z$MigrationPlanSummary.lifecycle_statec C s || _ dS )z� Sets the lifecycle_state of this MigrationPlanSummary. The current state of the migration plan. :param lifecycle_state: The lifecycle_state of this MigrationPlanSummary. :type: str NrH )r= r r? r? r@ r s c C s | j S )aB Gets the lifecycle_details of this MigrationPlanSummary. A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. :return: The lifecycle_details of this MigrationPlanSummary. :rtype: str �r2 rC r? r? r@ r $ s z&MigrationPlanSummary.lifecycle_detailsc C s || _ dS )aR Sets the lifecycle_details of this MigrationPlanSummary. A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. :param lifecycle_details: The lifecycle_details of this MigrationPlanSummary. :type: str NrI )r= r r? r? r@ r 0 s c C s | j S )z� **[Required]** Gets the migration_id of this MigrationPlanSummary. The OCID of the associated migration. :return: The migration_id of this MigrationPlanSummary. :rtype: str �r3 rC r? r? r@ r < s z!MigrationPlanSummary.migration_idc C s || _ dS )z� Sets the migration_id of this MigrationPlanSummary. The OCID of the associated migration. :param migration_id: The migration_id of this MigrationPlanSummary. :type: str NrJ )r= r r? r? r@ r H s c C s | j S )a **[Required]** Gets the strategies of this MigrationPlanSummary. List of strategies for the resources to be migrated. :return: The strategies of this MigrationPlanSummary. :rtype: list[oci.cloud_migrations.models.ResourceAssessmentStrategy] �r4 rC r? r? r@ r T s zMigrationPlanSummary.strategiesc C s || _ dS )a Sets the strategies of this MigrationPlanSummary. List of strategies for the resources to be migrated. :param strategies: The strategies of this MigrationPlanSummary. :type: list[oci.cloud_migrations.models.ResourceAssessmentStrategy] NrK )r= r r? r? r@ r ` s c C s | j S )z� Gets the migration_plan_stats of this MigrationPlanSummary. :return: The migration_plan_stats of this MigrationPlanSummary. :rtype: oci.cloud_migrations.models.MigrationPlanStats �r5 rC r? r? r@ r l s z)MigrationPlanSummary.migration_plan_statsc C s || _ dS )z� Sets the migration_plan_stats of this MigrationPlanSummary. :param migration_plan_stats: The migration_plan_stats of this MigrationPlanSummary. :type: oci.cloud_migrations.models.MigrationPlanStats NrL )r= r r? r? r@ r v s c C s | j S )a$ **[Required]** Gets the calculated_limits of this MigrationPlanSummary. Limits of the resources that are needed for migration. Example: {"BlockVolume": 2, "VCN": 1} :return: The calculated_limits of this MigrationPlanSummary. :rtype: dict(str, int) �r6 rC r? r? r@ r � s z&MigrationPlanSummary.calculated_limitsc C s || _ dS )a% Sets the calculated_limits of this MigrationPlanSummary. Limits of the resources that are needed for migration. Example: {"BlockVolume": 2, "VCN": 1} :param calculated_limits: The calculated_limits of this MigrationPlanSummary. :type: dict(str, int) NrM )r= r r? r? r@ r � s c C s | j S )a **[Required]** Gets the target_environments of this MigrationPlanSummary. List of target environments. :return: The target_environments of this MigrationPlanSummary. :rtype: list[oci.cloud_migrations.models.TargetEnvironment] �r7 rC r? r? r@ r � s z(MigrationPlanSummary.target_environmentsc C s || _ dS )a Sets the target_environments of this MigrationPlanSummary. List of target environments. :param target_environments: The target_environments of this MigrationPlanSummary. :type: list[oci.cloud_migrations.models.TargetEnvironment] NrN )r= r r? r? r@ r � s c C s | j S )z� Gets the reference_to_rms_stack of this MigrationPlanSummary. OCID of the referenced ORM job. :return: The reference_to_rms_stack of this MigrationPlanSummary. :rtype: str �r8 rC r? r? r@ r � s z+MigrationPlanSummary.reference_to_rms_stackc C s || _ dS )z� Sets the reference_to_rms_stack of this MigrationPlanSummary. OCID of the referenced ORM job. :param reference_to_rms_stack: The reference_to_rms_stack of this MigrationPlanSummary. :type: str NrO )r= r r? r? r@ r � s c C s | j S )z� Gets the source_migration_plan_id of this MigrationPlanSummary. Source migraiton plan ID to be cloned. :return: The source_migration_plan_id of this MigrationPlanSummary. :rtype: str �r9 rC r? r? r@ r � s z-MigrationPlanSummary.source_migration_plan_idc C s || _ dS )z� Sets the source_migration_plan_id of this MigrationPlanSummary. Source migraiton plan ID to be cloned. :param source_migration_plan_id: The source_migration_plan_id of this MigrationPlanSummary. :type: str NrP )r= r r? r? r@ r � s c C s | j S )aR Gets the freeform_tags of this MigrationPlanSummary. Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: `{"bar-key": "value"}` :return: The freeform_tags of this MigrationPlanSummary. :rtype: dict(str, str) �r: rC r? r? r@ r � s z"MigrationPlanSummary.freeform_tagsc C s || _ dS )a^ Sets the freeform_tags of this MigrationPlanSummary. Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: `{"bar-key": "value"}` :param freeform_tags: The freeform_tags of this MigrationPlanSummary. :type: dict(str, str) NrQ )r= r r? r? r@ r � s c C s | j S )aI Gets the defined_tags of this MigrationPlanSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :return: The defined_tags of this MigrationPlanSummary. :rtype: dict(str, dict(str, object)) �r; rC r? r? r@ r � s z!MigrationPlanSummary.defined_tagsc C s || _ dS )aT Sets the defined_tags of this MigrationPlanSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :param defined_tags: The defined_tags of this MigrationPlanSummary. :type: dict(str, dict(str, object)) NrR )r= r r? r? r@ r s c C s | j S )aF Gets the system_tags of this MigrationPlanSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :return: The system_tags of this MigrationPlanSummary. :rtype: dict(str, dict(str, object)) �r<