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

com.microsoft.bing.websearch.models.WebWebAnswer Maven / Gradle / Ivy

/**
 * 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.bing.websearch.models;

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

/**
 * Defines a list of relevant webpage links.
 */
public class WebWebAnswer extends SearchResultsAnswer {
    /**
     * A list of webpages that are relevant to the query.
     */
    @JsonProperty(value = "value", required = true)
    private List value;

    /**
     * A Boolean value that indicates whether the response excluded some
     * results from the answer. If Bing excluded some results, the value is
     * true.
     */
    @JsonProperty(value = "someResultsRemoved", access = JsonProperty.Access.WRITE_ONLY)
    private Boolean someResultsRemoved;

    /**
     * Get a list of webpages that are relevant to the query.
     *
     * @return the value value
     */
    public List value() {
        return this.value;
    }

    /**
     * Set a list of webpages that are relevant to the query.
     *
     * @param value the value value to set
     * @return the WebWebAnswer object itself.
     */
    public WebWebAnswer withValue(List value) {
        this.value = value;
        return this;
    }

    /**
     * Get a Boolean value that indicates whether the response excluded some results from the answer. If Bing excluded some results, the value is true.
     *
     * @return the someResultsRemoved value
     */
    public Boolean someResultsRemoved() {
        return this.someResultsRemoved;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy