PercentageOption

@Serializable
data class PercentageOption(val percentage: Int = 0, val value: SettingValue, val variationId: String? = null)(source)

Percentage option.

Constructors

Link copied to clipboard
constructor(percentage: Int = 0, value: SettingValue, variationId: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "p")
val percentage: Int = 0

A number between 0 and 100 that represents a randomly allocated fraction of the users.

Link copied to clipboard
@SerialName(value = "v")
val value: SettingValue

The server value of the percentage option.

Link copied to clipboard
@SerialName(value = "i")
val variationId: String? = null

The variation ID of the percentage option.