kgraphql / com.apurebase.kgraphql.schema.structure / Type / Union

Union

class Union : ComplexType

Constructors

<init>

Union(kqlType: Union, typenameResolver: Field, possibleTypes: List<Type>)

Properties

description

val description: String

enumValues

val enumValues: List<__EnumValue>?

fields

val fields: List<__Field>?

inputFields

val inputFields: List<__InputValue>?

interfaces

val interfaces: List<__Type>?

kClass

val kClass: KClass<*>?

kind

val kind: TypeKind

name

val name: String?

ofType

val ofType: __Type?

possibleTypes

val possibleTypes: List<Type>

Functions

isInstance

fun isInstance(value: Any?): Boolean