StatsResources class
- Annotations
-
- @freezed
Constructors
- StatsResources({required int memoryBytes, required double cpuAbsolute, required int diskBytes, required int networkRxBytes, required int networkTxBytes, int? uptime})
-
constfactory
- StatsResources.fromJson(JsonMap json)
-
factory
Properties
-
copyWith
→ $StatsResourcesCopyWith<
StatsResources> -
no setterinherited
- cpuAbsolute → double
-
no setterinherited
- diskBytes → int
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- memoryBytes → int
-
no setterinherited
- networkRxBytes → int
-
no setterinherited
- networkTxBytes → int
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uptime → int?
-
the amount of time the server has been running
added in pterodactyl v1.8, where it guaranteed to exist
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited