IncomingWebHookMetaData

constructor(name: String = "", path: String = "", target: String = "", method: HttpMethod = HttpMethod.GET, sources: List<NodeIdentity> = emptyList(), targets: List<NodeIdentity> = if (target.isNotEmpty()) { if (target.contains(":")) { val parts = target.split(":") listOf(NodeIdentity(parts.last(), parts.first())) } else { listOf(NodeIdentity(target, "")) } } else { emptyList() }, executionSource: List<ExecutionSource> = emptyList(), error: String = "")(source)