models.recover_volumes_params module

class models.recover_volumes_params.RecoverVolumesParams(force_unmount_volume=None, mapping_vec=None, target_entity=None)[source]

Bases: object

Implementation of the ‘RecoverVolumesParams’ model.

TODO: type model description here.

Attributes:
force_unmount_volume (bool): Whether volume would be dismounted first

during LockVolume failure

mapping_vec (list of RecoverVolumesParamsMapping): Contains the volume

mapping data that defines the restore task.

target_entity (EntityProto): Specifies the attributes and the latest

statistics about an entity.

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.