JobCondition class

JobCondition describes current state of a job.

Constructors

JobCondition({DateTime? lastProbeTime, DateTime? lastTransitionTime, String? message, String? reason, required String status, required String type})
Default constructor.
const
JobCondition.fromJson(Map<String, dynamic> json)
Creates a JobCondition from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
lastProbeTime DateTime?
Last time the condition was checked.
final
lastTransitionTime DateTime?
Last time the condition transit from one status to another.
final
message String?
Human readable message indicating details about last transition.
final
reason String?
(brief) reason for the condition's last transition.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
Status of the condition, one of True, False, Unknown.
final
type String
Type of job condition, Complete or Failed.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a JobCondition instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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