GQLObjectTypeDefinition

class GQLObjectTypeDefinition(    val sourceLocation: SourceLocation? = null,     val description: String?,     val name: String,     val implementsInterfaces: List<String>,     val directives: List<GQLDirective>,     val fields: List<GQLFieldDefinition>) : GQLTypeDefinition

Constructors

Link copied to clipboard
constructor(    sourceLocation: SourceLocation? = null,     description: String?,     name: String,     implementsInterfaces: List<String>,     directives: List<GQLDirective>,     fields: List<GQLFieldDefinition>)

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
open override val directives: List<GQLDirective>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val sourceLocation: SourceLocation?

Functions

Link copied to clipboard
fun copy(    sourceLocation: SourceLocation? = this.sourceLocation,     description: String? = this.description,     name: String = this.name,     implementsInterfaces: List<String> = this.implementsInterfaces,     directives: List<GQLDirective> = this.directives,     fields: List<GQLFieldDefinition> = this.fields): GQLObjectTypeDefinition
Link copied to clipboard
open override fun copyWithNewChildrenInternal(container: NodeContainer): GQLNode

Internal-only. Copies this code using the given children

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun GQLTypeDefinition.isFieldNonNull(fieldName: String, schema: Schema? = null): Boolean
Link copied to clipboard
Link copied to clipboard
fun GQLNode.toUtf8(indent: String = " "): String
fun GQLNode.toUtf8(sink: BufferedSink, indent: String = " ")
fun GQLNode.toUtf8(file: File, indent: String = " ")
Link copied to clipboard
Link copied to clipboard
open override fun writeInternal(writer: SDLWriter)

Internal-only. Copies this code using the given children