ruạṛ
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 ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z dd� Zd d� Z dd� ZdS )�MigrationObjectCollectionz. Common Migration Objects collection. �MYSQL�ORACLEc K s ddi| _ ddi| _d| _dS )a� Initializes a new MigrationObjectCollection 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.database_migration.models.MySqlMigrationObjectCollection` * :class:`~oci.database_migration.models.OracleMigrationObjectCollection` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param database_combination: The value to assign to the database_combination property of this MigrationObjectCollection. Allowed values for this property are: "MYSQL", "ORACLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type database_combination: str �database_combination�str�databaseCombinationN)Z swagger_typesZ attribute_map�_database_combination)�self�kwargs� r �]/usr/lib/python3.9/site-packages/oci/database_migration/models/migration_object_collection.py�__init__ s ��z"MigrationObjectCollection.__init__c C s( | d }|dkrdS |dkr dS 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 ZMySqlMigrationObjectCollectionr ZOracleMigrationObjectCollectionr Nr )Zobject_dictionary�typer r r �get_subtype5 s z%MigrationObjectCollection.get_subtypec C s | j S )a6 **[Required]** Gets the database_combination of this MigrationObjectCollection. The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases. Allowed values for this property are: "MYSQL", "ORACLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The database_combination of this MigrationObjectCollection. :rtype: str )r �r r r r r E s z.MigrationObjectCollection.database_combinationc C s ddg}t ||�sd}|| _dS )a� Sets the database_combination of this MigrationObjectCollection. The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases. :param database_combination: The database_combination of this MigrationObjectCollection. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r U s c C s t | �S �N)r r r r r �__repr__e s z"MigrationObjectCollection.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__h s z MigrationObjectCollection.__eq__c C s | |k S r r r r r r �__ne__n s z MigrationObjectCollection.__ne__N)�__name__� __module__�__qualname__�__doc__ZDATABASE_COMBINATION_MYSQLZDATABASE_COMBINATION_ORACLEr �staticmethodr �propertyr �setterr r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn