All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.algolia.search.models.recommend.GetRecommendationsResponse Maven / Gradle / Ivy

The newest version!
package com.algolia.search.models.recommend;

import com.algolia.search.models.indexing.RecommendHit;
import com.algolia.search.models.indexing.RecommendationsResult;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;
import java.util.List;

/** Response from Recommend API. */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class GetRecommendationsResponse implements Serializable {

  /** List of results in the order they were submitted, one per request. */
  private List> results;

  public List> getResults() {
    return results;
  }

  public GetRecommendationsResponse setResults(List> results) {
    this.results = results;
    return this;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy