APIServiceCondition class
APIServiceCondition describes the state of an APIService at a particular point.
Constructors
- APIServiceCondition({DateTime? lastTransitionTime, String? message, String? reason, required String status, required String type})
-
Default constructor.
const
-
APIServiceCondition.fromJson(Map<
String, dynamic> json) -
Creates a APIServiceCondition from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastTransitionTime → DateTime?
-
Last time the condition transitioned from one status to another.
final
- message → String?
-
Human-readable message indicating details about last transition.
final
- reason → String?
-
Unique, one-word, CamelCase reason for the condition's last transition.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
Status is the status of the condition. Can be True, False, Unknown.
final
- type → String
-
Type is the type of the condition.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a APIServiceCondition instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited