RulesEngineRuleMatchCondition

data class RulesEngineRuleMatchCondition(val negateCondition: Boolean? = null, val operator: String, val selector: String? = null, val transforms: List<String>? = null, val values: List<String>? = null, val variable: String? = null)

Constructors

Link copied to clipboard
constructor(negateCondition: Boolean? = null, operator: String, selector: String? = null, transforms: List<String>? = null, values: List<String>? = null, variable: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

can be set to true or false to negate the given condition. Defaults to false.

Link copied to clipboard

can be set to Any, IPMatch, GeoMatch, Equal, Contains, LessThan, GreaterThan, LessThanOrEqual, GreaterThanOrEqual, BeginsWith or EndsWith

Link copied to clipboard
val selector: String? = null

match against a specific key when variable is set to PostArgs or RequestHeader. It cannot be used with QueryString and RequestMethod.

Link copied to clipboard
val transforms: List<String>? = null

can be set to one or more values out of Lowercase, RemoveNulls, Trim, Uppercase, UrlDecode and UrlEncode

Link copied to clipboard
val values: List<String>? = null

(array) can contain one or more strings.

Link copied to clipboard
val variable: String? = null

can be set to IsMobile, RemoteAddr, RequestMethod, QueryString, PostArgs, RequestURI, RequestPath, RequestFilename, RequestFilenameExtension,RequestHeader,RequestBody or RequestScheme.