ruạṛ
a ���f) � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� SourceDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�BackupSourceDetailsz� Restoring to a new database system from the backup. The database system details that are part of the CreateDbSystem request are not required, but if present will override the details from the backup's database system snapshot. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a� Initializes a new BackupSourceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.psql.models.BackupSourceDetails.source_type` attribute of this class is ``BACKUP`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param source_type: The value to assign to the source_type property of this BackupSourceDetails. Allowed values for this property are: "BACKUP", "NONE" :type source_type: str :param backup_id: The value to assign to the backup_id property of this BackupSourceDetails. :type backup_id: str :param is_having_restore_config_overrides: The value to assign to the is_having_restore_config_overrides property of this BackupSourceDetails. :type is_having_restore_config_overrides: bool �str�bool)Zsource_type� backup_id�"is_having_restore_config_overridesZ sourceTypeZbackupIdZisHavingRestoreConfigOverridesNZBACKUP)Z swagger_typesZ attribute_mapZ_source_type� _backup_id�#_is_having_restore_config_overrides)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/psql/models/backup_source_details.py�__init__ s ��zBackupSourceDetails.__init__c C s | j S )a) **[Required]** Gets the backup_id of this BackupSourceDetails. The `OCID`__ of the database system backup. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The backup_id of this BackupSourceDetails. :rtype: str �r �r r r r r 8 s zBackupSourceDetails.backup_idc C s || _ dS )a" Sets the backup_id of this BackupSourceDetails. The `OCID`__ of the database system backup. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param backup_id: The backup_id of this BackupSourceDetails. :type: str Nr )r r r r r r F s c C s | j S )z� Gets the is_having_restore_config_overrides of this BackupSourceDetails. Deprecated. Don't use. :return: The is_having_restore_config_overrides of this BackupSourceDetails. :rtype: bool �r r r r r r T s z6BackupSourceDetails.is_having_restore_config_overridesc C s || _ dS )a Sets the is_having_restore_config_overrides of this BackupSourceDetails. Deprecated. Don't use. :param is_having_restore_config_overrides: The is_having_restore_config_overrides of this BackupSourceDetails. :type: bool Nr )r r r r r r ` s c C s t | �S �N)r r r r r �__repr__l s zBackupSourceDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__o s zBackupSourceDetails.__eq__c C s | |k S r r r r r r �__ne__u s zBackupSourceDetails.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s % r N) Zsource_detailsr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn