class OperationService : ConnectionRequest<User, Operation>
Access point for posting operations to remote assets via Cumulocity
OperationService(connection: CumulocityConnectionFactory.CumulocityConnection)
Creates a single use instance that cab be used to launch a query, do not reuse the same instance for multiple queries |
val connection: CumulocityConnectionFactory.CumulocityConnection
Connection referencing cumulocity tenant, instance and credentials to use |
|
var version: String |
fun path(): String |
|
fun post(operation: Operation, responder: (Response<Operation?>) -> Unit): Unit
Submits an operation to Cumulocity to be run on the targetted device refereneced in the managed object |
|
fun response(response: String): Operation |