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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdZdZd Zd ZdZdZd ZdZdZdZdZdZ dZ!dZ"dZ#dZ$dd� Z%e&dd� �Z'e'j(dd� �Z'e&dd� �Z)e)j(dd� �Z)e&dd � �Z*e*j(d!d � �Z*e&d"d#� �Z+e+j(d$d#� �Z+e&d%d&� �Z,e,j(d'd&� �Z,e&d(d)� �Z-e-j(d*d)� �Z-e&d+d,� �Z.e.j(d-d,� �Z.e&d.d/� �Z/e/j(d0d/� �Z/d1d2� Z0d3d4� Z1d5d6� Z2d7S )8�DbBackupConfigad Backup Options To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see `Getting Started with Policies`__. __ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm �SLOT_ONE�SLOT_TWO� SLOT_THREE� SLOT_FOUR� SLOT_FIVE�SLOT_SIX� SLOT_SEVEN� SLOT_EIGHT� SLOT_NINE�SLOT_TEN�SLOT_ELEVEN�SLOT_TWELVE�SUNDAY�MONDAY�TUESDAY� WEDNESDAY�THURSDAY�FRIDAY�SATURDAY�DELETE_IMMEDIATELY�DELETE_AFTER_RETENTION_PERIODc K sd ddddddddd�| _ dddd d ddd d�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )a� Initializes a new DbBackupConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param auto_backup_enabled: The value to assign to the auto_backup_enabled property of this DbBackupConfig. :type auto_backup_enabled: bool :param recovery_window_in_days: The value to assign to the recovery_window_in_days property of this DbBackupConfig. :type recovery_window_in_days: int :param auto_backup_window: The value to assign to the auto_backup_window property of this DbBackupConfig. Allowed values for this property are: "SLOT_ONE", "SLOT_TWO", "SLOT_THREE", "SLOT_FOUR", "SLOT_FIVE", "SLOT_SIX", "SLOT_SEVEN", "SLOT_EIGHT", "SLOT_NINE", "SLOT_TEN", "SLOT_ELEVEN", "SLOT_TWELVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type auto_backup_window: str :param auto_full_backup_window: The value to assign to the auto_full_backup_window property of this DbBackupConfig. Allowed values for this property are: "SLOT_ONE", "SLOT_TWO", "SLOT_THREE", "SLOT_FOUR", "SLOT_FIVE", "SLOT_SIX", "SLOT_SEVEN", "SLOT_EIGHT", "SLOT_NINE", "SLOT_TEN", "SLOT_ELEVEN", "SLOT_TWELVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type auto_full_backup_window: str :param auto_full_backup_day: The value to assign to the auto_full_backup_day property of this DbBackupConfig. Allowed values for this property are: "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type auto_full_backup_day: str :param run_immediate_full_backup: The value to assign to the run_immediate_full_backup property of this DbBackupConfig. :type run_immediate_full_backup: bool :param backup_destination_details: The value to assign to the backup_destination_details property of this DbBackupConfig. :type backup_destination_details: list[oci.database.models.BackupDestinationDetails] :param backup_deletion_policy: The value to assign to the backup_deletion_policy property of this DbBackupConfig. Allowed values for this property are: "DELETE_IMMEDIATELY", "DELETE_AFTER_RETENTION_PERIOD", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type backup_deletion_policy: str �bool�int�strzlist[BackupDestinationDetails])�auto_backup_enabled�recovery_window_in_days�auto_backup_window�auto_full_backup_window�auto_full_backup_day�run_immediate_full_backup�backup_destination_details�backup_deletion_policyZautoBackupEnabledZrecoveryWindowInDaysZautoBackupWindowZautoFullBackupWindowZautoFullBackupDayZrunImmediateFullBackupZbackupDestinationDetailsZbackupDeletionPolicyN) Z swagger_typesZ attribute_map�_auto_backup_enabled�_recovery_window_in_days�_auto_backup_window�_auto_full_backup_window�_auto_full_backup_day�_run_immediate_full_backup�_backup_destination_details�_backup_deletion_policy)�self�kwargs� r1 �H/usr/lib/python3.9/site-packages/oci/database/models/db_backup_config.py�__init__� s4 /��zDbBackupConfig.__init__c C s | j S )a� Gets the auto_backup_enabled of this DbBackupConfig. If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work. :return: The auto_backup_enabled of this DbBackupConfig. :rtype: bool �r'