1// +build go1.9
2
3// Copyright 2021 Microsoft Corporation
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8//
9//     http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing, software
12// distributed under the License is distributed on an "AS IS" BASIS,
13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14// See the License for the specific language governing permissions and
15// limitations under the License.
16
17// This code was auto-generated by:
18// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
19
20package autosuggest
21
22import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/autosuggest"
23
24const (
25	DefaultEndpoint = original.DefaultEndpoint
26)
27
28type ErrorCode = original.ErrorCode
29
30const (
31	InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
32	InvalidAuthorization      ErrorCode = original.InvalidAuthorization
33	InvalidRequest            ErrorCode = original.InvalidRequest
34	None                      ErrorCode = original.None
35	RateLimitExceeded         ErrorCode = original.RateLimitExceeded
36	ServerError               ErrorCode = original.ServerError
37)
38
39type ResponseFormat = original.ResponseFormat
40
41const (
42	JSON   ResponseFormat = original.JSON
43	JSONLd ResponseFormat = original.JSONLd
44)
45
46type SafeSearch = original.SafeSearch
47
48const (
49	Moderate SafeSearch = original.Moderate
50	Off      SafeSearch = original.Off
51	Strict   SafeSearch = original.Strict
52)
53
54type ScenarioType = original.ScenarioType
55
56const (
57	Custom                  ScenarioType = original.Custom
58	PersonalSearchDocuments ScenarioType = original.PersonalSearchDocuments
59	PersonalSearchTags      ScenarioType = original.PersonalSearchTags
60	SearchHistory           ScenarioType = original.SearchHistory
61	StoreApps               ScenarioType = original.StoreApps
62	Unknown                 ScenarioType = original.Unknown
63	Web                     ScenarioType = original.Web
64)
65
66type SearchKind = original.SearchKind
67
68const (
69	CustomSearch   SearchKind = original.CustomSearch
70	DocumentSearch SearchKind = original.DocumentSearch
71	HistorySearch  SearchKind = original.HistorySearch
72	LocationSearch SearchKind = original.LocationSearch
73	TagSearch      SearchKind = original.TagSearch
74	WebSearch      SearchKind = original.WebSearch
75)
76
77type Type = original.Type
78
79const (
80	TypeSuggestionsSuggestionGroup Type = original.TypeSuggestionsSuggestionGroup
81)
82
83type TypeBasicError = original.TypeBasicError
84
85const (
86	TypeError TypeBasicError = original.TypeError
87)
88
89type TypeBasicQueryContext = original.TypeBasicQueryContext
90
91const (
92	TypeQueryContext TypeBasicQueryContext = original.TypeQueryContext
93)
94
95type TypeBasicResponseBase = original.TypeBasicResponseBase
96
97const (
98	TypeAction              TypeBasicResponseBase = original.TypeAction
99	TypeAnswer              TypeBasicResponseBase = original.TypeAnswer
100	TypeCreativeWork        TypeBasicResponseBase = original.TypeCreativeWork
101	TypeErrorResponse       TypeBasicResponseBase = original.TypeErrorResponse
102	TypeIdentifiable        TypeBasicResponseBase = original.TypeIdentifiable
103	TypeResponse            TypeBasicResponseBase = original.TypeResponse
104	TypeResponseBase        TypeBasicResponseBase = original.TypeResponseBase
105	TypeSearchAction        TypeBasicResponseBase = original.TypeSearchAction
106	TypeSearchResultsAnswer TypeBasicResponseBase = original.TypeSearchResultsAnswer
107	TypeSuggestions         TypeBasicResponseBase = original.TypeSuggestions
108	TypeThing               TypeBasicResponseBase = original.TypeThing
109)
110
111type Action = original.Action
112type Answer = original.Answer
113type BaseClient = original.BaseClient
114type BasicAction = original.BasicAction
115type BasicAnswer = original.BasicAnswer
116type BasicCreativeWork = original.BasicCreativeWork
117type BasicError = original.BasicError
118type BasicIdentifiable = original.BasicIdentifiable
119type BasicQueryContext = original.BasicQueryContext
120type BasicResponse = original.BasicResponse
121type BasicResponseBase = original.BasicResponseBase
122type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
123type BasicSuggestionsSuggestionGroup = original.BasicSuggestionsSuggestionGroup
124type BasicThing = original.BasicThing
125type CreativeWork = original.CreativeWork
126type Error = original.Error
127type ErrorResponse = original.ErrorResponse
128type Identifiable = original.Identifiable
129type QueryContext = original.QueryContext
130type Response = original.Response
131type ResponseBase = original.ResponseBase
132type SearchAction = original.SearchAction
133type SearchResultsAnswer = original.SearchResultsAnswer
134type Suggestions = original.Suggestions
135type SuggestionsSuggestionGroup = original.SuggestionsSuggestionGroup
136type Thing = original.Thing
137
138func New() BaseClient {
139	return original.New()
140}
141func NewWithoutDefaults(endpoint string) BaseClient {
142	return original.NewWithoutDefaults(endpoint)
143}
144func PossibleErrorCodeValues() []ErrorCode {
145	return original.PossibleErrorCodeValues()
146}
147func PossibleResponseFormatValues() []ResponseFormat {
148	return original.PossibleResponseFormatValues()
149}
150func PossibleSafeSearchValues() []SafeSearch {
151	return original.PossibleSafeSearchValues()
152}
153func PossibleScenarioTypeValues() []ScenarioType {
154	return original.PossibleScenarioTypeValues()
155}
156func PossibleSearchKindValues() []SearchKind {
157	return original.PossibleSearchKindValues()
158}
159func PossibleTypeBasicErrorValues() []TypeBasicError {
160	return original.PossibleTypeBasicErrorValues()
161}
162func PossibleTypeBasicQueryContextValues() []TypeBasicQueryContext {
163	return original.PossibleTypeBasicQueryContextValues()
164}
165func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase {
166	return original.PossibleTypeBasicResponseBaseValues()
167}
168func PossibleTypeValues() []Type {
169	return original.PossibleTypeValues()
170}
171func UserAgent() string {
172	return original.UserAgent() + " profiles/latest"
173}
174func Version() string {
175	return original.Version()
176}
177