models_v2.tdm_task module

class models_v2.tdm_task.TdmTask(id=None, action=None, start_time_usecs=None, end_time_usecs=None, status=None, created_by_user=None, clone_params=None, refresh_params=None)[source]

Bases: object

Implementation of the ‘TdmTask’ model.

Specifies a TDM task.

Attributes:

id (string): Specifies the unique ID of the task. start_time_usecs (long|int): Specifies the time (in usecs from epoch)

when the task was started.

end_time_usecs (long|int): Specifies the time (in usecs from epoch)

when the task was completed.

status (Status13Enum): Specifies the current status of the task. action (Action1Enum): Specifies the TDM Task action. created_by_user (User): Specifies the user, who created this task. clone_params (TdmCloneTaskResponseParams): Specifies the response

parameters for a clone task.

refresh_params (TdmRefreshTaskResponseParams): Specifies the response

parameters for a refresh task.

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.