-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from visenze/feature/sti
[API-9235] Support box list and group_by request response
- Loading branch information
Showing
13 changed files
with
173 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
visearch-android/src/main/java/com/visenze/visearch/android/model/GroupProductResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package com.visenze.visearch.android.model; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
import java.util.List; | ||
|
||
public class GroupProductResult { | ||
|
||
@SerializedName("group_by_value") | ||
private String groupByValue; | ||
|
||
@SerializedName("result") | ||
private List<Product> products; | ||
|
||
public String getGroupByValue() { | ||
return groupByValue; | ||
} | ||
|
||
public void setGroupByValue(String groupByValue) { | ||
this.groupByValue = groupByValue; | ||
} | ||
|
||
public List<Product> getProducts() { | ||
return products; | ||
} | ||
|
||
public void setProducts(List<Product> products) { | ||
this.products = products; | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
visearch-android/src/main/java/com/visenze/visearch/android/model/GroupSearchResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package com.visenze.visearch.android.model; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
import java.util.List; | ||
|
||
public class GroupSearchResult { | ||
|
||
@SerializedName("result") | ||
private List<ImageResult> result; | ||
|
||
@SerializedName("group_by_value") | ||
private String groupByValue; | ||
|
||
public List<ImageResult> getResult() { | ||
return result; | ||
} | ||
|
||
public void setResult(List<ImageResult> result) { | ||
this.result = result; | ||
} | ||
|
||
public String getGroupByValue() { | ||
return groupByValue; | ||
} | ||
|
||
public void setGroupByValue(String groupByValue) { | ||
this.groupByValue = groupByValue; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters