ruạṛ
a O��f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DbSystemSource� )�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 )�DbSystemSourceFromPitrz� DB System OCID to perform a point in time recovery to the current point in time. DB System OCID and recovery point to perform a point in time recovery to the specified recovery point. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a� Initializes a new DbSystemSourceFromPitr object with values from keyword arguments. The default value of the :py:attr:`~oci.mysql.models.DbSystemSourceFromPitr.source_type` attribute of this class is ``PITR`` 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 DbSystemSourceFromPitr. Allowed values for this property are: "NONE", "BACKUP", "PITR", "IMPORTURL" :type source_type: str :param db_system_id: The value to assign to the db_system_id property of this DbSystemSourceFromPitr. :type db_system_id: str :param recovery_point: The value to assign to the recovery_point property of this DbSystemSourceFromPitr. :type recovery_point: datetime �str�datetime)�source_type�db_system_id�recovery_point� sourceType� dbSystemId� recoveryPointN�PITR)� swagger_types� attribute_map�_source_type� _db_system_id�_recovery_point)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/mysql/models/db_system_source_from_pitr.py�__init__ s ��zDbSystemSourceFromPitr.__init__c C s | j S )a� **[Required]** Gets the db_system_id of this DbSystemSourceFromPitr. The OCID of the DB System from which a backup shall be selected to be restored when creating the new DB System. Use this together with recovery point to perform a point in time recovery operation. :return: The db_system_id of this DbSystemSourceFromPitr. :rtype: str �r �r r r r r 8 s z#DbSystemSourceFromPitr.db_system_idc C s || _ dS )a� Sets the db_system_id of this DbSystemSourceFromPitr. The OCID of the DB System from which a backup shall be selected to be restored when creating the new DB System. Use this together with recovery point to perform a point in time recovery operation. :param db_system_id: The db_system_id of this DbSystemSourceFromPitr. :type: str Nr )r r r r r r F s c C s | j S )a� Gets the recovery_point of this DbSystemSourceFromPitr. The date and time, as per RFC 3339, of the change up to which the new DB System shall be restored to, using a backup and logs from the original DB System. In case no point in time is specified, then this new DB System shall be restored up to the latest change recorded for the original DB System. :return: The recovery_point of this DbSystemSourceFromPitr. :rtype: datetime �r r r r r r T s z%DbSystemSourceFromPitr.recovery_pointc C s || _ dS )a Sets the recovery_point of this DbSystemSourceFromPitr. The date and time, as per RFC 3339, of the change up to which the new DB System shall be restored to, using a backup and logs from the original DB System. In case no point in time is specified, then this new DB System shall be restored up to the latest change recorded for the original DB System. :param recovery_point: The recovery_point of this DbSystemSourceFromPitr. :type: datetime Nr )r r r r r r d s c C s t | �S �N)r r r r r �__repr__t s zDbSystemSourceFromPitr.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__w s zDbSystemSourceFromPitr.__eq__c C s | |k S r r r"