Saved Host Stats

@Serializable
sealed interface SavedHostStats

The SavedHostStats interface is useful to contains the statistic about a host

Author

N7ghtm4r3 - Tecknobit

Inheritors

Types

Link copied to clipboard
@Serializable
data class SavedHostStatsImpl(val usageValue: Double, val totalValue: Double, val percentValue: Double) : SavedHostStats

The SavedHostStatsImpl class is the implementation of the SavedHostStats interface

Properties

Link copied to clipboard
@SerialName(value = "percent_value" )
abstract val percentValue: Double

percentValue the current percent value of the resource usage

Link copied to clipboard
@SerialName(value = "total_value" )
abstract val totalValue: Double

totalValue the total amount of the resource available of the host

Link copied to clipboard
@SerialName(value = "usage_value" )
abstract val usageValue: Double

usageValue the current usage of a resource of the host