| Server IP : 162.241.203.86 / Your IP : 216.73.216.200 Web Server : Apache System : Linux br1002.hostgator.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : theart99 ( 5843) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/cloud_migrations/models/__pycache__/ |
Upload File : |
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 @ 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-� �Zd/d0� Zd1d2� Zd3d4� Zd5S )6� Migrationza
A top-level container to track all aspects of a long-running migration workflow to OCI.
�CREATING�UPDATING�NEEDS_ATTENTION�ACTIVE�DELETING�DELETED�FAILEDc
K s� ddddddddddddd�| _ ddd d
ddd
dddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _
d| _d| _d| _
dS )a�
Initializes a new Migration 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 Migration.
:type id: str
:param display_name:
The value to assign to the display_name property of this Migration.
:type display_name: str
:param compartment_id:
The value to assign to the compartment_id property of this Migration.
:type compartment_id: str
:param lifecycle_state:
The value to assign to the lifecycle_state property of this Migration.
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 Migration.
:type lifecycle_details: str
:param time_created:
The value to assign to the time_created property of this Migration.
:type time_created: datetime
:param time_updated:
The value to assign to the time_updated property of this Migration.
:type time_updated: datetime
:param replication_schedule_id:
The value to assign to the replication_schedule_id property of this Migration.
:type replication_schedule_id: str
:param is_completed:
The value to assign to the is_completed property of this Migration.
:type is_completed: bool
:param freeform_tags:
The value to assign to the freeform_tags property of this Migration.
:type freeform_tags: dict(str, str)
:param defined_tags:
The value to assign to the defined_tags property of this Migration.
:type defined_tags: dict(str, dict(str, object))
:param system_tags:
The value to assign to the system_tags property of this Migration.
:type system_tags: dict(str, dict(str, object))
�strZdatetime�boolzdict(str, str)zdict(str, dict(str, object)))�id�display_name�compartment_id�lifecycle_state�lifecycle_details�time_created�time_updated�replication_schedule_id�is_completed�
freeform_tags�defined_tags�system_tagsr ZdisplayNameZ
compartmentIdZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedZreplicationScheduleIdZisCompletedZfreeformTagsZdefinedTagsZ
systemTagsN)Z
swagger_typesZ
attribute_map�_id�
_display_name�_compartment_id�_lifecycle_state�_lifecycle_details�
_time_created�
_time_updated�_replication_schedule_id�
_is_completed�_freeform_tags�
_defined_tags�_system_tags)�self�kwargs� r* �I/usr/lib/python3.9/site-packages/oci/cloud_migrations/models/migration.py�__init__. sL 9��zMigration.__init__c C s | j S )z�
**[Required]** Gets the id of this Migration.
Unique identifier that is immutable on creation
:return: The id of this Migration.
:rtype: str
�r �r( r* r* r+ r � s
zMigration.idc C s
|| _ dS )z�
Sets the id of this Migration.
Unique identifier that is immutable on creation
:param id: The id of this Migration.
:type: str
Nr- )r( r r* r* r+ r � s
c C s | j S )z�
Gets the display_name of this Migration.
Migration Identifier that can be renamed
:return: The display_name of this Migration.
:rtype: str
�r r. r* r* r+ r � s
zMigration.display_namec C s
|| _ dS )z�
Sets the display_name of this Migration.
Migration Identifier that can be renamed
:param display_name: The display_name of this Migration.
:type: str
Nr/ )r( r r* r* r+ r � s
c C s | j S )z�
**[Required]** Gets the compartment_id of this Migration.
Compartment Identifier
:return: The compartment_id of this Migration.
:rtype: str
�r r. r* r* r+ r � s
zMigration.compartment_idc C s
|| _ dS )z�
Sets the compartment_id of this Migration.
Compartment Identifier
:param compartment_id: The compartment_id of this Migration.
:type: str
Nr0 )r( r r* r* r+ r � s
c C s | j S )a�
**[Required]** Gets the lifecycle_state of this Migration.
The current state of migration.
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 Migration.
:rtype: str
)r r. r* r* r+ r � s
zMigration.lifecycle_statec C s g d�}t ||�sd}|| _dS )z�
Sets the lifecycle_state of this Migration.
The current state of migration.
:param lifecycle_state: The lifecycle_state of this Migration.
:type: str
)r r r r
r r r
ZUNKNOWN_ENUM_VALUEN)r r )r( r Zallowed_valuesr* r* r+ r � s
c C s | j S )a,
Gets the lifecycle_details of this Migration.
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 Migration.
:rtype: str
�r r. r* r* r+ r � s
zMigration.lifecycle_detailsc C s
|| _ dS )a<
Sets the lifecycle_details of this Migration.
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 Migration.
:type: str
Nr1 )r( r r* r* r+ r s
c C s | j S )z�
**[Required]** Gets the time_created of this Migration.
The time when the migration project was created. An RFC3339 formatted datetime string
:return: The time_created of this Migration.
:rtype: datetime
�r! r. r* r* r+ r s
zMigration.time_createdc C s
|| _ dS )z�
Sets the time_created of this Migration.
The time when the migration project was created. An RFC3339 formatted datetime string
:param time_created: The time_created of this Migration.
:type: datetime
Nr2 )r( r r* r* r+ r s
c C s | j S )z�
Gets the time_updated of this Migration.
The time when the migration project was updated. An RFC3339 formatted datetime string
:return: The time_updated of this Migration.
:rtype: datetime
�r"