GQLUnionTypeDefinition

data class GQLUnionTypeDefinition(    val sourceLocation: SourceLocation = SourceLocation.UNKNOWN,     val description: String?,     val name: String,     val directives: List<GQLDirective>,     val memberTypes: List<GQLNamedType>) : GQLTypeDefinition

Constructors

Link copied to clipboard
fun GQLUnionTypeDefinition(    sourceLocation: SourceLocation = SourceLocation.UNKNOWN,     description: String?,     name: String,     directives: List<GQLDirective>,     memberTypes: List<GQLNamedType>)

Functions

Link copied to clipboard
open override fun copyWithNewChildrenInternal(container: NodeContainer): GQLNode

Internal-only. Copies this code using the given children

Link copied to clipboard
fun isBuiltIn(): Boolean
Link copied to clipboard
open override fun writeInternal(writer: SDLWriter)

Internal-only. Copies this code using the given children

Properties

Link copied to clipboard
open override val children: List<GQLNode>

The children of this node.

Link copied to clipboard
open override val description: String?
Link copied to clipboard
val directives: List<GQLDirective>
Link copied to clipboard
val memberTypes: List<GQLNamedType>
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val sourceLocation: SourceLocation