diff --git a/pom.xml b/pom.xml index 66b76e9..10f812b 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.visenze visearch-java-sdk ViSearch Java SDK - 1.13.5 + 1.13.6 jar https://github.com/visenze/visearch-sdk-java ViSearch Java SDK diff --git a/src/main/java/com/visenze/productsearch/response/ObjectProductResult.java b/src/main/java/com/visenze/productsearch/response/ObjectProductResult.java index a78f454..0dbe399 100644 --- a/src/main/java/com/visenze/productsearch/response/ObjectProductResult.java +++ b/src/main/java/com/visenze/productsearch/response/ObjectProductResult.java @@ -29,6 +29,9 @@ public class ObjectProductResult { @JsonProperty("box") private List box; + @JsonProperty("box_type") + private String boxType; + @JsonProperty("attributes") public Map attributes; @@ -63,6 +66,18 @@ public class ObjectProductResult { public List getBox() { return box; } + public void setBox(List box) { + this.box = box; + } + + public String getBoxType() { + return boxType; + } + + public void setBoxType(String boxType) { + this.boxType = boxType; + } + public Map getAttributes() { return attributes; } public Integer getTotal() { return total; } diff --git a/src/main/java/com/visenze/visearch/ObjectSearchResult.java b/src/main/java/com/visenze/visearch/ObjectSearchResult.java index ca6826d..c558a30 100644 --- a/src/main/java/com/visenze/visearch/ObjectSearchResult.java +++ b/src/main/java/com/visenze/visearch/ObjectSearchResult.java @@ -16,6 +16,10 @@ public class ObjectSearchResult { private Float score; private Float rerankScore; private List box; + + @JsonProperty("box_type") + private String boxType; + private Map> attributes; private Map> attributesList; private int total; @@ -48,6 +52,10 @@ public List getBox() { return box; } + public String getBoxType() { + return boxType; + } + public Map> getAttributes() { return attributes; } @@ -84,6 +92,10 @@ public void setBox(List box) { this.box = box; } + public void setBoxType(String boxType) { + this.boxType = boxType; + } + public void setAttributes(Map> attributes) { this.attributes = attributes; }