models.restore_files_info_proto module

class models.restore_files_info_proto.RestoreFilesInfoProto(download_files_path=None, error=None, proxy_entity_connector_params=None, restore_files_result_vec=None, slave_task_start_time_usecs=None, target_type=None, teardown_error=None, mtype=None)[source]

Bases: object

Implementation of the ‘RestoreFilesInfoProto’ model.

Each available extension is listed below along with the location of the proto file (relative to magneto/connectors) where it is defined. RestoreFilesInfoProto extension Location Extn =========================================================================== == vmware::RestoreFilesInfo::vmware_restore_files_info vmware/vmware.proto 100 AgentRestoreFilesInfo::agent_restore_files_info base/agent.proto 101 file::RestoreFilesInfo::restore_files_info file/file.proto 102 hyperv::RestoreFilesInfo::hyperv_restore_files_info hyperv/hyperv.proto 103 =========================================================================== ==

Attributes:
download_files_path (string): The path that the user should use to

download files through the UI. If only a single file needs to be downloaded, this will be the path to that file. If a directory or multiple files & directories need to be downloaded, this will be the path to the .zip file to download. Only applicable to a download files task.

error (ErrorProto): TODO: type description here. proxy_entity_connector_params (ConnectorParams): Message that

encapsulates the various params required to establish a connection with a particular environment.

restore_files_result_vec (list of RestoreFileResultInfo): Contains the

result information of the restored files.

slave_task_start_time_usecs (long|int): This is the timestamp at which

the slave task started.

target_type (int): Specifies the target type for the task. The field

is only valid if the task has got a permit.

teardown_error (ErrorProto): TODO: type description here. mtype (int): The type of environment this restore files info pertains

to.

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.