1// +build go1.9 2 3// Copyright 2020 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 imagesearch 21 22import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/imagesearch" 23 24const ( 25 DefaultEndpoint = original.DefaultEndpoint 26) 27 28type Currency = original.Currency 29 30const ( 31 AED Currency = original.AED 32 AFN Currency = original.AFN 33 ALL Currency = original.ALL 34 AMD Currency = original.AMD 35 ANG Currency = original.ANG 36 AOA Currency = original.AOA 37 ARS Currency = original.ARS 38 AUD Currency = original.AUD 39 AWG Currency = original.AWG 40 AZN Currency = original.AZN 41 BAM Currency = original.BAM 42 BBD Currency = original.BBD 43 BDT Currency = original.BDT 44 BGN Currency = original.BGN 45 BHD Currency = original.BHD 46 BIF Currency = original.BIF 47 BMD Currency = original.BMD 48 BND Currency = original.BND 49 BOB Currency = original.BOB 50 BOV Currency = original.BOV 51 BRL Currency = original.BRL 52 BSD Currency = original.BSD 53 BTN Currency = original.BTN 54 BWP Currency = original.BWP 55 BYR Currency = original.BYR 56 BZD Currency = original.BZD 57 CAD Currency = original.CAD 58 CDF Currency = original.CDF 59 CHE Currency = original.CHE 60 CHF Currency = original.CHF 61 CHW Currency = original.CHW 62 CLF Currency = original.CLF 63 CLP Currency = original.CLP 64 CNY Currency = original.CNY 65 COP Currency = original.COP 66 COU Currency = original.COU 67 CRC Currency = original.CRC 68 CUC Currency = original.CUC 69 CUP Currency = original.CUP 70 CVE Currency = original.CVE 71 CZK Currency = original.CZK 72 DJF Currency = original.DJF 73 DKK Currency = original.DKK 74 DOP Currency = original.DOP 75 DZD Currency = original.DZD 76 EGP Currency = original.EGP 77 ERN Currency = original.ERN 78 ETB Currency = original.ETB 79 EUR Currency = original.EUR 80 FJD Currency = original.FJD 81 FKP Currency = original.FKP 82 GBP Currency = original.GBP 83 GEL Currency = original.GEL 84 GHS Currency = original.GHS 85 GIP Currency = original.GIP 86 GMD Currency = original.GMD 87 GNF Currency = original.GNF 88 GTQ Currency = original.GTQ 89 GYD Currency = original.GYD 90 HKD Currency = original.HKD 91 HNL Currency = original.HNL 92 HRK Currency = original.HRK 93 HTG Currency = original.HTG 94 HUF Currency = original.HUF 95 IDR Currency = original.IDR 96 ILS Currency = original.ILS 97 INR Currency = original.INR 98 IQD Currency = original.IQD 99 IRR Currency = original.IRR 100 ISK Currency = original.ISK 101 JMD Currency = original.JMD 102 JOD Currency = original.JOD 103 JPY Currency = original.JPY 104 KES Currency = original.KES 105 KGS Currency = original.KGS 106 KHR Currency = original.KHR 107 KMF Currency = original.KMF 108 KPW Currency = original.KPW 109 KRW Currency = original.KRW 110 KWD Currency = original.KWD 111 KYD Currency = original.KYD 112 KZT Currency = original.KZT 113 LAK Currency = original.LAK 114 LBP Currency = original.LBP 115 LKR Currency = original.LKR 116 LRD Currency = original.LRD 117 LSL Currency = original.LSL 118 LYD Currency = original.LYD 119 MAD Currency = original.MAD 120 MDL Currency = original.MDL 121 MGA Currency = original.MGA 122 MKD Currency = original.MKD 123 MMK Currency = original.MMK 124 MNT Currency = original.MNT 125 MOP Currency = original.MOP 126 MRO Currency = original.MRO 127 MUR Currency = original.MUR 128 MVR Currency = original.MVR 129 MWK Currency = original.MWK 130 MXN Currency = original.MXN 131 MXV Currency = original.MXV 132 MYR Currency = original.MYR 133 MZN Currency = original.MZN 134 NAD Currency = original.NAD 135 NGN Currency = original.NGN 136 NIO Currency = original.NIO 137 NOK Currency = original.NOK 138 NPR Currency = original.NPR 139 NZD Currency = original.NZD 140 OMR Currency = original.OMR 141 PAB Currency = original.PAB 142 PEN Currency = original.PEN 143 PGK Currency = original.PGK 144 PHP Currency = original.PHP 145 PKR Currency = original.PKR 146 PLN Currency = original.PLN 147 PYG Currency = original.PYG 148 QAR Currency = original.QAR 149 RON Currency = original.RON 150 RSD Currency = original.RSD 151 RUB Currency = original.RUB 152 RWF Currency = original.RWF 153 SAR Currency = original.SAR 154 SBD Currency = original.SBD 155 SCR Currency = original.SCR 156 SDG Currency = original.SDG 157 SEK Currency = original.SEK 158 SGD Currency = original.SGD 159 SHP Currency = original.SHP 160 SLL Currency = original.SLL 161 SOS Currency = original.SOS 162 SRD Currency = original.SRD 163 SSP Currency = original.SSP 164 STD Currency = original.STD 165 SYP Currency = original.SYP 166 SZL Currency = original.SZL 167 THB Currency = original.THB 168 TJS Currency = original.TJS 169 TMT Currency = original.TMT 170 TND Currency = original.TND 171 TOP Currency = original.TOP 172 TRY Currency = original.TRY 173 TTD Currency = original.TTD 174 TWD Currency = original.TWD 175 TZS Currency = original.TZS 176 UAH Currency = original.UAH 177 UGX Currency = original.UGX 178 USD Currency = original.USD 179 UYU Currency = original.UYU 180 UZS Currency = original.UZS 181 VEF Currency = original.VEF 182 VND Currency = original.VND 183 VUV Currency = original.VUV 184 WST Currency = original.WST 185 XAF Currency = original.XAF 186 XCD Currency = original.XCD 187 XOF Currency = original.XOF 188 XPF Currency = original.XPF 189 YER Currency = original.YER 190 ZAR Currency = original.ZAR 191 ZMW Currency = original.ZMW 192) 193 194type ErrorCode = original.ErrorCode 195 196const ( 197 InsufficientAuthorization ErrorCode = original.InsufficientAuthorization 198 InvalidAuthorization ErrorCode = original.InvalidAuthorization 199 InvalidRequest ErrorCode = original.InvalidRequest 200 None ErrorCode = original.None 201 RateLimitExceeded ErrorCode = original.RateLimitExceeded 202 ServerError ErrorCode = original.ServerError 203) 204 205type ErrorSubCode = original.ErrorSubCode 206 207const ( 208 AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled 209 AuthorizationExpired ErrorSubCode = original.AuthorizationExpired 210 AuthorizationMissing ErrorSubCode = original.AuthorizationMissing 211 AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy 212 Blocked ErrorSubCode = original.Blocked 213 HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed 214 NotImplemented ErrorSubCode = original.NotImplemented 215 ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue 216 ParameterMissing ErrorSubCode = original.ParameterMissing 217 ResourceError ErrorSubCode = original.ResourceError 218 UnexpectedError ErrorSubCode = original.UnexpectedError 219) 220 221type Freshness = original.Freshness 222 223const ( 224 Day Freshness = original.Day 225 Month Freshness = original.Month 226 Week Freshness = original.Week 227) 228 229type ImageAspect = original.ImageAspect 230 231const ( 232 All ImageAspect = original.All 233 Square ImageAspect = original.Square 234 Tall ImageAspect = original.Tall 235 Wide ImageAspect = original.Wide 236) 237 238type ImageColor = original.ImageColor 239 240const ( 241 Black ImageColor = original.Black 242 Blue ImageColor = original.Blue 243 Brown ImageColor = original.Brown 244 ColorOnly ImageColor = original.ColorOnly 245 Gray ImageColor = original.Gray 246 Green ImageColor = original.Green 247 Monochrome ImageColor = original.Monochrome 248 Orange ImageColor = original.Orange 249 Pink ImageColor = original.Pink 250 Purple ImageColor = original.Purple 251 Red ImageColor = original.Red 252 Teal ImageColor = original.Teal 253 White ImageColor = original.White 254 Yellow ImageColor = original.Yellow 255) 256 257type ImageContent = original.ImageContent 258 259const ( 260 Face ImageContent = original.Face 261 Portrait ImageContent = original.Portrait 262) 263 264type ImageCropType = original.ImageCropType 265 266const ( 267 Rectangular ImageCropType = original.Rectangular 268) 269 270type ImageInsightModule = original.ImageInsightModule 271 272const ( 273 ImageInsightModuleAll ImageInsightModule = original.ImageInsightModuleAll 274 ImageInsightModuleBRQ ImageInsightModule = original.ImageInsightModuleBRQ 275 ImageInsightModuleCaption ImageInsightModule = original.ImageInsightModuleCaption 276 ImageInsightModuleCollections ImageInsightModule = original.ImageInsightModuleCollections 277 ImageInsightModulePagesIncluding ImageInsightModule = original.ImageInsightModulePagesIncluding 278 ImageInsightModuleRecipes ImageInsightModule = original.ImageInsightModuleRecipes 279 ImageInsightModuleRecognizedEntities ImageInsightModule = original.ImageInsightModuleRecognizedEntities 280 ImageInsightModuleRelatedSearches ImageInsightModule = original.ImageInsightModuleRelatedSearches 281 ImageInsightModuleShoppingSources ImageInsightModule = original.ImageInsightModuleShoppingSources 282 ImageInsightModuleSimilarImages ImageInsightModule = original.ImageInsightModuleSimilarImages 283 ImageInsightModuleSimilarProducts ImageInsightModule = original.ImageInsightModuleSimilarProducts 284 ImageInsightModuleTags ImageInsightModule = original.ImageInsightModuleTags 285) 286 287type ImageLicense = original.ImageLicense 288 289const ( 290 ImageLicenseAll ImageLicense = original.ImageLicenseAll 291 ImageLicenseAny ImageLicense = original.ImageLicenseAny 292 ImageLicenseModify ImageLicense = original.ImageLicenseModify 293 ImageLicenseModifyCommercially ImageLicense = original.ImageLicenseModifyCommercially 294 ImageLicensePublic ImageLicense = original.ImageLicensePublic 295 ImageLicenseShare ImageLicense = original.ImageLicenseShare 296 ImageLicenseShareCommercially ImageLicense = original.ImageLicenseShareCommercially 297) 298 299type ImageSize = original.ImageSize 300 301const ( 302 ImageSizeAll ImageSize = original.ImageSizeAll 303 ImageSizeLarge ImageSize = original.ImageSizeLarge 304 ImageSizeMedium ImageSize = original.ImageSizeMedium 305 ImageSizeSmall ImageSize = original.ImageSizeSmall 306 ImageSizeWallpaper ImageSize = original.ImageSizeWallpaper 307) 308 309type ImageType = original.ImageType 310 311const ( 312 AnimatedGif ImageType = original.AnimatedGif 313 Clipart ImageType = original.Clipart 314 Line ImageType = original.Line 315 Photo ImageType = original.Photo 316 Shopping ImageType = original.Shopping 317 Transparent ImageType = original.Transparent 318) 319 320type ItemAvailability = original.ItemAvailability 321 322const ( 323 Discontinued ItemAvailability = original.Discontinued 324 InStock ItemAvailability = original.InStock 325 InStoreOnly ItemAvailability = original.InStoreOnly 326 LimitedAvailability ItemAvailability = original.LimitedAvailability 327 OnlineOnly ItemAvailability = original.OnlineOnly 328 OutOfStock ItemAvailability = original.OutOfStock 329 PreOrder ItemAvailability = original.PreOrder 330 SoldOut ItemAvailability = original.SoldOut 331) 332 333type SafeSearch = original.SafeSearch 334 335const ( 336 Moderate SafeSearch = original.Moderate 337 Off SafeSearch = original.Off 338 Strict SafeSearch = original.Strict 339) 340 341type Type = original.Type 342 343const ( 344 TypeAggregateRating Type = original.TypeAggregateRating 345 TypePropertiesItem Type = original.TypePropertiesItem 346 TypeRating Type = original.TypeRating 347) 348 349type TypeBasicResponseBase = original.TypeBasicResponseBase 350 351const ( 352 TypeAggregateOffer TypeBasicResponseBase = original.TypeAggregateOffer 353 TypeAnswer TypeBasicResponseBase = original.TypeAnswer 354 TypeCollectionPage TypeBasicResponseBase = original.TypeCollectionPage 355 TypeCreativeWork TypeBasicResponseBase = original.TypeCreativeWork 356 TypeErrorResponse TypeBasicResponseBase = original.TypeErrorResponse 357 TypeIdentifiable TypeBasicResponseBase = original.TypeIdentifiable 358 TypeImageGallery TypeBasicResponseBase = original.TypeImageGallery 359 TypeImageInsights TypeBasicResponseBase = original.TypeImageInsights 360 TypeImageObject TypeBasicResponseBase = original.TypeImageObject 361 TypeImages TypeBasicResponseBase = original.TypeImages 362 TypeIntangible TypeBasicResponseBase = original.TypeIntangible 363 TypeMediaObject TypeBasicResponseBase = original.TypeMediaObject 364 TypeNormalizedRectangle TypeBasicResponseBase = original.TypeNormalizedRectangle 365 TypeOffer TypeBasicResponseBase = original.TypeOffer 366 TypeOrganization TypeBasicResponseBase = original.TypeOrganization 367 TypePerson TypeBasicResponseBase = original.TypePerson 368 TypeRecipe TypeBasicResponseBase = original.TypeRecipe 369 TypeRecognizedEntity TypeBasicResponseBase = original.TypeRecognizedEntity 370 TypeRecognizedEntityRegion TypeBasicResponseBase = original.TypeRecognizedEntityRegion 371 TypeResponse TypeBasicResponseBase = original.TypeResponse 372 TypeResponseBase TypeBasicResponseBase = original.TypeResponseBase 373 TypeSearchResultsAnswer TypeBasicResponseBase = original.TypeSearchResultsAnswer 374 TypeStructuredValue TypeBasicResponseBase = original.TypeStructuredValue 375 TypeThing TypeBasicResponseBase = original.TypeThing 376 TypeTrendingImages TypeBasicResponseBase = original.TypeTrendingImages 377 TypeWebPage TypeBasicResponseBase = original.TypeWebPage 378) 379 380type AggregateOffer = original.AggregateOffer 381type AggregateRating = original.AggregateRating 382type Answer = original.Answer 383type BaseClient = original.BaseClient 384type BasicAnswer = original.BasicAnswer 385type BasicCollectionPage = original.BasicCollectionPage 386type BasicCreativeWork = original.BasicCreativeWork 387type BasicIdentifiable = original.BasicIdentifiable 388type BasicIntangible = original.BasicIntangible 389type BasicMediaObject = original.BasicMediaObject 390type BasicOffer = original.BasicOffer 391type BasicPropertiesItem = original.BasicPropertiesItem 392type BasicRating = original.BasicRating 393type BasicResponse = original.BasicResponse 394type BasicResponseBase = original.BasicResponseBase 395type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer 396type BasicStructuredValue = original.BasicStructuredValue 397type BasicThing = original.BasicThing 398type BasicWebPage = original.BasicWebPage 399type CollectionPage = original.CollectionPage 400type CreativeWork = original.CreativeWork 401type Error = original.Error 402type ErrorResponse = original.ErrorResponse 403type Identifiable = original.Identifiable 404type ImageGallery = original.ImageGallery 405type ImageInsights = original.ImageInsights 406type ImageInsightsImageCaption = original.ImageInsightsImageCaption 407type ImageObject = original.ImageObject 408type ImageTagsModule = original.ImageTagsModule 409type Images = original.Images 410type ImagesClient = original.ImagesClient 411type ImagesImageMetadata = original.ImagesImageMetadata 412type ImagesModule = original.ImagesModule 413type InsightsTag = original.InsightsTag 414type Intangible = original.Intangible 415type MediaObject = original.MediaObject 416type NormalizedRectangle = original.NormalizedRectangle 417type Offer = original.Offer 418type Organization = original.Organization 419type Person = original.Person 420type PivotSuggestions = original.PivotSuggestions 421type PropertiesItem = original.PropertiesItem 422type Query = original.Query 423type Rating = original.Rating 424type Recipe = original.Recipe 425type RecipesModule = original.RecipesModule 426type RecognizedEntitiesModule = original.RecognizedEntitiesModule 427type RecognizedEntity = original.RecognizedEntity 428type RecognizedEntityGroup = original.RecognizedEntityGroup 429type RecognizedEntityRegion = original.RecognizedEntityRegion 430type RelatedCollectionsModule = original.RelatedCollectionsModule 431type RelatedSearchesModule = original.RelatedSearchesModule 432type Response = original.Response 433type ResponseBase = original.ResponseBase 434type SearchResultsAnswer = original.SearchResultsAnswer 435type StructuredValue = original.StructuredValue 436type Thing = original.Thing 437type TrendingImages = original.TrendingImages 438type TrendingImagesCategory = original.TrendingImagesCategory 439type TrendingImagesTile = original.TrendingImagesTile 440type WebPage = original.WebPage 441 442func New() BaseClient { 443 return original.New() 444} 445func NewImagesClient() ImagesClient { 446 return original.NewImagesClient() 447} 448func NewWithoutDefaults(endpoint string) BaseClient { 449 return original.NewWithoutDefaults(endpoint) 450} 451func PossibleCurrencyValues() []Currency { 452 return original.PossibleCurrencyValues() 453} 454func PossibleErrorCodeValues() []ErrorCode { 455 return original.PossibleErrorCodeValues() 456} 457func PossibleErrorSubCodeValues() []ErrorSubCode { 458 return original.PossibleErrorSubCodeValues() 459} 460func PossibleFreshnessValues() []Freshness { 461 return original.PossibleFreshnessValues() 462} 463func PossibleImageAspectValues() []ImageAspect { 464 return original.PossibleImageAspectValues() 465} 466func PossibleImageColorValues() []ImageColor { 467 return original.PossibleImageColorValues() 468} 469func PossibleImageContentValues() []ImageContent { 470 return original.PossibleImageContentValues() 471} 472func PossibleImageCropTypeValues() []ImageCropType { 473 return original.PossibleImageCropTypeValues() 474} 475func PossibleImageInsightModuleValues() []ImageInsightModule { 476 return original.PossibleImageInsightModuleValues() 477} 478func PossibleImageLicenseValues() []ImageLicense { 479 return original.PossibleImageLicenseValues() 480} 481func PossibleImageSizeValues() []ImageSize { 482 return original.PossibleImageSizeValues() 483} 484func PossibleImageTypeValues() []ImageType { 485 return original.PossibleImageTypeValues() 486} 487func PossibleItemAvailabilityValues() []ItemAvailability { 488 return original.PossibleItemAvailabilityValues() 489} 490func PossibleSafeSearchValues() []SafeSearch { 491 return original.PossibleSafeSearchValues() 492} 493func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase { 494 return original.PossibleTypeBasicResponseBaseValues() 495} 496func PossibleTypeValues() []Type { 497 return original.PossibleTypeValues() 498} 499func UserAgent() string { 500 return original.UserAgent() + " profiles/latest" 501} 502func Version() string { 503 return original.Version() 504} 505