From 3dfdd1ca119dd9d3722c2311630e6d91d4df69ea Mon Sep 17 00:00:00 2001 From: Lorenzo <33317410+lorenzomalla@users.noreply.github.com> Date: Wed, 6 Sep 2023 17:09:58 +0200 Subject: [PATCH] Fix: Primitive type attribute for `primaryTerm` and `seqNo` --- .../clients/elasticsearch/_types/WriteResponseBase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WriteResponseBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WriteResponseBase.java index dfc77148f..85ee630b7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WriteResponseBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WriteResponseBase.java @@ -54,11 +54,11 @@ public abstract class WriteResponseBase implements JsonpSerializable { private final String index; - private final long primaryTerm; + private final Long primaryTerm; private final Result result; - private final long seqNo; + private final Long seqNo; private final ShardStatistics shards;