AppliedResource class
Constructors
- AppliedResource({String? message, String? resource, String? status})
- Returns a new AppliedResource instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- message ↔ String?
-
Message is the engine's own sentence about this object — the apiserver's refusal on a failure, and typically empty on success. It is for a human reading a failed run, not a value to branch on.
getter/setter pair
- resource ↔ String?
-
Resource identifies the object as group/version/kind/namespace/name, the engine's own key. It is stable across runs, so two reports can be diffed on it.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
Status is what happened to this object, from the engine's closed vocabulary:
Synced(applied),Pruned(deleted because the source no longer declares it),SyncFailed(refused — read Message) andPruneSkipped(deletion was declined). It is the per-object detail behind the report's counts.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → AppliedResource? -
Returns a new AppliedResource instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< AppliedResource> -
mapFromJson(
dynamic json) → Map< String, AppliedResource> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< AppliedResource> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.