models_v2.progress_task module

class models_v2.progress_task.ProgressTask(id=None, status=None, percentage_completed=None, start_time_usecs=None, end_time_usecs=None, expected_remaining_time_usecs=None, events=None)[source]

Bases: object

Implementation of the ‘Progress Task’ model.

This specifies the details about the Progress Task.

Attributes:

id (string): Specifies the task id of the Progress task. status (Status15Enum): Specifies the current status of the progress

task.

percentage_completed (float): Specifies the current completed

percentage of the progress task.

start_time_usecs (long|int): Specifies the start time of the progress

task in Unix epoch Timestamp(in microseconds).

end_time_usecs (long|int): Specifies the end time of the progress task

in Unix epoch Timestamp(in microseconds).

expected_remaining_time_usecs (long|int): Specifies the expected

remaining time of the progress task in Unix epoch Timestamp(in microseconds).

events (list of ProgressTaskEvent): Specifies the event log created

for progress 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.