1// +build go1.9
2
3// Copyright 2018 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 entitysearch
21
22import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/entitysearch"
23
24const (
25	DefaultBaseURI = original.DefaultBaseURI
26)
27
28type BaseClient = original.BaseClient
29type EntitiesClient = original.EntitiesClient
30type AnswerType = original.AnswerType
31
32const (
33	AnswerTypeEntities AnswerType = original.AnswerTypeEntities
34	AnswerTypePlaces   AnswerType = original.AnswerTypePlaces
35)
36
37type EntityQueryScenario = original.EntityQueryScenario
38
39const (
40	Disambiguation                   EntityQueryScenario = original.Disambiguation
41	DominantEntity                   EntityQueryScenario = original.DominantEntity
42	DominantEntityWithDisambiguation EntityQueryScenario = original.DominantEntityWithDisambiguation
43	List                             EntityQueryScenario = original.List
44	ListWithPivot                    EntityQueryScenario = original.ListWithPivot
45)
46
47type EntityScenario = original.EntityScenario
48
49const (
50	EntityScenarioDisambiguationItem EntityScenario = original.EntityScenarioDisambiguationItem
51	EntityScenarioDominantEntity     EntityScenario = original.EntityScenarioDominantEntity
52	EntityScenarioListItem           EntityScenario = original.EntityScenarioListItem
53)
54
55type EntityType = original.EntityType
56
57const (
58	EntityTypeActor               EntityType = original.EntityTypeActor
59	EntityTypeAnimal              EntityType = original.EntityTypeAnimal
60	EntityTypeArtist              EntityType = original.EntityTypeArtist
61	EntityTypeAttorney            EntityType = original.EntityTypeAttorney
62	EntityTypeAttraction          EntityType = original.EntityTypeAttraction
63	EntityTypeBook                EntityType = original.EntityTypeBook
64	EntityTypeCar                 EntityType = original.EntityTypeCar
65	EntityTypeCity                EntityType = original.EntityTypeCity
66	EntityTypeCollegeOrUniversity EntityType = original.EntityTypeCollegeOrUniversity
67	EntityTypeComposition         EntityType = original.EntityTypeComposition
68	EntityTypeContinent           EntityType = original.EntityTypeContinent
69	EntityTypeCountry             EntityType = original.EntityTypeCountry
70	EntityTypeDrug                EntityType = original.EntityTypeDrug
71	EntityTypeEvent               EntityType = original.EntityTypeEvent
72	EntityTypeFood                EntityType = original.EntityTypeFood
73	EntityTypeGeneric             EntityType = original.EntityTypeGeneric
74	EntityTypeHotel               EntityType = original.EntityTypeHotel
75	EntityTypeHouse               EntityType = original.EntityTypeHouse
76	EntityTypeLocalBusiness       EntityType = original.EntityTypeLocalBusiness
77	EntityTypeLocality            EntityType = original.EntityTypeLocality
78	EntityTypeMedia               EntityType = original.EntityTypeMedia
79	EntityTypeMinorRegion         EntityType = original.EntityTypeMinorRegion
80	EntityTypeMovie               EntityType = original.EntityTypeMovie
81	EntityTypeMusicAlbum          EntityType = original.EntityTypeMusicAlbum
82	EntityTypeMusicGroup          EntityType = original.EntityTypeMusicGroup
83	EntityTypeMusicRecording      EntityType = original.EntityTypeMusicRecording
84	EntityTypeNeighborhood        EntityType = original.EntityTypeNeighborhood
85	EntityTypeOrganization        EntityType = original.EntityTypeOrganization
86	EntityTypeOther               EntityType = original.EntityTypeOther
87	EntityTypePerson              EntityType = original.EntityTypePerson
88	EntityTypePlace               EntityType = original.EntityTypePlace
89	EntityTypePointOfInterest     EntityType = original.EntityTypePointOfInterest
90	EntityTypePostalCode          EntityType = original.EntityTypePostalCode
91	EntityTypeProduct             EntityType = original.EntityTypeProduct
92	EntityTypeRadioStation        EntityType = original.EntityTypeRadioStation
93	EntityTypeRegion              EntityType = original.EntityTypeRegion
94	EntityTypeRestaurant          EntityType = original.EntityTypeRestaurant
95	EntityTypeSchool              EntityType = original.EntityTypeSchool
96	EntityTypeSpeciality          EntityType = original.EntityTypeSpeciality
97	EntityTypeSportsTeam          EntityType = original.EntityTypeSportsTeam
98	EntityTypeState               EntityType = original.EntityTypeState
99	EntityTypeStreetAddress       EntityType = original.EntityTypeStreetAddress
100	EntityTypeSubRegion           EntityType = original.EntityTypeSubRegion
101	EntityTypeTelevisionSeason    EntityType = original.EntityTypeTelevisionSeason
102	EntityTypeTelevisionShow      EntityType = original.EntityTypeTelevisionShow
103	EntityTypeTheaterPlay         EntityType = original.EntityTypeTheaterPlay
104	EntityTypeTouristAttraction   EntityType = original.EntityTypeTouristAttraction
105	EntityTypeTravel              EntityType = original.EntityTypeTravel
106	EntityTypeVideoGame           EntityType = original.EntityTypeVideoGame
107)
108
109type ErrorCode = original.ErrorCode
110
111const (
112	InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
113	InvalidAuthorization      ErrorCode = original.InvalidAuthorization
114	InvalidRequest            ErrorCode = original.InvalidRequest
115	None                      ErrorCode = original.None
116	RateLimitExceeded         ErrorCode = original.RateLimitExceeded
117	ServerError               ErrorCode = original.ServerError
118)
119
120type ErrorSubCode = original.ErrorSubCode
121
122const (
123	AuthorizationDisabled   ErrorSubCode = original.AuthorizationDisabled
124	AuthorizationExpired    ErrorSubCode = original.AuthorizationExpired
125	AuthorizationMissing    ErrorSubCode = original.AuthorizationMissing
126	AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
127	Blocked                 ErrorSubCode = original.Blocked
128	HTTPNotAllowed          ErrorSubCode = original.HTTPNotAllowed
129	NotImplemented          ErrorSubCode = original.NotImplemented
130	ParameterInvalidValue   ErrorSubCode = original.ParameterInvalidValue
131	ParameterMissing        ErrorSubCode = original.ParameterMissing
132	ResourceError           ErrorSubCode = original.ResourceError
133	UnexpectedError         ErrorSubCode = original.UnexpectedError
134)
135
136type ResponseFormat = original.ResponseFormat
137
138const (
139	JSON   ResponseFormat = original.JSON
140	JSONLd ResponseFormat = original.JSONLd
141)
142
143type SafeSearch = original.SafeSearch
144
145const (
146	Moderate SafeSearch = original.Moderate
147	Off      SafeSearch = original.Off
148	Strict   SafeSearch = original.Strict
149)
150
151type Type = original.Type
152
153const (
154	TypeContractualRulesAttribution        Type = original.TypeContractualRulesAttribution
155	TypeContractualRulesContractualRule    Type = original.TypeContractualRulesContractualRule
156	TypeContractualRulesLicenseAttribution Type = original.TypeContractualRulesLicenseAttribution
157	TypeContractualRulesLinkAttribution    Type = original.TypeContractualRulesLinkAttribution
158	TypeContractualRulesMediaAttribution   Type = original.TypeContractualRulesMediaAttribution
159	TypeContractualRulesTextAttribution    Type = original.TypeContractualRulesTextAttribution
160)
161
162type TypeBasicResponseBase = original.TypeBasicResponseBase
163
164const (
165	TypeAirport               TypeBasicResponseBase = original.TypeAirport
166	TypeAnswer                TypeBasicResponseBase = original.TypeAnswer
167	TypeCivicStructure        TypeBasicResponseBase = original.TypeCivicStructure
168	TypeCreativeWork          TypeBasicResponseBase = original.TypeCreativeWork
169	TypeEntertainmentBusiness TypeBasicResponseBase = original.TypeEntertainmentBusiness
170	TypeEntities              TypeBasicResponseBase = original.TypeEntities
171	TypeErrorResponse         TypeBasicResponseBase = original.TypeErrorResponse
172	TypeFoodEstablishment     TypeBasicResponseBase = original.TypeFoodEstablishment
173	TypeHotel                 TypeBasicResponseBase = original.TypeHotel
174	TypeIdentifiable          TypeBasicResponseBase = original.TypeIdentifiable
175	TypeImageObject           TypeBasicResponseBase = original.TypeImageObject
176	TypeIntangible            TypeBasicResponseBase = original.TypeIntangible
177	TypeLicense               TypeBasicResponseBase = original.TypeLicense
178	TypeLocalBusiness         TypeBasicResponseBase = original.TypeLocalBusiness
179	TypeLodgingBusiness       TypeBasicResponseBase = original.TypeLodgingBusiness
180	TypeMediaObject           TypeBasicResponseBase = original.TypeMediaObject
181	TypeMovieTheater          TypeBasicResponseBase = original.TypeMovieTheater
182	TypeOrganization          TypeBasicResponseBase = original.TypeOrganization
183	TypePlace                 TypeBasicResponseBase = original.TypePlace
184	TypePlaces                TypeBasicResponseBase = original.TypePlaces
185	TypePostalAddress         TypeBasicResponseBase = original.TypePostalAddress
186	TypeResponse              TypeBasicResponseBase = original.TypeResponse
187	TypeResponseBase          TypeBasicResponseBase = original.TypeResponseBase
188	TypeRestaurant            TypeBasicResponseBase = original.TypeRestaurant
189	TypeSearchResponse        TypeBasicResponseBase = original.TypeSearchResponse
190	TypeSearchResultsAnswer   TypeBasicResponseBase = original.TypeSearchResultsAnswer
191	TypeStructuredValue       TypeBasicResponseBase = original.TypeStructuredValue
192	TypeThing                 TypeBasicResponseBase = original.TypeThing
193	TypeTouristAttraction     TypeBasicResponseBase = original.TypeTouristAttraction
194)
195
196type Airport = original.Airport
197type BasicAnswer = original.BasicAnswer
198type Answer = original.Answer
199type BasicCivicStructure = original.BasicCivicStructure
200type CivicStructure = original.CivicStructure
201type BasicContractualRulesAttribution = original.BasicContractualRulesAttribution
202type ContractualRulesAttribution = original.ContractualRulesAttribution
203type BasicContractualRulesContractualRule = original.BasicContractualRulesContractualRule
204type ContractualRulesContractualRule = original.ContractualRulesContractualRule
205type ContractualRulesLicenseAttribution = original.ContractualRulesLicenseAttribution
206type ContractualRulesLinkAttribution = original.ContractualRulesLinkAttribution
207type ContractualRulesMediaAttribution = original.ContractualRulesMediaAttribution
208type ContractualRulesTextAttribution = original.ContractualRulesTextAttribution
209type BasicCreativeWork = original.BasicCreativeWork
210type CreativeWork = original.CreativeWork
211type BasicEntertainmentBusiness = original.BasicEntertainmentBusiness
212type EntertainmentBusiness = original.EntertainmentBusiness
213type Entities = original.Entities
214type EntitiesEntityPresentationInfo = original.EntitiesEntityPresentationInfo
215type Error = original.Error
216type ErrorResponse = original.ErrorResponse
217type BasicFoodEstablishment = original.BasicFoodEstablishment
218type FoodEstablishment = original.FoodEstablishment
219type Hotel = original.Hotel
220type BasicIdentifiable = original.BasicIdentifiable
221type Identifiable = original.Identifiable
222type ImageObject = original.ImageObject
223type BasicIntangible = original.BasicIntangible
224type Intangible = original.Intangible
225type License = original.License
226type BasicLocalBusiness = original.BasicLocalBusiness
227type LocalBusiness = original.LocalBusiness
228type BasicLodgingBusiness = original.BasicLodgingBusiness
229type LodgingBusiness = original.LodgingBusiness
230type BasicMediaObject = original.BasicMediaObject
231type MediaObject = original.MediaObject
232type MovieTheater = original.MovieTheater
233type Organization = original.Organization
234type BasicPlace = original.BasicPlace
235type Place = original.Place
236type Places = original.Places
237type PostalAddress = original.PostalAddress
238type QueryContext = original.QueryContext
239type BasicResponse = original.BasicResponse
240type Response = original.Response
241type BasicResponseBase = original.BasicResponseBase
242type ResponseBase = original.ResponseBase
243type Restaurant = original.Restaurant
244type SearchResponse = original.SearchResponse
245type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
246type SearchResultsAnswer = original.SearchResultsAnswer
247type BasicStructuredValue = original.BasicStructuredValue
248type StructuredValue = original.StructuredValue
249type BasicThing = original.BasicThing
250type Thing = original.Thing
251type TouristAttraction = original.TouristAttraction
252
253func New() BaseClient {
254	return original.New()
255}
256func NewWithBaseURI(baseURI string) BaseClient {
257	return original.NewWithBaseURI(baseURI)
258}
259func NewEntitiesClient() EntitiesClient {
260	return original.NewEntitiesClient()
261}
262func NewEntitiesClientWithBaseURI(baseURI string) EntitiesClient {
263	return original.NewEntitiesClientWithBaseURI(baseURI)
264}
265func PossibleAnswerTypeValues() []AnswerType {
266	return original.PossibleAnswerTypeValues()
267}
268func PossibleEntityQueryScenarioValues() []EntityQueryScenario {
269	return original.PossibleEntityQueryScenarioValues()
270}
271func PossibleEntityScenarioValues() []EntityScenario {
272	return original.PossibleEntityScenarioValues()
273}
274func PossibleEntityTypeValues() []EntityType {
275	return original.PossibleEntityTypeValues()
276}
277func PossibleErrorCodeValues() []ErrorCode {
278	return original.PossibleErrorCodeValues()
279}
280func PossibleErrorSubCodeValues() []ErrorSubCode {
281	return original.PossibleErrorSubCodeValues()
282}
283func PossibleResponseFormatValues() []ResponseFormat {
284	return original.PossibleResponseFormatValues()
285}
286func PossibleSafeSearchValues() []SafeSearch {
287	return original.PossibleSafeSearchValues()
288}
289func PossibleTypeValues() []Type {
290	return original.PossibleTypeValues()
291}
292func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase {
293	return original.PossibleTypeBasicResponseBaseValues()
294}
295func UserAgent() string {
296	return original.UserAgent() + " profiles/preview"
297}
298func Version() string {
299	return original.Version()
300}
301