SampleIngest class

Constructors

SampleIngest({String? gpuModel, num? gpuUtil, int? gpus, String? host, int? memFree, int? memUsed, String? unit})
Returns a new SampleIngest instance.

Properties

gpuModel ↔ String?
GPUModel names the representative accelerator ("GB10"); GPUs carries how many. A heterogeneous host names its first card rather than inventing a summary.
getter/setter pair
gpus ↔ int?
GPUs is how many accelerators this reading covers.
getter/setter pair
gpuUtil ↔ num?
GPUUtil is accelerator utilization as a fraction 0..1; the warehouse clamps anything outside that.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
host ↔ String?
Host is the node's hostname, for display.
getter/setter pair
memFree ↔ int?
MemFree is host memory still available, in BYTES.
getter/setter pair
memUsed ↔ int?
MemUsed is host memory in use, in BYTES.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unit ↔ String?
Unit is the reporting node's own id — the same id it registered under, and the key the board joins this series onto. Required.
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) → SampleIngest?
Returns a new SampleIngest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<SampleIngest>
mapFromJson(dynamic json) → Map<String, SampleIngest>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<SampleIngest>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.