class UpdateRelationInput(val templatedFields: OptionalInput<List<JSONFieldInput>>, val template: OptionalInput<ID>, val addedStartParts: OptionalInput<List<ID>>, val removedStartParts: OptionalInput<List<ID>>, val addedEndParts: OptionalInput<List<ID>>, val removedEndParts: OptionalInput<List<ID>>) : UpdateNodeInput, UpdateTemplatedNodeInput

Input for the updateRelation mutation

Constructors

Link copied to clipboard
constructor(templatedFields: OptionalInput<List<JSONFieldInput>>, template: OptionalInput<ID>, addedStartParts: OptionalInput<List<ID>>, removedStartParts: OptionalInput<List<ID>>, addedEndParts: OptionalInput<List<ID>>, removedEndParts: OptionalInput<List<ID>>)

Properties

Link copied to clipboard
val addedEndParts: OptionalInput<List<ID>>
Link copied to clipboard
val addedStartParts: OptionalInput<List<ID>>
Link copied to clipboard
var id: ID

The id of the node to update

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

Initial value for the templated fields

Functions

Link copied to clipboard
open override fun validate()

Validates this input