From e94d73d0a71f455d436ef2ba2d683cc61021e86e Mon Sep 17 00:00:00 2001 From: Azizbek Khushvakov Date: Fri, 29 Mar 2024 14:52:44 +0500 Subject: [PATCH] [MODORSERS-1026] - Added jsonProperty annotation --- src/main/java/org/folio/models/TemplateProcessingRequest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/folio/models/TemplateProcessingRequest.java b/src/main/java/org/folio/models/TemplateProcessingRequest.java index 7c1c77c44..638eeaae5 100644 --- a/src/main/java/org/folio/models/TemplateProcessingRequest.java +++ b/src/main/java/org/folio/models/TemplateProcessingRequest.java @@ -61,7 +61,9 @@ public TemplateProcessingRequest withContext(Context context) { @Getter public static class Context { + @JsonProperty private List users; + @JsonProperty private List items; public Context withUsers(List users) { @@ -73,6 +75,7 @@ public Context withUsers(List users) { @Getter public static class User { + @JsonProperty private String name; public User withName(String name) { this.name = name; @@ -82,6 +85,7 @@ public User withName(String name) { @Getter public static class Item { + @JsonProperty private String name; public Item setName(String name) {