class UpdateArtefactInput(val templatedFields: OptionalInput<List<JSONFieldInput>>, val template: OptionalInput<ID>, val file: OptionalInput<URI>, val from: OptionalInput<Int?>, val to: OptionalInput<Int?>, val version: OptionalInput<String?>) : UpdateNodeInput, UpdateTemplatedNodeInput

Input for the updateArtefact mutation

Constructors

Link copied to clipboard
constructor(templatedFields: OptionalInput<List<JSONFieldInput>>, template: OptionalInput<ID>, file: OptionalInput<URI>, from: OptionalInput<Int?>, to: OptionalInput<Int?>, version: OptionalInput<String?>)

Properties

Link copied to clipboard
val file: OptionalInput<URI>
Link copied to clipboard
val from: OptionalInput<Int?>
Link copied to clipboard
var id: ID

The id of the node to update

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

Link copied to clipboard
val to: OptionalInput<Int?>
Link copied to clipboard
val version: OptionalInput<String?>

Functions

Link copied to clipboard
open override fun validate()

Validates this input