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

Query

data class Query

Represents an individual query to be applied, consisting of a key (left hand), an operator and a value (right hand). If the operator is blank, then the key is assumed to be a function e.g.

val q = Query("bygroupid", null, "12345")
Log.i("example", "${q.toString()}")

would output example - bygroupd(12345)

Constructors

<init>

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

Represents an individual query to be applied, consisting of a key (left hand), an operator and a value (right hand). If the operator is blank, then the key is assumed to be a function e.g.

Properties

key

val key: String

operator

val operator: ManagedObjectQuery.Operator?

value

var value: String

Functions

toString

fun toString(): String