SourceLocatorInputDto

data class SourceLocatorInputDto(val kind: String, val value: String, val connectorId: String? = null, val display: String? = null)

A source locator on the wire. kind picks which of the four locator types to build and decides what the other fields mean: connector is the only kind that takes a connectorId, and the other three reject it rather than ignore it.

Parameters

kind

one of uri, file, content, connector

value

the locator's own identifier — the URI, path, content hash, or external id

connectorId

the connecting system's id, for connector locators only

display

an optional human-readable label

Constructors

Link copied to clipboard
constructor(kind: String, value: String, connectorId: String? = null, display: String? = null)

Properties

Link copied to clipboard
val connectorId: String? = null
Link copied to clipboard
val display: String? = null
Link copied to clipboard
Link copied to clipboard