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

Interface

class Interface<T : Any> : ComplexType

Constructors

<init>

Interface(definition: Object<T>, fields: List<Field> = emptyList(), possibleTypes: List<Type>? = emptyList())

Properties

description

val description: String

enumValues

val enumValues: List<__EnumValue>?

inputFields

val inputFields: List<__InputValue>?

interfaces

val interfaces: List<__Type>?

kClass

val kClass: KClass<T>

kind

val kind: TypeKind

name

val name: String?

ofType

val ofType: __Type?

possibleTypes

val possibleTypes: List<Type>?

Functions

withPossibleTypes

fun withPossibleTypes(possibleTypes: List<Type>): Interface<T>