MapKeyDefinition

@Serializable
data class MapKeyDefinition(val type: String, val kind: Int, val name: String? = null, val required: Boolean? = false, val array: ArrayDefinition? = null, val scalar: ScalarDefinition? = null, val map: MapDefinition? = null, val _object: GenericDefinition? = null, val enum: GenericDefinition? = null, val unresolvedObjectOrEnum: GenericDefinition? = null) : AnyDefinition

Definition of a Map key in a Wrap ABI.

Constructors

Link copied to clipboard
constructor(type: String, kind: Int, name: String? = null, required: Boolean? = false, array: ArrayDefinition? = null, scalar: ScalarDefinition? = null, map: MapDefinition? = null, _object: GenericDefinition? = null, enum: GenericDefinition? = null, unresolvedObjectOrEnum: GenericDefinition? = null)

Properties

Link copied to clipboard
open override val _object: GenericDefinition? = null

Reference to the object if the key is of object type.

Link copied to clipboard
open override val array: ArrayDefinition? = null

Definition of the inner array if the key is of array type.

Link copied to clipboard
open override val enum: GenericDefinition? = null

Reference to the enum if the key is of enum type.

Link copied to clipboard
open override val kind: Int

Kind of the definition.

Link copied to clipboard
open override val map: MapDefinition? = null

Definition of the inner map if the key is of map type.

Link copied to clipboard
open override val name: String? = null

Optional name of the key.

Link copied to clipboard
open override val required: Boolean? = false

Boolean indicating whether the key is required or not.

Link copied to clipboard
open override val scalar: ScalarDefinition? = null

Definition of the inner scalar if the key is of scalar type.

Link copied to clipboard
open override val type: String

Type of the key.

Link copied to clipboard
open override val unresolvedObjectOrEnum: GenericDefinition? = null

Reference to the unresolved object or enum if the key is of an unresolved type.