PredicateSuggestion.java 1.35 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  aQute.bnd.annotation.ProviderType
 */
package com.adobe.granite.omnisearch.api.suggestion;

import aQute.bnd.annotation.ProviderType;
import java.util.Map;

@ProviderType
public final class PredicateSuggestion {
    private String type;
    private String typePath;
    private String optionTitle;
    private String optionPath;
    private Map<String, String> queryParameters;

    public PredicateSuggestion(String type, String optionTitle) {
        this(type, optionTitle, null, null);
    }

    public PredicateSuggestion(String type, String optionTitle, String typePath, String optionPath) {
        this.type = type;
        this.optionTitle = optionTitle;
        this.typePath = typePath;
        this.optionPath = optionPath;
        this.queryParameters = null;
    }

    public String getType() {
        return this.type;
    }

    public String getTypePath() {
        return this.typePath;
    }

    public String getOptionTitle() {
        return this.optionTitle;
    }

    public String getOptionPath() {
        return this.optionPath;
    }

    public Map<String, String> getQueryParameters() {
        return this.queryParameters;
    }

    public void setQueryParameters(Map<String, String> queryParameters) {
        this.queryParameters = queryParameters;
    }
}