com.microsoft.bing.autosuggest.models.SearchAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bing-autosuggest Show documentation
Show all versions of bing-autosuggest Show documentation
This module contains the client library for Microsoft Bing AutoSuggest APIs.
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;
}
}