com.algolia.search.models.rules.Condition Maven / Gradle / Ivy
The newest version!
package com.algolia.search.models.rules;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;
/**
* Condition parameter. More information:
*
* @see Algolia.com
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Condition implements Serializable {
private String pattern;
private String anchoring;
private String context;
private Alternatives alternatives;
private String filters;
public Condition() {}
public String getPattern() {
return pattern;
}
public Condition setPattern(String pattern) {
this.pattern = pattern;
return this;
}
public String getAnchoring() {
return anchoring;
}
public Condition setAnchoring(String anchoring) {
this.anchoring = anchoring;
return this;
}
public String getContext() {
return context;
}
public Condition setContext(String context) {
this.context = context;
return this;
}
public Alternatives getAlternatives() {
return alternatives;
}
public Condition setAlternatives(Alternatives alternatives) {
this.alternatives = alternatives;
return this;
}
public String getFilters() {
return filters;
}
public Condition setFilters(String filters) {
this.filters = filters;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy