QueryFieldDeclarationBuilder

One field or nested value: its shape (kind, types, nullability, structure) and semantics (enum, time, text).

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
fun description(value: String)
Link copied to clipboard
fun enumValue(value: Any?, description: String? = null)

Adds one declared value, with what it means.

Link copied to clipboard

The element of an array.

Link copied to clipboard
fun kind(value: QueryValueKind)

SCALAR, OBJECT or ARRAY; implied by types, property/values or items when not stated.

Link copied to clipboard
fun nullable(value: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun temporalEpoch(unit: TimeUnit = TimeUnit.MILLISECONDS)
Link copied to clipboard
Link copied to clipboard
fun types(vararg value: QueryValueType)
Link copied to clipboard

The value of every key of a map.