class UpdateComponentInput(val templatedFields: OptionalInput<List<JSONFieldInput>>, val template: OptionalInput<ID>, val componentVersionTemplatedFields: OptionalInput<List<JSONFieldInput>>, val intraComponentDependencySpecificationTypeMapping: OptionalInput<List<TypeMappingInput>>) : UpdateTrackableInput, UpdateTemplatedNodeInput

Input for the updateComponent mutation

Constructors

Link copied to clipboard
constructor(templatedFields: OptionalInput<List<JSONFieldInput>>, template: OptionalInput<ID>, componentVersionTemplatedFields: OptionalInput<List<JSONFieldInput>>, intraComponentDependencySpecificationTypeMapping: OptionalInput<List<TypeMappingInput>>)

Properties

Link copied to clipboard
var addedPermissions: OptionalInput<List<ID>>

Ids of permissions to add, must be disjoint with removedPermissions.

Link copied to clipboard
var description: OptionalInput<String>

The description of the NamedNode

Link copied to clipboard
var id: ID

The id of the node to update

Link copied to clipboard
var name: OptionalInput<String>

The new name of the NamedNode, must not be empty

Link copied to clipboard
var removedPermissions: OptionalInput<List<ID>>

Ids of permissions to remove, must be disjoint with addedPermissions. There must always be at least one permissions granting ADMIN to some GropiusUser left.

Link copied to clipboard
var repositoryURL: OptionalInput<URI?>

The repositoryURL of the named node

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