Percent

data class Percent(val value: String) : PercentOrAbsoluteLong

Percent for InfluxDB parameters.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited 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.