...
1
2
3
4
5
6
7
8
9
10 package autosuggest
11
12 import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/autosuggest"
13
14 const (
15 DefaultEndpoint = original.DefaultEndpoint
16 )
17
18 type ErrorCode = original.ErrorCode
19
20 const (
21 InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
22 InvalidAuthorization ErrorCode = original.InvalidAuthorization
23 InvalidRequest ErrorCode = original.InvalidRequest
24 None ErrorCode = original.None
25 RateLimitExceeded ErrorCode = original.RateLimitExceeded
26 ServerError ErrorCode = original.ServerError
27 )
28
29 type ResponseFormat = original.ResponseFormat
30
31 const (
32 JSON ResponseFormat = original.JSON
33 JSONLd ResponseFormat = original.JSONLd
34 )
35
36 type SafeSearch = original.SafeSearch
37
38 const (
39 Moderate SafeSearch = original.Moderate
40 Off SafeSearch = original.Off
41 Strict SafeSearch = original.Strict
42 )
43
44 type ScenarioType = original.ScenarioType
45
46 const (
47 Custom ScenarioType = original.Custom
48 PersonalSearchDocuments ScenarioType = original.PersonalSearchDocuments
49 PersonalSearchTags ScenarioType = original.PersonalSearchTags
50 SearchHistory ScenarioType = original.SearchHistory
51 StoreApps ScenarioType = original.StoreApps
52 Unknown ScenarioType = original.Unknown
53 Web ScenarioType = original.Web
54 )
55
56 type SearchKind = original.SearchKind
57
58 const (
59 CustomSearch SearchKind = original.CustomSearch
60 DocumentSearch SearchKind = original.DocumentSearch
61 HistorySearch SearchKind = original.HistorySearch
62 LocationSearch SearchKind = original.LocationSearch
63 TagSearch SearchKind = original.TagSearch
64 WebSearch SearchKind = original.WebSearch
65 )
66
67 type Type = original.Type
68
69 const (
70 TypeSuggestionsSuggestionGroup Type = original.TypeSuggestionsSuggestionGroup
71 )
72
73 type TypeBasicError = original.TypeBasicError
74
75 const (
76 TypeError TypeBasicError = original.TypeError
77 )
78
79 type TypeBasicQueryContext = original.TypeBasicQueryContext
80
81 const (
82 TypeQueryContext TypeBasicQueryContext = original.TypeQueryContext
83 )
84
85 type TypeBasicResponseBase = original.TypeBasicResponseBase
86
87 const (
88 TypeAction TypeBasicResponseBase = original.TypeAction
89 TypeAnswer TypeBasicResponseBase = original.TypeAnswer
90 TypeCreativeWork TypeBasicResponseBase = original.TypeCreativeWork
91 TypeErrorResponse TypeBasicResponseBase = original.TypeErrorResponse
92 TypeIdentifiable TypeBasicResponseBase = original.TypeIdentifiable
93 TypeResponse TypeBasicResponseBase = original.TypeResponse
94 TypeResponseBase TypeBasicResponseBase = original.TypeResponseBase
95 TypeSearchAction TypeBasicResponseBase = original.TypeSearchAction
96 TypeSearchResultsAnswer TypeBasicResponseBase = original.TypeSearchResultsAnswer
97 TypeSuggestions TypeBasicResponseBase = original.TypeSuggestions
98 TypeThing TypeBasicResponseBase = original.TypeThing
99 )
100
101 type Action = original.Action
102 type Answer = original.Answer
103 type BaseClient = original.BaseClient
104 type BasicAction = original.BasicAction
105 type BasicAnswer = original.BasicAnswer
106 type BasicCreativeWork = original.BasicCreativeWork
107 type BasicError = original.BasicError
108 type BasicIdentifiable = original.BasicIdentifiable
109 type BasicQueryContext = original.BasicQueryContext
110 type BasicResponse = original.BasicResponse
111 type BasicResponseBase = original.BasicResponseBase
112 type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
113 type BasicSuggestionsSuggestionGroup = original.BasicSuggestionsSuggestionGroup
114 type BasicThing = original.BasicThing
115 type CreativeWork = original.CreativeWork
116 type Error = original.Error
117 type ErrorResponse = original.ErrorResponse
118 type Identifiable = original.Identifiable
119 type QueryContext = original.QueryContext
120 type Response = original.Response
121 type ResponseBase = original.ResponseBase
122 type SearchAction = original.SearchAction
123 type SearchResultsAnswer = original.SearchResultsAnswer
124 type Suggestions = original.Suggestions
125 type SuggestionsSuggestionGroup = original.SuggestionsSuggestionGroup
126 type Thing = original.Thing
127
128 func New() BaseClient {
129 return original.New()
130 }
131 func NewWithoutDefaults(endpoint string) BaseClient {
132 return original.NewWithoutDefaults(endpoint)
133 }
134 func PossibleErrorCodeValues() []ErrorCode {
135 return original.PossibleErrorCodeValues()
136 }
137 func PossibleResponseFormatValues() []ResponseFormat {
138 return original.PossibleResponseFormatValues()
139 }
140 func PossibleSafeSearchValues() []SafeSearch {
141 return original.PossibleSafeSearchValues()
142 }
143 func PossibleScenarioTypeValues() []ScenarioType {
144 return original.PossibleScenarioTypeValues()
145 }
146 func PossibleSearchKindValues() []SearchKind {
147 return original.PossibleSearchKindValues()
148 }
149 func PossibleTypeBasicErrorValues() []TypeBasicError {
150 return original.PossibleTypeBasicErrorValues()
151 }
152 func PossibleTypeBasicQueryContextValues() []TypeBasicQueryContext {
153 return original.PossibleTypeBasicQueryContextValues()
154 }
155 func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase {
156 return original.PossibleTypeBasicResponseBaseValues()
157 }
158 func PossibleTypeValues() []Type {
159 return original.PossibleTypeValues()
160 }
161 func UserAgent() string {
162 return original.UserAgent() + " profiles/preview"
163 }
164 func Version() string {
165 return original.Version()
166 }
167
View as plain text