O11yStatusComponent class
Constructors
- O11yStatusComponent({String? currentStatus, String? id, String? name})
- Returns a new O11yStatusComponent instance.
Properties
- currentStatus ↔ String?
-
CurrentStatus is this component's own condition: "full_outage" for a service that did not answer its health probe at all.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String?
-
ID is the component's stable handle, which on this platform IS the service name — there is no separate component registry to allocate ids from.
getter/setter pair
- name ↔ String?
-
Name is the service as the fleet prober knows it (the
servicelabel on hanzo_service_up), so a reader can match a component to what is being probed.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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) → O11yStatusComponent? -
Returns a new O11yStatusComponent instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< O11yStatusComponent> -
mapFromJson(
dynamic json) → Map< String, O11yStatusComponent> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< O11yStatusComponent> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.