1// +build go1.9
2
3// Copyright 2019 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 localsearch
21
22import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/localsearch"
23
24const (
25	DefaultBaseURI = original.DefaultBaseURI
26)
27
28type EntityScenario = original.EntityScenario
29
30const (
31	DisambiguationItem EntityScenario = original.DisambiguationItem
32	DominantEntity     EntityScenario = original.DominantEntity
33	ListItem           EntityScenario = original.ListItem
34)
35
36type EntityType = original.EntityType
37
38const (
39	EntityTypeHotel         EntityType = original.EntityTypeHotel
40	EntityTypeLocalBusiness EntityType = original.EntityTypeLocalBusiness
41	EntityTypePlace         EntityType = original.EntityTypePlace
42	EntityTypeRestaurant    EntityType = original.EntityTypeRestaurant
43)
44
45type ErrorCode = original.ErrorCode
46
47const (
48	InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
49	InvalidAuthorization      ErrorCode = original.InvalidAuthorization
50	InvalidRequest            ErrorCode = original.InvalidRequest
51	None                      ErrorCode = original.None
52	RateLimitExceeded         ErrorCode = original.RateLimitExceeded
53	ServerError               ErrorCode = original.ServerError
54)
55
56type ErrorSubCode = original.ErrorSubCode
57
58const (
59	AuthorizationDisabled   ErrorSubCode = original.AuthorizationDisabled
60	AuthorizationExpired    ErrorSubCode = original.AuthorizationExpired
61	AuthorizationMissing    ErrorSubCode = original.AuthorizationMissing
62	AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
63	Blocked                 ErrorSubCode = original.Blocked
64	HTTPNotAllowed          ErrorSubCode = original.HTTPNotAllowed
65	NotImplemented          ErrorSubCode = original.NotImplemented
66	ParameterInvalidValue   ErrorSubCode = original.ParameterInvalidValue
67	ParameterMissing        ErrorSubCode = original.ParameterMissing
68	ResourceError           ErrorSubCode = original.ResourceError
69	UnexpectedError         ErrorSubCode = original.UnexpectedError
70)
71
72type ResponseFormat = original.ResponseFormat
73
74const (
75	JSON   ResponseFormat = original.JSON
76	JSONLd ResponseFormat = original.JSONLd
77)
78
79type SafeSearch = original.SafeSearch
80
81const (
82	Moderate SafeSearch = original.Moderate
83	Off      SafeSearch = original.Off
84	Strict   SafeSearch = original.Strict
85)
86
87type Type = original.Type
88
89const (
90	TypeQueryContext Type = original.TypeQueryContext
91)
92
93type TypeBasicEntitiesEntityPresentationInfo = original.TypeBasicEntitiesEntityPresentationInfo
94
95const (
96	TypeEntitiesEntityPresentationInfo TypeBasicEntitiesEntityPresentationInfo = original.TypeEntitiesEntityPresentationInfo
97)
98
99type TypeBasicError = original.TypeBasicError
100
101const (
102	TypeError TypeBasicError = original.TypeError
103)
104
105type TypeBasicGeoCoordinates = original.TypeBasicGeoCoordinates
106
107const (
108	TypeGeoCoordinates TypeBasicGeoCoordinates = original.TypeGeoCoordinates
109)
110
111type TypeBasicResponseBase = original.TypeBasicResponseBase
112
113const (
114	TypeAction              TypeBasicResponseBase = original.TypeAction
115	TypeAnswer              TypeBasicResponseBase = original.TypeAnswer
116	TypeCreativeWork        TypeBasicResponseBase = original.TypeCreativeWork
117	TypeErrorResponse       TypeBasicResponseBase = original.TypeErrorResponse
118	TypeIdentifiable        TypeBasicResponseBase = original.TypeIdentifiable
119	TypeIntangible          TypeBasicResponseBase = original.TypeIntangible
120	TypePlace               TypeBasicResponseBase = original.TypePlace
121	TypePlaces              TypeBasicResponseBase = original.TypePlaces
122	TypePostalAddress       TypeBasicResponseBase = original.TypePostalAddress
123	TypeResponse            TypeBasicResponseBase = original.TypeResponse
124	TypeResponseBase        TypeBasicResponseBase = original.TypeResponseBase
125	TypeSearchAction        TypeBasicResponseBase = original.TypeSearchAction
126	TypeSearchResponse      TypeBasicResponseBase = original.TypeSearchResponse
127	TypeSearchResultsAnswer TypeBasicResponseBase = original.TypeSearchResultsAnswer
128	TypeStructuredValue     TypeBasicResponseBase = original.TypeStructuredValue
129	TypeThing               TypeBasicResponseBase = original.TypeThing
130)
131
132type Action = original.Action
133type Answer = original.Answer
134type BaseClient = original.BaseClient
135type BasicAction = original.BasicAction
136type BasicAnswer = original.BasicAnswer
137type BasicCreativeWork = original.BasicCreativeWork
138type BasicEntitiesEntityPresentationInfo = original.BasicEntitiesEntityPresentationInfo
139type BasicError = original.BasicError
140type BasicGeoCoordinates = original.BasicGeoCoordinates
141type BasicIdentifiable = original.BasicIdentifiable
142type BasicIntangible = original.BasicIntangible
143type BasicQueryContext = original.BasicQueryContext
144type BasicResponse = original.BasicResponse
145type BasicResponseBase = original.BasicResponseBase
146type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
147type BasicStructuredValue = original.BasicStructuredValue
148type BasicThing = original.BasicThing
149type CreativeWork = original.CreativeWork
150type EntitiesEntityPresentationInfo = original.EntitiesEntityPresentationInfo
151type Error = original.Error
152type ErrorResponse = original.ErrorResponse
153type GeoCoordinates = original.GeoCoordinates
154type Identifiable = original.Identifiable
155type Intangible = original.Intangible
156type LocalClient = original.LocalClient
157type Place = original.Place
158type Places = original.Places
159type PostalAddress = original.PostalAddress
160type QueryContext = original.QueryContext
161type Response = original.Response
162type ResponseBase = original.ResponseBase
163type SearchAction = original.SearchAction
164type SearchResponse = original.SearchResponse
165type SearchResultsAnswer = original.SearchResultsAnswer
166type StructuredValue = original.StructuredValue
167type Thing = original.Thing
168
169func New() BaseClient {
170	return original.New()
171}
172func NewLocalClient() LocalClient {
173	return original.NewLocalClient()
174}
175func NewLocalClientWithBaseURI(baseURI string) LocalClient {
176	return original.NewLocalClientWithBaseURI(baseURI)
177}
178func NewWithBaseURI(baseURI string) BaseClient {
179	return original.NewWithBaseURI(baseURI)
180}
181func PossibleEntityScenarioValues() []EntityScenario {
182	return original.PossibleEntityScenarioValues()
183}
184func PossibleEntityTypeValues() []EntityType {
185	return original.PossibleEntityTypeValues()
186}
187func PossibleErrorCodeValues() []ErrorCode {
188	return original.PossibleErrorCodeValues()
189}
190func PossibleErrorSubCodeValues() []ErrorSubCode {
191	return original.PossibleErrorSubCodeValues()
192}
193func PossibleResponseFormatValues() []ResponseFormat {
194	return original.PossibleResponseFormatValues()
195}
196func PossibleSafeSearchValues() []SafeSearch {
197	return original.PossibleSafeSearchValues()
198}
199func PossibleTypeBasicEntitiesEntityPresentationInfoValues() []TypeBasicEntitiesEntityPresentationInfo {
200	return original.PossibleTypeBasicEntitiesEntityPresentationInfoValues()
201}
202func PossibleTypeBasicErrorValues() []TypeBasicError {
203	return original.PossibleTypeBasicErrorValues()
204}
205func PossibleTypeBasicGeoCoordinatesValues() []TypeBasicGeoCoordinates {
206	return original.PossibleTypeBasicGeoCoordinatesValues()
207}
208func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase {
209	return original.PossibleTypeBasicResponseBaseValues()
210}
211func PossibleTypeValues() []Type {
212	return original.PossibleTypeValues()
213}
214func UserAgent() string {
215	return original.UserAgent() + " profiles/preview"
216}
217func Version() string {
218	return original.Version()
219}
220