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

com.microsoft.bing.websearch.models.SearchResultsAnswer 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 com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The SearchResultsAnswer model.
 */
public class SearchResultsAnswer extends Answer {
    /**
     * The queryContext property.
     */
    @JsonProperty(value = "queryContext", access = JsonProperty.Access.WRITE_ONLY)
    private QueryContext queryContext;

    /**
     * The estimated number of webpages that are relevant to the query. Use
     * this number along with the count and offset query parameters to page the
     * results.
     */
    @JsonProperty(value = "totalEstimatedMatches", access = JsonProperty.Access.WRITE_ONLY)
    private Long totalEstimatedMatches;

    /**
     * The isFamilyFriendly property.
     */
    @JsonProperty(value = "isFamilyFriendly", access = JsonProperty.Access.WRITE_ONLY)
    private Boolean isFamilyFriendly;

    /**
     * Get the queryContext value.
     *
     * @return the queryContext value
     */
    public QueryContext queryContext() {
        return this.queryContext;
    }

    /**
     * Get the estimated number of webpages that are relevant to the query. Use this number along with the count and offset query parameters to page the results.
     *
     * @return the totalEstimatedMatches value
     */
    public Long totalEstimatedMatches() {
        return this.totalEstimatedMatches;
    }

    /**
     * Get the isFamilyFriendly value.
     *
     * @return the isFamilyFriendly value
     */
    public Boolean isFamilyFriendly() {
        return this.isFamilyFriendly;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy