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

com.microsoft.bing.websearch.models.Images 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 an image answer.
 */
public class Images extends SearchResultsAnswer {
    /**
     * The nextOffset property.
     */
    @JsonProperty(value = "nextOffset", access = JsonProperty.Access.WRITE_ONLY)
    private Integer nextOffset;

    /**
     * A list of image objects that are relevant to the query. If there are no
     * results, the List is empty.
     */
    @JsonProperty(value = "value", required = true)
    private List value;

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

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

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

    /**
     * Get the nextOffset value.
     *
     * @return the nextOffset value
     */
    public Integer nextOffset() {
        return this.nextOffset;
    }

    /**
     * Get a list of image objects that are relevant to the query. If there are no results, the List is empty.
     *
     * @return the value value
     */
    public List value() {
        return this.value;
    }

    /**
     * Set a list of image objects that are relevant to the query. If there are no results, the List is empty.
     *
     * @param value the value value to set
     * @return the Images object itself.
     */
    public Images withValue(List value) {
        this.value = value;
        return this;
    }

    /**
     * Get the queryExpansions value.
     *
     * @return the queryExpansions value
     */
    public List queryExpansions() {
        return this.queryExpansions;
    }

    /**
     * Get the similarTerms value.
     *
     * @return the similarTerms value
     */
    public List similarTerms() {
        return this.similarTerms;
    }

    /**
     * Get the relatedSearches value.
     *
     * @return the relatedSearches value
     */
    public List relatedSearches() {
        return this.relatedSearches;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy