-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f6f430
commit 48f7c7f
Showing
5 changed files
with
49 additions
and
3 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
29 changes: 29 additions & 0 deletions
29
src/main/java/com/visenze/visearch/BrowseLinkedGalleryParams.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,29 @@ | ||
package com.visenze.visearch; | ||
|
||
import com.google.common.collect.Multimap; | ||
|
||
/** | ||
* Created by Hung on 8/7/24. | ||
*/ | ||
public class BrowseLinkedGalleryParams extends BaseSearchParams<BrowseLinkedGalleryParams> { | ||
private String strategyId; | ||
|
||
public BrowseLinkedGalleryParams(String strategyId) { | ||
this.strategyId = strategyId; | ||
} | ||
|
||
@Override | ||
public Multimap<String, String> toMap() { | ||
Multimap<String, String> map = super.toMap(); | ||
|
||
if (strategyId != null) { | ||
map.put("strategy_id", strategyId.toString()); | ||
} | ||
|
||
return map; | ||
} | ||
|
||
public String getStrategyId() { | ||
return strategyId; | ||
} | ||
} |
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