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

com.microsoft.bing.autosuggest.models.SearchAction Maven / Gradle / Ivy

The newest version!
/**
 * 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.autosuggest.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The SearchAction model.
 */
public class SearchAction extends Action {
    /**
     * The displayText property.
     */
    @JsonProperty(value = "displayText", access = JsonProperty.Access.WRITE_ONLY)
    private String displayText;

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

    /**
     * Possible values include: 'WebSearch', 'HistorySearch', 'DocumentSearch',
     * 'TagSearch', 'LocationSearch', 'CustomSearch'.
     */
    @JsonProperty(value = "searchKind", access = JsonProperty.Access.WRITE_ONLY)
    private SearchKind searchKind;

    /**
     * Get the displayText value.
     *
     * @return the displayText value
     */
    public String displayText() {
        return this.displayText;
    }

    /**
     * Get the query value.
     *
     * @return the query value
     */
    public String query() {
        return this.query;
    }

    /**
     * Get possible values include: 'WebSearch', 'HistorySearch', 'DocumentSearch', 'TagSearch', 'LocationSearch', 'CustomSearch'.
     *
     * @return the searchKind value
     */
    public SearchKind searchKind() {
        return this.searchKind;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy