File tree Expand file tree Collapse file tree
src/main/java/com/visenze Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 <groupId >com.visenze</groupId >
66 <artifactId >visearch-java-sdk</artifactId >
77 <name >ViSearch Java SDK</name >
8- <version >1.13.5 </version >
8+ <version >1.13.6 </version >
99 <packaging >jar</packaging >
1010 <url >https://github.com/visenze/visearch-sdk-java</url >
1111 <description >ViSearch Java SDK</description >
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ public class ObjectProductResult {
2929 @ JsonProperty ("box" )
3030 private List <Integer > box ;
3131
32+ @ JsonProperty ("box_type" )
33+ private String boxType ;
34+
3235 @ JsonProperty ("attributes" )
3336 public Map <String , String > attributes ;
3437
@@ -63,6 +66,18 @@ public class ObjectProductResult {
6366
6467 public List <Integer > getBox () { return box ; }
6568
69+ public void setBox (List <Integer > box ) {
70+ this .box = box ;
71+ }
72+
73+ public String getBoxType () {
74+ return boxType ;
75+ }
76+
77+ public void setBoxType (String boxType ) {
78+ this .boxType = boxType ;
79+ }
80+
6681 public Map <String ,String > getAttributes () { return attributes ; }
6782
6883 public Integer getTotal () { return total ; }
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ public class ObjectSearchResult {
1616 private Float score ;
1717 private Float rerankScore ;
1818 private List <Integer > box ;
19+
20+ @ JsonProperty ("box_type" )
21+ private String boxType ;
22+
1923 private Map <String , List <String >> attributes ;
2024 private Map <String , List <String >> attributesList ;
2125 private int total ;
@@ -48,6 +52,10 @@ public List<Integer> getBox() {
4852 return box ;
4953 }
5054
55+ public String getBoxType () {
56+ return boxType ;
57+ }
58+
5159 public Map <String , List <String >> getAttributes () {
5260 return attributes ;
5361 }
@@ -84,6 +92,10 @@ public void setBox(List<Integer> box) {
8492 this .box = box ;
8593 }
8694
95+ public void setBoxType (String boxType ) {
96+ this .boxType = boxType ;
97+ }
98+
8799 public void setAttributes (Map <String , List <String >> attributes ) {
88100 this .attributes = attributes ;
89101 }
You can’t perform that action at this time.
0 commit comments