From 46c2549d1c87bdabc875487bda7cdb33256bee29 Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Mon, 1 Oct 2018 18:25:47 +0200 Subject: [PATCH] return user on watch record as per https://github.com/elastic/elasticsearch/pull/31873 --- src/Nest/XPack/Watcher/ExecuteWatch/ExecuteWatchResponse.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Nest/XPack/Watcher/ExecuteWatch/ExecuteWatchResponse.cs b/src/Nest/XPack/Watcher/ExecuteWatch/ExecuteWatchResponse.cs index a6ac5c69653..6793808c155 100644 --- a/src/Nest/XPack/Watcher/ExecuteWatch/ExecuteWatchResponse.cs +++ b/src/Nest/XPack/Watcher/ExecuteWatch/ExecuteWatchResponse.cs @@ -50,6 +50,9 @@ public class WatchRecord [JsonProperty("watch_id")] public string WatchId { get; set; } + [JsonProperty("user")] + public string User { get; set; } + [JsonProperty("messages")] public IReadOnlyCollection Messages { get; set; }