/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Represents List of Question Answers.
 */
public class QnASearchResultList {
    /**
     * Represents Search Result list.
     */
    @JsonProperty(value = "answers")
    private List<QnASearchResult> answers;

    /**
     * Get the answers value.
     *
     * @return the answers value
     */
    public List<QnASearchResult> answers() {
        return this.answers;
    }

    /**
     * Set the answers value.
     *
     * @param answers the answers value to set
     * @return the QnASearchResultList object itself.
     */
    public QnASearchResultList withAnswers(List<QnASearchResult> answers) {
        this.answers = answers;
        return this;
    }

}
