vertx / io.vertx.kotlin.ext.consul / TxnKVOperation

# TxnKVOperation

`fun TxnKVOperation(flags: Long? = null, index: Long? = null, key: String? = null, session: String? = null, type: TxnKVVerb? = null, value: String? = null): TxnKVOperation`

A function providing a DSL for building io.vertx.ext.consul.TxnKVOperation objects.

Holds operation to apply to the key/value store inside a transaction

### Parameters

`flags` - Set the flags attached to this entry. Clients can choose to use this however makes sense for their application.

`index` - Set the index used for locking, unlocking, and check-and-set operations.

`key` - Set the key

`session` - Set the session used for locking, unlocking, and check-and-set operations.

`type` - Set the type of operation to perform

`value` - Set the value