models_v2.cancel_object_run_params module¶
-
class
models_v2.cancel_object_run_params.
CancelObjectRunParams
(run_id=None, cancel_local_run=None, archival_target_ids=None, replication_targets=None, cloud_spin_target_ids=None)[source]¶ Bases:
object
Implementation of the ‘CancelObjectRunParams’ model.
One object run to cancel.
- Attributes:
run_id (string): Specifies the id of the run to cancel. cancel_local_run (bool): Specifies whether to cancel the local backup
run. Default is false.
- archival_target_ids (list of long|int): Specifies the archival target
ids where the tasks run. If specified, the archival target ids must be present within the run specified by the runId above.
- replication_targets (list of ClusterIdentifier): Specifies the cluster
identifiers where the tasks run. If specified, the archival target ids must be present within the run specified by the runId above.
- cloud_spin_target_ids (list of long|int): Specifies the cloud spin
target ids where the tasks run. If specified, the archival target ids must be present within the run specified by the runId above.
-
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.