class UpdateViewInput(val relationLayouts: OptionalInput<List<UpdateRelationLayoutInput>>, val relationPartnerLayouts: OptionalInput<List<UpdateRelationPartnerLayoutInput>>, val filterByTemplate: OptionalInput<List<ID>>) : UpdateNamedNodeInput, UpdateLayoutInput

Input for the updateView mutation

Constructors

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

Properties

Link copied to clipboard
var description: OptionalInput<String>

The description of the NamedNode

Link copied to clipboard
val filterByTemplate: OptionalInput<List<ID>>
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

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