Package io.constructor.client.models
Class Result
java.lang.Object
io.constructor.client.models.Result
Constructor.io Result ... uses Gson/Reflection to load data in
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()booleangetValue()voidsetData(ResultData data) voidsetIsSlotted(boolean isSlotted) voidvoidsetMatchedTerms(List<String> matchedTerms) voidsetStrategy(Map<String, String> strategy) voidvoidsetVariations(List<Result> variations) voidsetVariationSlice(Map<String, List<String>> variationSlice) voidsetVariationsMap(Object variationsMap)
-
Constructor Details
-
Result
public Result()
-
-
Method Details
-
getValue
- Returns:
- the value
-
getData
- Returns:
- the data
-
getMatchedTerms
- Returns:
- the matchedTerms
-
getVariations
- Returns:
- the variations
-
getVariationsMap
- Returns:
- the variationsMap
-
getLabels
- Returns:
- the labels
-
getStrategy
- Returns:
- the strategy
-
getVariationSlice
- Returns:
- the variationSlice
-
getIsSlotted
public boolean getIsSlotted()- Returns:
- isSlotted boolean
-
setValue
-
setData
-
setMatchedTerms
-
setVariations
-
setVariationsMap
-
setLabels
-
setStrategy
-
setVariationSlice
-
setIsSlotted
public void setIsSlotted(boolean isSlotted)
-