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

com.groupbyinc.api.model.Results Maven / Gradle / Ivy

There is a newer version: 2.0.250
Show newest version
package com.groupbyinc.api.model;

import java.util.List;

public class Results extends AbstractResults {
    private List keyMatches;
    private List synonyms;

    /**
     * 
     * The GSA supports the concept of key matches which links a search term to a URL.
     * The resulting object represents the response from the GSA.
     * 
     *
     * @return A list of KeyMatch objects
     */
    public List getKeyMatches() {
        return keyMatches;
    }

    /**
     * @param keyMatches Set key matches
     * @return
     */
    public Results setKeyMatches(List keyMatches) {
        this.keyMatches = keyMatches;
        return this;
    }

    /**
     * @return A list of synonyms resulting from the use of the Related Queries
     * section in the GSA.
     */
    public List getSynonyms() {
        return synonyms;
    }

    /**
     * @param synonyms Set a list of synonyms
     * @return
     */
    public Results setSynonyms(List synonyms) {
        this.synonyms = synonyms;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy