PercentOrAbsoluteLong

Percent or Absolute Long for InfluxDB parameters

Inheritors

Types

Link copied to clipboard
data class Absolute(val value: Long) : PercentOrAbsoluteLong

Absolute long for InfluxDB parameters.

Link copied to clipboard
data class Percent(val value: String) : PercentOrAbsoluteLong

Percent for InfluxDB parameters.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this PercentOrAbsoluteLong as a Absolute and retrieves its kotlin.Long value. Throws an exception if the PercentOrAbsoluteLong is not a Absolute.

Link copied to clipboard

Casts this PercentOrAbsoluteLong as a Absolute and retrieves its kotlin.Long value. Returns null if the PercentOrAbsoluteLong is not a Absolute.

Link copied to clipboard

Casts this PercentOrAbsoluteLong as a Percent and retrieves its kotlin.String value. Throws an exception if the PercentOrAbsoluteLong is not a Percent.

Link copied to clipboard

Casts this PercentOrAbsoluteLong as a Percent and retrieves its kotlin.String value. Returns null if the PercentOrAbsoluteLong is not a Percent.