models_v2.recover_mongo_db_object_params module

class models_v2.recover_mongo_db_object_params.RecoverMongoDBObjectParams(object_name=None, rename_to=None, object_properties=None)[source]

Bases: object

Implementation of the ‘Recover MongoDB Object Params.’ model.

Specifies the fully qualified object name and other attributes of each object to be recovered.

Attributes:
object_name (string): Specifies the fully qualified name of the object

to be restored.

rename_to (string): Specifies the new name to which the object should

be renamed. at the time of recovery.

object_properties (list of NoSqlObjectProperty): Specifies the

properties to be applied to the object at the time of recovery.

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.