vertx / io.vertx.config.vault.client / TokenRequest

# TokenRequest

`open class TokenRequest`

The token request structure.

Author
Clement Escoffier

### Constructors

<init> | `TokenRequest()` `TokenRequest(json: JsonObject)` `TokenRequest(other: TokenRequest)`

### Functions

getDisplayName | `open fun getDisplayName(): String`
getId | `open fun getId(): String`
getMeta | `open fun getMeta(): MutableMap<String, String>`
getNumUses | `open fun getNumUses(): Long`
getPolicies | `open fun getPolicies(): MutableList<String>`
getRole | `open fun getRole(): String`
getTtl | `open fun getTtl(): String`
isNoDefaultPolicy | `open fun isNoDefaultPolicy(): Boolean`
isNoParent | `open fun isNoParent(): Boolean`
setDisplayName | `open fun setDisplayName(displayName: String): TokenRequest`
setId | `open fun setId(id: String): TokenRequest`
setMeta | `open fun setMeta(meta: MutableMap<String, String>): TokenRequest`
setNoDefaultPolicy | `open fun setNoDefaultPolicy(noDefaultPolicy: Boolean): TokenRequest`
setNoParent | `open fun setNoParent(noParent: Boolean): TokenRequest`
setNumUses | `open fun setNumUses(numUses: Long): TokenRequest`
setPolicies | `open fun setPolicies(policies: MutableList<String>): TokenRequest`
setRole | `open fun setRole(role: String): TokenRequest`
setTTL | `open fun setTTL(ttl: String): TokenRequest`
toJson | `open fun toJson(): JsonObject`
toPayload | `open fun toPayload(): JsonObject`