ruạṛ
a N��f�Q � @ 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 ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zed;d<� �Zejd=d<� �Zd>d?� Zd@dA� Z dBdC� Z!dDS )E� MigrationPlanz, Description of the migration plan. �CREATING�UPDATING�NEEDS_ATTENTION�ACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddddddddd �| _ d ddd dddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new MigrationPlan 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 MigrationPlan. :type id: str :param compartment_id: The value to assign to the compartment_id property of this MigrationPlan. :type compartment_id: str :param display_name: The value to assign to the display_name property of this MigrationPlan. :type display_name: str :param time_created: The value to assign to the time_created property of this MigrationPlan. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this MigrationPlan. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this MigrationPlan. Allowed values for this property are: "CREATING", "UPDATING", "NEEDS_ATTENTION", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this MigrationPlan. :type lifecycle_details: str :param migration_id: The value to assign to the migration_id property of this MigrationPlan. :type migration_id: str :param strategies: The value to assign to the strategies property of this MigrationPlan. :type strategies: list[oci.cloud_migrations.models.ResourceAssessmentStrategy] :param migration_plan_stats: The value to assign to the migration_plan_stats property of this MigrationPlan. :type migration_plan_stats: oci.cloud_migrations.models.MigrationPlanStats :param calculated_limits: The value to assign to the calculated_limits property of this MigrationPlan. :type calculated_limits: dict(str, int) :param target_environments: The value to assign to the target_environments property of this MigrationPlan. :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 MigrationPlan. :type reference_to_rms_stack: str :param source_migration_plan_id: The value to assign to the source_migration_plan_id property of this MigrationPlan. :type source_migration_plan_id: str :param freeform_tags: The value to assign to the freeform_tags property of this MigrationPlan. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this MigrationPlan. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this MigrationPlan. :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� rF ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/cloud_migrations/models/migration_plan.py�__init__, sj M��zMigrationPlan.__init__c C s | j S )z� **[Required]** Gets the id of this MigrationPlan. The unique Oracle ID (OCID) that is immutable on creation. :return: The id of this MigrationPlan. :rtype: str �r3 �rD rF rF rG r � s zMigrationPlan.idc C s || _ dS )z� Sets the id of this MigrationPlan. The unique Oracle ID (OCID) that is immutable on creation. :param id: The id of this MigrationPlan. :type: str NrI )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the compartment_id of this MigrationPlan. The OCID of the compartment containing the migration plan. :return: The compartment_id of this MigrationPlan. :rtype: str �r4 rJ rF rF rG r � s zMigrationPlan.compartment_idc C s || _ dS )z� Sets the compartment_id of this MigrationPlan. The OCID of the compartment containing the migration plan. :param compartment_id: The compartment_id of this MigrationPlan. :type: str NrK )rD r rF rF rG r � s c C s | j S )a Gets the display_name of this MigrationPlan. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this MigrationPlan. :rtype: str �r5 rJ rF rF rG r � s zMigrationPlan.display_namec C s || _ dS )a Sets the display_name of this MigrationPlan. 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 MigrationPlan. :type: str NrL )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the time_created of this MigrationPlan. The time when the migration plan was created. An RFC3339 formatted datetime string. :return: The time_created of this MigrationPlan. :rtype: datetime �r6 rJ rF rF rG r � s zMigrationPlan.time_createdc C s || _ dS )z� Sets the time_created of this MigrationPlan. The time when the migration plan was created. An RFC3339 formatted datetime string. :param time_created: The time_created of this MigrationPlan. :type: datetime NrM )rD r rF rF rG r s c C s | j S )z� Gets the time_updated of this MigrationPlan. The time when the migration plan was updated. An RFC3339 formatted datetime string. :return: The time_updated of this MigrationPlan. :rtype: datetime �r7 rJ rF rF rG r s zMigrationPlan.time_updatedc C s || _ dS )z� Sets the time_updated of this MigrationPlan. The time when the migration plan was updated. An RFC3339 formatted datetime string. :param time_updated: The time_updated of this MigrationPlan. :type: datetime NrN )rD r rF rF rG r s c C s | j S )a� **[Required]** Gets the lifecycle_state of this MigrationPlan. The current state of the migration plan. Allowed values for this property are: "CREATING", "UPDATING", "NEEDS_ATTENTION", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this MigrationPlan. :rtype: str )r8 rJ rF rF rG r * s zMigrationPlan.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this MigrationPlan. The current state of the migration plan. :param lifecycle_state: The lifecycle_state of this MigrationPlan. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r8 )rD r �allowed_valuesrF rF rG r 9 s c C s | j S )a4 Gets the lifecycle_details of this MigrationPlan. 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 MigrationPlan. :rtype: str �r9 rJ rF rF rG r H s zMigrationPlan.lifecycle_detailsc C s || _ dS )aD Sets the lifecycle_details of this MigrationPlan. 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 MigrationPlan. :type: str NrQ )rD r rF rF rG r T s c C s | j S )z� **[Required]** Gets the migration_id of this MigrationPlan. The OCID of the associated migration. :return: The migration_id of this MigrationPlan. :rtype: str �r: rJ rF rF rG r ` s zMigrationPlan.migration_idc C s || _ dS )z� Sets the migration_id of this MigrationPlan. The OCID of the associated migration. :param migration_id: The migration_id of this MigrationPlan. :type: str NrR )rD r rF rF rG r l s c C s | j S )a **[Required]** Gets the strategies of this MigrationPlan. List of strategies for the resources to be migrated. :return: The strategies of this MigrationPlan. :rtype: list[oci.cloud_migrations.models.ResourceAssessmentStrategy] �r; rJ rF rF rG r x s zMigrationPlan.strategiesc C s || _ dS )a Sets the strategies of this MigrationPlan. List of strategies for the resources to be migrated. :param strategies: The strategies of this MigrationPlan. :type: list[oci.cloud_migrations.models.ResourceAssessmentStrategy] NrS )rD r rF rF rG r � s c C s | j S )z� Gets the migration_plan_stats of this MigrationPlan. :return: The migration_plan_stats of this MigrationPlan. :rtype: oci.cloud_migrations.models.MigrationPlanStats �r<