Storage Usage

@Serializable
data class StorageUsage(val usageValue: Double, val totalValue: Double, val percentValue: Double, val type: StorageType) : SavedHostStats

The StorageUsage class represents the statistic related to the current storage usage

Author

N7ghtm4r3 - Tecknobit

See also

Constructors

Link copied to clipboard
constructor(usageValue: Double, totalValue: Double, percentValue: Double, type: StorageType)

Types

Link copied to clipboard
object Companion

Properties

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

The current percent value of the resource usage

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

The total amount of the resource available of the host

Link copied to clipboard
val type: StorageType

The type of the storage unit of the host

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

The current usage of a resource of the host