-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
BingAutoSuggestSearchAPI.java
89 lines (76 loc) · 2.64 KB
/
BingAutoSuggestSearchAPI.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/**
* 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.azure.cognitiveservices.search.autosuggest;
import com.microsoft.azure.AzureClient;
import com.microsoft.rest.RestClient;
/**
* The interface for BingAutoSuggestSearchAPI class.
*/
public interface BingAutoSuggestSearchAPI {
/**
* Gets the REST client.
*
* @return the {@link RestClient} object.
*/
RestClient restClient();
/**
* Gets the {@link AzureClient} used for long running operations.
* @return the azure client;
*/
AzureClient getAzureClient();
/**
* Gets the User-Agent header for the client.
*
* @return the user agent string.
*/
String userAgent();
/**
* Gets Gets or sets the preferred language for the response..
*
* @return the acceptLanguage value.
*/
String acceptLanguage();
/**
* Sets Gets or sets the preferred language for the response..
*
* @param acceptLanguage the acceptLanguage value.
* @return the service client itself
*/
BingAutoSuggestSearchAPI withAcceptLanguage(String acceptLanguage);
/**
* Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
*
* @return the longRunningOperationRetryTimeout value.
*/
int longRunningOperationRetryTimeout();
/**
* Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
*
* @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value.
* @return the service client itself
*/
BingAutoSuggestSearchAPI withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout);
/**
* Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
*
* @return the generateClientRequestId value.
*/
boolean generateClientRequestId();
/**
* Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
*
* @param generateClientRequestId the generateClientRequestId value.
* @return the service client itself
*/
BingAutoSuggestSearchAPI withGenerateClientRequestId(boolean generateClientRequestId);
/**
* Gets the BingAutoSuggestSearch object to access its operations.
* @return the BingAutoSuggestSearch object.
*/
BingAutoSuggestSearch bingAutoSuggestSearch();
}