models_v2.object_progress_info module

class models_v2.object_progress_info.ObjectProgressInfo(id=None, name=None, source_id=None, source_name=None, environment=None, status=None, percentage_completed=None, start_time_usecs=None, end_time_usecs=None, expected_remaining_time_usecs=None, events=None, stats=None, failed_attempts=None)[source]

Bases: object

Implementation of the ‘ObjectProgressInfo’ model.

Specifies the progress of an object.

Attributes:

id (long|int): Specifies object id. name (string): Specifies the name of the object. source_id (long|int): Specifies registered source id to which object

belongs.

source_name (string): Specifies registered source name to which object

belongs.

environment (EnvironmentEnum): Specifies the environment of the

object.

status (Status3Enum): 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.

stats (ProgressStats): Specifies the stats within progress. failed_attempts (list of ProgressTask): Specifies progress for failed

attempts of this object.

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.