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

com.algolia.search.models.indexing.MultipleQueriesRequest Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;
import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class MultipleQueriesRequest implements Serializable {

  public MultipleQueriesRequest() {}

  public MultipleQueriesRequest(List requests) {
    this.requests = requests;
  }

  public MultipleQueriesRequest(String strategy, List requests) {
    this.strategy = strategy;
    this.requests = requests;
  }

  public MultipleQueriesRequest setRequests(List requests) {
    this.requests = requests;
    return this;
  }

  public MultipleQueriesRequest setStrategy(String strategy) {
    this.strategy = strategy;
    return this;
  }

  public String getStrategy() {
    return strategy;
  }

  public List getRequests() {
    return requests;
  }

  private String strategy;
  private List requests;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy