class CreateComponentInput(val templatedFields: List<JSONFieldInput>, val template: ID, val interfaceSpecifications: OptionalInput<List<InterfaceSpecificationInput>>, val versions: OptionalInput<List<ComponentVersionInput>>) : CreateTrackableInput, CreateTemplatedNodeInput

Input for the createComponent mutation

Constructors

Link copied to clipboard
constructor(templatedFields: List<JSONFieldInput>, template: ID, interfaceSpecifications: OptionalInput<List<InterfaceSpecificationInput>>, versions: OptionalInput<List<ComponentVersionInput>>)

Properties

Link copied to clipboard

The description of the NamedNode

Link copied to clipboard

The name of the NamedNode, must not be blank

Link copied to clipboard

The repositoryURL of the named node

Link copied to clipboard
val template: ID
Link copied to clipboard
open override val templatedFields: List<JSONFieldInput>

Initial value for the templated fields

Link copied to clipboard
val versions: OptionalInput<List<ComponentVersionInput>>

Functions

Link copied to clipboard
open override fun validate()

Validates this input