toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-api
/
me.ahoo.wow.api.query
/
Condition
Condition
data
class
Condition
(
val
field
:
String
,
val
operator
:
Operator
,
val
value
:
Any
=
EMPTY_VALUE
,
val
children
:
List
<
Condition
>
=
emptyList()
,
val
options
:
Map
<
String
,
Any
>
=
emptyMap()
)
:
RewritableCondition
<
Condition
>
Members
Constructors
Condition
Link copied to clipboard
constructor
(
field
:
String
,
operator
:
Operator
,
value
:
Any
=
EMPTY_VALUE
,
children
:
List
<
Condition
>
=
emptyList()
,
options
:
Map
<
String
,
Any
>
=
emptyMap()
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
children
Link copied to clipboard
val
children
:
List
<
Condition
>
When
operator
is
AND
or
OR
or
NOR
,
children
cannot be empty.
field
Link copied to clipboard
val
field
:
String
operator
Link copied to clipboard
val
operator
:
Operator
options
Link copied to clipboard
val
options
:
Map
<
String
,
Any
>
value
Link copied to clipboard
val
value
:
Any
Functions
append
Condition
Link copied to clipboard
open
override
fun
appendCondition
(
append
:
Condition
)
:
Condition
append
Tenant
Id
Link copied to clipboard
open
fun
appendTenantId
(
tenantId
:
String
)
:
Condition
ignore
Case
Link copied to clipboard
fun
ignoreCase
(
)
:
Boolean
?
value
As
Link copied to clipboard
fun
<
V
>
valueAs
(
)
:
V
with
Condition
Link copied to clipboard
open
override
fun
withCondition
(
newCondition
:
Condition
)
:
Condition