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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )� RestoreAutonomousDatabaseDetailsz; Details to restore an Oracle Autonomous Database. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS ) a� Initializes a new RestoreAutonomousDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param timestamp: The value to assign to the timestamp property of this RestoreAutonomousDatabaseDetails. :type timestamp: datetime :param database_scn: The value to assign to the database_scn property of this RestoreAutonomousDatabaseDetails. :type database_scn: str :param latest: The value to assign to the latest property of this RestoreAutonomousDatabaseDetails. :type latest: bool Zdatetime�str�bool)� timestamp�database_scn�latestr ZdatabaseSCNr N)Z swagger_typesZ attribute_map� _timestamp� _database_scn�_latest)�self�kwargs� r �[/usr/lib/python3.9/site-packages/oci/database/models/restore_autonomous_database_details.py�__init__ s ��z)RestoreAutonomousDatabaseDetails.__init__c C s | j S )z� **[Required]** Gets the timestamp of this RestoreAutonomousDatabaseDetails. The time to restore the database to. :return: The timestamp of this RestoreAutonomousDatabaseDetails. :rtype: datetime �r �r r r r r 4 s z*RestoreAutonomousDatabaseDetails.timestampc C s || _ dS )z� Sets the timestamp of this RestoreAutonomousDatabaseDetails. The time to restore the database to. :param timestamp: The timestamp of this RestoreAutonomousDatabaseDetails. :type: datetime Nr )r r r r r r @ s c C s | j S )a Gets the database_scn of this RestoreAutonomousDatabaseDetails. Restores using the backup with the System Change Number (SCN) specified. :return: The database_scn of this RestoreAutonomousDatabaseDetails. :rtype: str �r r r r r r L s z-RestoreAutonomousDatabaseDetails.database_scnc C s || _ dS )a Sets the database_scn of this RestoreAutonomousDatabaseDetails. Restores using the backup with the System Change Number (SCN) specified. :param database_scn: The database_scn of this RestoreAutonomousDatabaseDetails. :type: str Nr )r r r r r r X s c C s | j S )z� Gets the latest of this RestoreAutonomousDatabaseDetails. Restores to the last known good state with the least possible data loss. :return: The latest of this RestoreAutonomousDatabaseDetails. :rtype: bool �r r r r r r d s z'RestoreAutonomousDatabaseDetails.latestc C s || _ dS )z� Sets the latest of this RestoreAutonomousDatabaseDetails. Restores to the last known good state with the least possible data loss. :param latest: The latest of this RestoreAutonomousDatabaseDetails. :type: bool Nr )r r r r r r p s c C s t | �S �N)r r r r r �__repr__| s z)RestoreAutonomousDatabaseDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s z'RestoreAutonomousDatabaseDetails.__eq__c C s | |k S r r r r r r �__ne__� s z'RestoreAutonomousDatabaseDetails.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"