models.granular_restore_info module

class models.granular_restore_info.GranularRestoreInfo(granularity_type=None, pdb_restore_params=None)[source]

Bases: object

Implementation of the ‘GranularRestoreInfo’ model.

Currently used for pdb restore. Extend the structure for table/datafile or any other restore.

Attributes:

granularity_type (int): Type of granular restore. pdb_restore_params (PDBRestoreParam): PDB Restore parameters.

This includes information about the list of pdbs to be restored.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.