models.restore_app_params module¶
-
class
models.restore_app_params.
RestoreAppParams
(credentials=None, owner_restore_info=None, restore_app_object_vec=None, mtype=None)[source]¶ Bases:
object
Implementation of the ‘RestoreAppParams’ model.
This message captures all the necessary arguments specified by the user to restore an application.
- Attributes:
- credentials (Credentials): Specifies credentials to access a target
source.
- owner_restore_info (AppOwnerRestoreInfo): TODO: type description
here.
- restore_app_object_vec (list of RestoreAppObject): The application
level objects that needs to be restored. If this vector is populated with exactly one object without its ‘app_entity’, all the application objects of the owner will be restored. If multiple objects are being restored, the ‘app_entity’ field must be specified for all of them.
mtype (int): The application environment.
-
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.