Class Result

java.lang.Object
io.constructor.client.models.Result

public class Result extends Object
Constructor.io Result ... uses Gson/Reflection to load data in
  • Constructor Details

    • Result

      public Result()
  • Method Details

    • getValue

      public String getValue()
      Returns:
      the value
    • getData

      public ResultData getData()
      Returns:
      the data
    • getMatchedTerms

      public List<String> getMatchedTerms()
      Returns:
      the matchedTerms
    • getVariations

      public List<Result> getVariations()
      Returns:
      the variations
    • getVariationsMap

      public Object getVariationsMap()
      Returns:
      the variationsMap
    • getLabels

      public Map<String,Object> getLabels()
      Returns:
      the labels
    • getStrategy

      public Map<String,String> getStrategy()
      Returns:
      the strategy
    • setValue

      public void setValue(String value)
    • setData

      public void setData(ResultData data)
    • setMatchedTerms

      public void setMatchedTerms(List<String> matchedTerms)
    • setVariations

      public void setVariations(List<Result> variations)
    • setVariationsMap

      public void setVariationsMap(Object variationsMap)
    • setLabels

      public void setLabels(Map<String,Object> labels)
    • setStrategy

      public void setStrategy(Map<String,String> strategy)