JobExecution class

Contains data about a job execution.

Constructors

JobExecution({int? approximateSecondsBeforeTimedOut, int? executionNumber, String? jobDocument, String? jobId, int? lastUpdatedAt, int? queuedAt, int? startedAt, JobExecutionStatus? status, Map<String, String>? statusDetails, String? thingName, int? versionNumber})
JobExecution.fromJson(Map<String, dynamic> json)
factory

Properties

approximateSecondsBeforeTimedOut int?
The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT.
final
executionNumber int?
A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.
final
hashCode int
The hash code for this object.
no setterinherited
jobDocument String?
The content of the job document.
final
jobId String?
The unique identifier you assigned to this job when it was created.
final
lastUpdatedAt int?
The time, in milliseconds since the epoch, when the job execution was last updated.
final
queuedAt int?
The time, in milliseconds since the epoch, when the job execution was enqueued.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startedAt int?
The time, in milliseconds since the epoch, when the job execution was started.
final
status JobExecutionStatus?
The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
final
statusDetails Map<String, String>?
A collection of name/value pairs that describe the status of the job execution.
final
thingName String?
The name of the thing that is executing the job.
final
versionNumber int?
The version of the job execution. Job execution versions are incremented each time they are updated by a device.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited