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