GQLVariableDefinition
class GQLVariableDefinition(val sourceLocation: SourceLocation? = null, val name: String, val type: GQLType, val defaultValue: GQLValue?, val directives: List<GQLDirective>, val description: String?) : GQLNode, GQLNamed, GQLDescribed, GQLHasDirectives
A variable definition is very similar to an InputValue definition except it doesn't have a description
Constructors
Link copied to clipboard
constructor(sourceLocation: SourceLocation? = null, name: String, type: GQLType, defaultValue: GQLValue?, directives: List<GQLDirective>, description: String?)
constructor(sourceLocation: SourceLocation? = null, name: String, type: GQLType, defaultValue: GQLValue?, directives: List<GQLDirective>)
Properties
Functions
Link copied to clipboard
fun copy(sourceLocation: SourceLocation? = this.sourceLocation, name: String = this.name, type: GQLType = this.type, defaultValue: GQLValue? = this.defaultValue, directives: List<GQLDirective> = this.directives): GQLVariableDefinition
fun copy(sourceLocation: SourceLocation? = this.sourceLocation, name: String = this.name, type: GQLType = this.type, defaultValue: GQLValue? = this.defaultValue, directives: List<GQLDirective> = this.directives, description: String? = this.description): GQLVariableDefinition
Link copied to clipboard
Internal-only. Copies this code using the given children
Link copied to clipboard
Link copied to clipboard
Internal-only. Copies this code using the given children