-
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 #88 from visenze/feature/ab_test
[ES-4362] A/B test experiment response, add vs_attrs_to_get and vs_config request params
- Loading branch information
Showing
9 changed files
with
211 additions
and
22 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
62 changes: 62 additions & 0 deletions
62
visearch-android/src/main/java/com/visenze/visearch/android/model/Experiment.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,62 @@ | ||
package com.visenze.visearch.android.model; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
public class Experiment { | ||
|
||
@SerializedName("experiment_id") | ||
private int experimentId; | ||
|
||
@SerializedName("variant_id") | ||
private int variantId; | ||
|
||
@SerializedName("variant_name") | ||
private String variantName; | ||
|
||
@SerializedName("strategy_id") | ||
private Integer strategyId; | ||
|
||
@SerializedName("experiment_no_recommendation") | ||
private boolean expNoRecommendation; | ||
|
||
public int getExperimentId() { | ||
return experimentId; | ||
} | ||
|
||
public void setExperimentId(int experimentId) { | ||
this.experimentId = experimentId; | ||
} | ||
|
||
public int getVariantId() { | ||
return variantId; | ||
} | ||
|
||
public void setVariantId(int variantId) { | ||
this.variantId = variantId; | ||
} | ||
|
||
public String getVariantName() { | ||
return variantName; | ||
} | ||
|
||
public void setVariantName(String variantName) { | ||
this.variantName = variantName; | ||
} | ||
|
||
public Integer getStrategyId() { | ||
return strategyId; | ||
} | ||
|
||
public void setStrategyId(Integer strategyId) { | ||
this.strategyId = strategyId; | ||
} | ||
|
||
public boolean isExpNoRecommendation() { | ||
return expNoRecommendation; | ||
} | ||
|
||
public void setExpNoRecommendation(boolean expNoRecommendation) { | ||
this.expNoRecommendation = expNoRecommendation; | ||
} | ||
|
||
} |
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