models.snapshot_attempt module

class models.snapshot_attempt.SnapshotAttempt(attempt_number=None, job_run_id=None, started_time_usecs=None)[source]

Bases: object

Implementation of the ‘SnapshotAttempt’ model.

Specifies information about a single snapshot.

Attributes:
attempt_number (long|int): Specifies the number of the attempts made

by the Job Run to capture a snapshot of the object. For example, if an snapshot is successfully captured after three attempts, this field equals 3.

job_run_id (long|int): Specifies the id of the Job Run that captured

the snapshot.

started_time_usecs (long|int): Specifies the time when the Job Run

starts capturing a snapshot. Specified as a Unix epoch Timestamp (in microseconds).

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.