models_v2.common_recovery_request_params module¶
-
class
models_v2.common_recovery_request_params.
CommonRecoveryRequestParams
(name=None, snapshot_environment=None)[source]¶ Bases:
object
Implementation of the ‘Common Recovery Request Params.’ model.
Specifies the common request parameters to create a Recovery.
- Attributes:
name (string): Specifies the name of the Recovery. snapshot_environment (SnapshotEnvironmentEnum): Specifies the type of
environment of snapshots for which the Recovery has to be performed.
-
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.