Segment

@Serializable
data class Segment(val name: String? = null, val segmentRules: Array<UserCondition>? = null)(source)

ConfigCat segment.

Constructors

Link copied to clipboard
constructor(name: String? = null, segmentRules: Array<UserCondition>? = null)

Properties

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

The name of the segment.

Link copied to clipboard
@SerialName(value = "r")
val segmentRules: Array<UserCondition>? = null

The list of segment rule conditions (where there is a logical AND relation between the items).