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

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

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

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.List;

public class Alternative {
  public String getType() {
    return type;
  }

  public Alternative setType(String type) {
    this.type = type;
    return this;
  }

  public List getWords() {
    return words;
  }

  public Alternative setWords(List words) {
    this.words = words;
    return this;
  }

  public Long getTypos() {
    return typos;
  }

  public Alternative setTypos(Long typos) {
    this.typos = typos;
    return this;
  }

  public Long getOffset() {
    return offset;
  }

  public Alternative setOffset(Long offset) {
    this.offset = offset;
    return this;
  }

  public Long getLength() {
    return length;
  }

  public Alternative setLength(Long length) {
    this.length = length;
    return this;
  }

  @JsonDeserialize(using = FlatListDeserializer.class)
  private String type;

  private List words;
  private Long typos;
  private Long offset;
  private Long length;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy