models_v2.create_tdm_task_request module

class models_v2.create_tdm_task_request.CreateTdmTaskRequest(action=None, clone_params=None, snapshot_params=None, refresh_params=None, teardown_params=None)[source]

Bases: object

Implementation of the ‘CreateTdmTaskRequest’ model.

Specifies the request parameters to create a TDM task.

Attributes:

action (Action1Enum): Specifies the TDM Task action. clone_params (TdmCloneTaskRequestParams): Specifies the request

parameters to create a clone task.

snapshot_params (TdmSnapshotTaskParams): Specifies the parameters to

create a snapshot of an existing clone.

refresh_params (TdmRefreshTaskRequestParams): Specifies the parameters

to refresh a clone with new data.

teardown_params (TdmTeardownTaskRequestParams): Specifies the

parameters to teardown a clone.

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.