RelationshipAssertion

data class RelationshipAssertion(val source: String, val target: String, val type: String, val description: String? = null, val properties: Map<String, Any> = emptyMap())

A relationship to assert between two entities.

Source and target are matched by name against entities in the same request.

Parameters

source

Entity name (must match an entity in the request)

target

Entity name (must match an entity in the request)

type

Relationship type, e.g. "WORKS_AT"

description

Optional description of the relationship

properties

Additional properties to store on the relationship

Constructors

Link copied to clipboard
constructor(source: String, target: String, type: String, description: String? = null, properties: Map<String, Any> = emptyMap())

Properties

Link copied to clipboard
val description: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard