📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
mysql
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/mysql/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: update_deletion_policy_details.pyc
a O��fZ � @ 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 ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS )�UpdateDeletionPolicyDetailszk Policy for how the DB System and related resources should be handled at the time of its deletion. �DELETE�RETAIN�SKIP_FINAL_BACKUP�REQUIRE_FINAL_BACKUPc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new UpdateDeletionPolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param automatic_backup_retention: The value to assign to the automatic_backup_retention property of this UpdateDeletionPolicyDetails. Allowed values for this property are: "DELETE", "RETAIN" :type automatic_backup_retention: str :param final_backup: The value to assign to the final_backup property of this UpdateDeletionPolicyDetails. Allowed values for this property are: "SKIP_FINAL_BACKUP", "REQUIRE_FINAL_BACKUP" :type final_backup: str :param is_delete_protected: The value to assign to the is_delete_protected property of this UpdateDeletionPolicyDetails. :type is_delete_protected: bool �str�bool)�automatic_backup_retention�final_backup�is_delete_protected�automaticBackupRetention�finalBackup�isDeleteProtectedN)� swagger_types� attribute_map�_automatic_backup_retention� _final_backup�_is_delete_protected)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/mysql/models/update_deletion_policy_details.py�__init__ s ��z$UpdateDeletionPolicyDetails.__init__c C s | j S )a� Gets the automatic_backup_retention of this UpdateDeletionPolicyDetails. Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted. Allowed values for this property are: "DELETE", "RETAIN" :return: The automatic_backup_retention of this UpdateDeletionPolicyDetails. :rtype: str )r �r r r r r D s z6UpdateDeletionPolicyDetails.automatic_backup_retentionc C s* ddg}t ||�s td�|���|| _dS )a^ Sets the automatic_backup_retention of this UpdateDeletionPolicyDetails. Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted. :param automatic_backup_retention: The automatic_backup_retention of this UpdateDeletionPolicyDetails. :type: str r r zJInvalid value for `automatic_backup_retention`, must be None or one of {0}N)r � ValueError�formatr )r r �allowed_valuesr r r r R s ��c C s | j S )a� Gets the final_backup of this UpdateDeletionPolicyDetails. Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted. Allowed values for this property are: "SKIP_FINAL_BACKUP", "REQUIRE_FINAL_BACKUP" :return: The final_backup of this UpdateDeletionPolicyDetails. :rtype: str )r r r r r r d s z(UpdateDeletionPolicyDetails.final_backupc C s* ddg}t ||�s td�|���|| _dS )a� Sets the final_backup of this UpdateDeletionPolicyDetails. Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted. :param final_backup: The final_backup of this UpdateDeletionPolicyDetails. :type: str r r z<Invalid value for `final_backup`, must be None or one of {0}N)r r r r )r r r r r r r t s ��c C s | j S )a+ Gets the is_delete_protected of this UpdateDeletionPolicyDetails. Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow. :return: The is_delete_protected of this UpdateDeletionPolicyDetails. :rtype: bool �r r r r r r � s z/UpdateDeletionPolicyDetails.is_delete_protectedc C s || _ dS )a= Sets the is_delete_protected of this UpdateDeletionPolicyDetails. Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow. :param is_delete_protected: The is_delete_protected of this UpdateDeletionPolicyDetails. :type: bool Nr! )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z$UpdateDeletionPolicyDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z"UpdateDeletionPolicyDetails.__eq__c C s | |k S r"