class UpdateProjectInput(val defaultView: OptionalInput<ID?>, val relationLayouts: OptionalInput<List<UpdateRelationLayoutInput>>, val relationPartnerLayouts: OptionalInput<List<UpdateRelationPartnerLayoutInput>>) : UpdateTrackableInput, UpdateLayoutInput

Input for the updateProject mutation

Constructors

Link copied to clipboard
constructor(defaultView: OptionalInput<ID?>, relationLayouts: OptionalInput<List<UpdateRelationLayoutInput>>, relationPartnerLayouts: OptionalInput<List<UpdateRelationPartnerLayoutInput>>)

Properties

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

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

Link copied to clipboard
val defaultView: OptionalInput<ID?>
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
open override val relationLayouts: OptionalInput<List<UpdateRelationLayoutInput>>

The layout of the Relations

Link copied to clipboard

The layout of the RelationPartners

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

Functions

Link copied to clipboard
open override fun validate()

Validates this input

Link copied to clipboard
open fun validateLayout()

Validates the relationPartnerLayouts and relationLayouts Ensures that there is only one layout per RelationPartner and Relation