models.download_files_and_folders_params module

class models.download_files_and_folders_params.DownloadFilesAndFoldersParams(name=None, files_and_folders_info=None, source_object_info=None)[source]

Bases: object

Implementation of the ‘DownloadFilesAndFoldersParams’ model.

DownloadFilesAndFoldersParams holds the information to create a task for downloading list of files or folders

Attributes:
files_and_folders_info (list of FilesAndFoldersInfo): Specifies the

absolute paths for list of files and folders to download.

name (string): Specifies the name of the Download Task. This field

must be set and must be a unique name.

source_object_info (RestoreObjectDetails): Specifies an object to

recover or clone or an object to restore files and folders from. A VM object can be recovered or cloned. A View object can be cloned. To specify a particular snapshot, you must specify a jobRunId and a startTimeUsecs. If jobRunId and startTimeUsecs are not specified, the last Job Run of the specified Job is used.

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.