Cumulocity API Services / com.softwareag.jc.cumulocity.services.models / ManagedObjectQuery / add

add

fun add(query: ManagedObjectQuery.Query): Unit

Adds a new query to the existing set

fun add(key: String, operator: ManagedObjectQuery.Operator?, value: String): ManagedObjectQuery

Adds a new query to the existing set based on the individual values

Parameters

key - left hand operator

operator - the operator to be applied e.g. 'eq' 'ne' etc. or blank if key is a function

value - right hand operator or value of function is operator is null