models_v2.tdm_object_timeline_event module¶
-
class
models_v2.tdm_object_timeline_event.
TdmObjectTimelineEvent
(id=None, action=None, created_at=None, created_by_user=None, status=None, error_message=None, description=None, event_group_id=None, clone_params=None)[source]¶ Bases:
object
Implementation of the ‘TdmObjectTimelineEvent’ model.
Specifies a TDM object timeline event.
- Attributes:
id (string): Specifies the unique ID of the event. created_at (long|int): Specifies the time (in usecs from epoch) at
which the event was created.
created_by_user (User): Specifies the user, who triggered the event. status (Status12Enum): Specifies the current status of the event. error_message (string): Specifies the error message if the event is in
failed state.
- description (string): Specifies the description of the event, as
provided by the user.
- event_group_id (string): Specifies the ID of the group this event
belongs to. Events with same group ID are considered to be a single timeline for the TDM object. Different group IDs mean different timelines for the TDM object.
action (ActionEnum): Specifies the action for the event. clone_params (TdmCloneTaskResponseParams): Specifies the response
parameters for a clone 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.