1 package imagesearch
2
3
4
5
6
7
8
9
10 type Currency string
11
12 const (
13
14 AED Currency = "AED"
15
16 AFN Currency = "AFN"
17
18 ALL Currency = "ALL"
19
20 AMD Currency = "AMD"
21
22 ANG Currency = "ANG"
23
24 AOA Currency = "AOA"
25
26 ARS Currency = "ARS"
27
28 AUD Currency = "AUD"
29
30 AWG Currency = "AWG"
31
32 AZN Currency = "AZN"
33
34 BAM Currency = "BAM"
35
36 BBD Currency = "BBD"
37
38 BDT Currency = "BDT"
39
40 BGN Currency = "BGN"
41
42 BHD Currency = "BHD"
43
44 BIF Currency = "BIF"
45
46 BMD Currency = "BMD"
47
48 BND Currency = "BND"
49
50 BOB Currency = "BOB"
51
52 BOV Currency = "BOV"
53
54 BRL Currency = "BRL"
55
56 BSD Currency = "BSD"
57
58 BTN Currency = "BTN"
59
60 BWP Currency = "BWP"
61
62 BYR Currency = "BYR"
63
64 BZD Currency = "BZD"
65
66 CAD Currency = "CAD"
67
68 CDF Currency = "CDF"
69
70 CHE Currency = "CHE"
71
72 CHF Currency = "CHF"
73
74 CHW Currency = "CHW"
75
76 CLF Currency = "CLF"
77
78 CLP Currency = "CLP"
79
80 CNY Currency = "CNY"
81
82 COP Currency = "COP"
83
84 COU Currency = "COU"
85
86 CRC Currency = "CRC"
87
88 CUC Currency = "CUC"
89
90 CUP Currency = "CUP"
91
92 CVE Currency = "CVE"
93
94 CZK Currency = "CZK"
95
96 DJF Currency = "DJF"
97
98 DKK Currency = "DKK"
99
100 DOP Currency = "DOP"
101
102 DZD Currency = "DZD"
103
104 EGP Currency = "EGP"
105
106 ERN Currency = "ERN"
107
108 ETB Currency = "ETB"
109
110 EUR Currency = "EUR"
111
112 FJD Currency = "FJD"
113
114 FKP Currency = "FKP"
115
116 GBP Currency = "GBP"
117
118 GEL Currency = "GEL"
119
120 GHS Currency = "GHS"
121
122 GIP Currency = "GIP"
123
124 GMD Currency = "GMD"
125
126 GNF Currency = "GNF"
127
128 GTQ Currency = "GTQ"
129
130 GYD Currency = "GYD"
131
132 HKD Currency = "HKD"
133
134 HNL Currency = "HNL"
135
136 HRK Currency = "HRK"
137
138 HTG Currency = "HTG"
139
140 HUF Currency = "HUF"
141
142 IDR Currency = "IDR"
143
144 ILS Currency = "ILS"
145
146 INR Currency = "INR"
147
148 IQD Currency = "IQD"
149
150 IRR Currency = "IRR"
151
152 ISK Currency = "ISK"
153
154 JMD Currency = "JMD"
155
156 JOD Currency = "JOD"
157
158 JPY Currency = "JPY"
159
160 KES Currency = "KES"
161
162 KGS Currency = "KGS"
163
164 KHR Currency = "KHR"
165
166 KMF Currency = "KMF"
167
168 KPW Currency = "KPW"
169
170 KRW Currency = "KRW"
171
172 KWD Currency = "KWD"
173
174 KYD Currency = "KYD"
175
176 KZT Currency = "KZT"
177
178 LAK Currency = "LAK"
179
180 LBP Currency = "LBP"
181
182 LKR Currency = "LKR"
183
184 LRD Currency = "LRD"
185
186 LSL Currency = "LSL"
187
188 LYD Currency = "LYD"
189
190 MAD Currency = "MAD"
191
192 MDL Currency = "MDL"
193
194 MGA Currency = "MGA"
195
196 MKD Currency = "MKD"
197
198 MMK Currency = "MMK"
199
200 MNT Currency = "MNT"
201
202 MOP Currency = "MOP"
203
204 MRO Currency = "MRO"
205
206 MUR Currency = "MUR"
207
208 MVR Currency = "MVR"
209
210 MWK Currency = "MWK"
211
212 MXN Currency = "MXN"
213
214 MXV Currency = "MXV"
215
216 MYR Currency = "MYR"
217
218 MZN Currency = "MZN"
219
220 NAD Currency = "NAD"
221
222 NGN Currency = "NGN"
223
224 NIO Currency = "NIO"
225
226 NOK Currency = "NOK"
227
228 NPR Currency = "NPR"
229
230 NZD Currency = "NZD"
231
232 OMR Currency = "OMR"
233
234 PAB Currency = "PAB"
235
236 PEN Currency = "PEN"
237
238 PGK Currency = "PGK"
239
240 PHP Currency = "PHP"
241
242 PKR Currency = "PKR"
243
244 PLN Currency = "PLN"
245
246 PYG Currency = "PYG"
247
248 QAR Currency = "QAR"
249
250 RON Currency = "RON"
251
252 RSD Currency = "RSD"
253
254 RUB Currency = "RUB"
255
256 RWF Currency = "RWF"
257
258 SAR Currency = "SAR"
259
260 SBD Currency = "SBD"
261
262 SCR Currency = "SCR"
263
264 SDG Currency = "SDG"
265
266 SEK Currency = "SEK"
267
268 SGD Currency = "SGD"
269
270 SHP Currency = "SHP"
271
272 SLL Currency = "SLL"
273
274 SOS Currency = "SOS"
275
276 SRD Currency = "SRD"
277
278 SSP Currency = "SSP"
279
280 STD Currency = "STD"
281
282 SYP Currency = "SYP"
283
284 SZL Currency = "SZL"
285
286 THB Currency = "THB"
287
288 TJS Currency = "TJS"
289
290 TMT Currency = "TMT"
291
292 TND Currency = "TND"
293
294 TOP Currency = "TOP"
295
296 TRY Currency = "TRY"
297
298 TTD Currency = "TTD"
299
300 TWD Currency = "TWD"
301
302 TZS Currency = "TZS"
303
304 UAH Currency = "UAH"
305
306 UGX Currency = "UGX"
307
308 USD Currency = "USD"
309
310 UYU Currency = "UYU"
311
312 UZS Currency = "UZS"
313
314 VEF Currency = "VEF"
315
316 VND Currency = "VND"
317
318 VUV Currency = "VUV"
319
320 WST Currency = "WST"
321
322 XAF Currency = "XAF"
323
324 XCD Currency = "XCD"
325
326 XOF Currency = "XOF"
327
328 XPF Currency = "XPF"
329
330 YER Currency = "YER"
331
332 ZAR Currency = "ZAR"
333
334 ZMW Currency = "ZMW"
335 )
336
337
338 func PossibleCurrencyValues() []Currency {
339 return []Currency{AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYR, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRO, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STD, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VEF, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW}
340 }
341
342
343 type ErrorCode string
344
345 const (
346
347 InsufficientAuthorization ErrorCode = "InsufficientAuthorization"
348
349 InvalidAuthorization ErrorCode = "InvalidAuthorization"
350
351 InvalidRequest ErrorCode = "InvalidRequest"
352
353 None ErrorCode = "None"
354
355 RateLimitExceeded ErrorCode = "RateLimitExceeded"
356
357 ServerError ErrorCode = "ServerError"
358 )
359
360
361 func PossibleErrorCodeValues() []ErrorCode {
362 return []ErrorCode{InsufficientAuthorization, InvalidAuthorization, InvalidRequest, None, RateLimitExceeded, ServerError}
363 }
364
365
366 type ErrorSubCode string
367
368 const (
369
370 AuthorizationDisabled ErrorSubCode = "AuthorizationDisabled"
371
372 AuthorizationExpired ErrorSubCode = "AuthorizationExpired"
373
374 AuthorizationMissing ErrorSubCode = "AuthorizationMissing"
375
376 AuthorizationRedundancy ErrorSubCode = "AuthorizationRedundancy"
377
378 Blocked ErrorSubCode = "Blocked"
379
380 HTTPNotAllowed ErrorSubCode = "HttpNotAllowed"
381
382 NotImplemented ErrorSubCode = "NotImplemented"
383
384 ParameterInvalidValue ErrorSubCode = "ParameterInvalidValue"
385
386 ParameterMissing ErrorSubCode = "ParameterMissing"
387
388 ResourceError ErrorSubCode = "ResourceError"
389
390 UnexpectedError ErrorSubCode = "UnexpectedError"
391 )
392
393
394 func PossibleErrorSubCodeValues() []ErrorSubCode {
395 return []ErrorSubCode{AuthorizationDisabled, AuthorizationExpired, AuthorizationMissing, AuthorizationRedundancy, Blocked, HTTPNotAllowed, NotImplemented, ParameterInvalidValue, ParameterMissing, ResourceError, UnexpectedError}
396 }
397
398
399 type Freshness string
400
401 const (
402
403 Day Freshness = "Day"
404
405 Month Freshness = "Month"
406
407 Week Freshness = "Week"
408 )
409
410
411 func PossibleFreshnessValues() []Freshness {
412 return []Freshness{Day, Month, Week}
413 }
414
415
416 type ImageAspect string
417
418 const (
419
420 All ImageAspect = "All"
421
422 Square ImageAspect = "Square"
423
424 Tall ImageAspect = "Tall"
425
426 Wide ImageAspect = "Wide"
427 )
428
429
430 func PossibleImageAspectValues() []ImageAspect {
431 return []ImageAspect{All, Square, Tall, Wide}
432 }
433
434
435 type ImageColor string
436
437 const (
438
439 Black ImageColor = "Black"
440
441 Blue ImageColor = "Blue"
442
443 Brown ImageColor = "Brown"
444
445 ColorOnly ImageColor = "ColorOnly"
446
447 Gray ImageColor = "Gray"
448
449 Green ImageColor = "Green"
450
451 Monochrome ImageColor = "Monochrome"
452
453 Orange ImageColor = "Orange"
454
455 Pink ImageColor = "Pink"
456
457 Purple ImageColor = "Purple"
458
459 Red ImageColor = "Red"
460
461 Teal ImageColor = "Teal"
462
463 White ImageColor = "White"
464
465 Yellow ImageColor = "Yellow"
466 )
467
468
469 func PossibleImageColorValues() []ImageColor {
470 return []ImageColor{Black, Blue, Brown, ColorOnly, Gray, Green, Monochrome, Orange, Pink, Purple, Red, Teal, White, Yellow}
471 }
472
473
474 type ImageContent string
475
476 const (
477
478 Face ImageContent = "Face"
479
480 Portrait ImageContent = "Portrait"
481 )
482
483
484 func PossibleImageContentValues() []ImageContent {
485 return []ImageContent{Face, Portrait}
486 }
487
488
489 type ImageCropType string
490
491 const (
492
493 Rectangular ImageCropType = "Rectangular"
494 )
495
496
497 func PossibleImageCropTypeValues() []ImageCropType {
498 return []ImageCropType{Rectangular}
499 }
500
501
502 type ImageInsightModule string
503
504 const (
505
506 ImageInsightModuleAll ImageInsightModule = "All"
507
508 ImageInsightModuleBRQ ImageInsightModule = "BRQ"
509
510 ImageInsightModuleCaption ImageInsightModule = "Caption"
511
512 ImageInsightModuleCollections ImageInsightModule = "Collections"
513
514 ImageInsightModulePagesIncluding ImageInsightModule = "PagesIncluding"
515
516 ImageInsightModuleRecipes ImageInsightModule = "Recipes"
517
518 ImageInsightModuleRecognizedEntities ImageInsightModule = "RecognizedEntities"
519
520 ImageInsightModuleRelatedSearches ImageInsightModule = "RelatedSearches"
521
522 ImageInsightModuleShoppingSources ImageInsightModule = "ShoppingSources"
523
524 ImageInsightModuleSimilarImages ImageInsightModule = "SimilarImages"
525
526 ImageInsightModuleSimilarProducts ImageInsightModule = "SimilarProducts"
527
528 ImageInsightModuleTags ImageInsightModule = "Tags"
529 )
530
531
532 func PossibleImageInsightModuleValues() []ImageInsightModule {
533 return []ImageInsightModule{ImageInsightModuleAll, ImageInsightModuleBRQ, ImageInsightModuleCaption, ImageInsightModuleCollections, ImageInsightModulePagesIncluding, ImageInsightModuleRecipes, ImageInsightModuleRecognizedEntities, ImageInsightModuleRelatedSearches, ImageInsightModuleShoppingSources, ImageInsightModuleSimilarImages, ImageInsightModuleSimilarProducts, ImageInsightModuleTags}
534 }
535
536
537 type ImageLicense string
538
539 const (
540
541 ImageLicenseAll ImageLicense = "All"
542
543 ImageLicenseAny ImageLicense = "Any"
544
545 ImageLicenseModify ImageLicense = "Modify"
546
547 ImageLicenseModifyCommercially ImageLicense = "ModifyCommercially"
548
549 ImageLicensePublic ImageLicense = "Public"
550
551 ImageLicenseShare ImageLicense = "Share"
552
553 ImageLicenseShareCommercially ImageLicense = "ShareCommercially"
554 )
555
556
557 func PossibleImageLicenseValues() []ImageLicense {
558 return []ImageLicense{ImageLicenseAll, ImageLicenseAny, ImageLicenseModify, ImageLicenseModifyCommercially, ImageLicensePublic, ImageLicenseShare, ImageLicenseShareCommercially}
559 }
560
561
562 type ImageSize string
563
564 const (
565
566 ImageSizeAll ImageSize = "All"
567
568 ImageSizeLarge ImageSize = "Large"
569
570 ImageSizeMedium ImageSize = "Medium"
571
572 ImageSizeSmall ImageSize = "Small"
573
574 ImageSizeWallpaper ImageSize = "Wallpaper"
575 )
576
577
578 func PossibleImageSizeValues() []ImageSize {
579 return []ImageSize{ImageSizeAll, ImageSizeLarge, ImageSizeMedium, ImageSizeSmall, ImageSizeWallpaper}
580 }
581
582
583 type ImageType string
584
585 const (
586
587 AnimatedGif ImageType = "AnimatedGif"
588
589 Clipart ImageType = "Clipart"
590
591 Line ImageType = "Line"
592
593 Photo ImageType = "Photo"
594
595 Shopping ImageType = "Shopping"
596
597 Transparent ImageType = "Transparent"
598 )
599
600
601 func PossibleImageTypeValues() []ImageType {
602 return []ImageType{AnimatedGif, Clipart, Line, Photo, Shopping, Transparent}
603 }
604
605
606 type ItemAvailability string
607
608 const (
609
610 Discontinued ItemAvailability = "Discontinued"
611
612 InStock ItemAvailability = "InStock"
613
614 InStoreOnly ItemAvailability = "InStoreOnly"
615
616 LimitedAvailability ItemAvailability = "LimitedAvailability"
617
618 OnlineOnly ItemAvailability = "OnlineOnly"
619
620 OutOfStock ItemAvailability = "OutOfStock"
621
622 PreOrder ItemAvailability = "PreOrder"
623
624 SoldOut ItemAvailability = "SoldOut"
625 )
626
627
628 func PossibleItemAvailabilityValues() []ItemAvailability {
629 return []ItemAvailability{Discontinued, InStock, InStoreOnly, LimitedAvailability, OnlineOnly, OutOfStock, PreOrder, SoldOut}
630 }
631
632
633 type SafeSearch string
634
635 const (
636
637 Moderate SafeSearch = "Moderate"
638
639 Off SafeSearch = "Off"
640
641 Strict SafeSearch = "Strict"
642 )
643
644
645 func PossibleSafeSearchValues() []SafeSearch {
646 return []SafeSearch{Moderate, Off, Strict}
647 }
648
649
650 type Type string
651
652 const (
653
654 TypeAggregateRating Type = "AggregateRating"
655
656 TypePropertiesItem Type = "Properties/Item"
657
658 TypeRating Type = "Rating"
659 )
660
661
662 func PossibleTypeValues() []Type {
663 return []Type{TypeAggregateRating, TypePropertiesItem, TypeRating}
664 }
665
666
667 type TypeBasicResponseBase string
668
669 const (
670
671 TypeAggregateOffer TypeBasicResponseBase = "AggregateOffer"
672
673 TypeAnswer TypeBasicResponseBase = "Answer"
674
675 TypeCollectionPage TypeBasicResponseBase = "CollectionPage"
676
677 TypeCreativeWork TypeBasicResponseBase = "CreativeWork"
678
679 TypeErrorResponse TypeBasicResponseBase = "ErrorResponse"
680
681 TypeIdentifiable TypeBasicResponseBase = "Identifiable"
682
683 TypeImageGallery TypeBasicResponseBase = "ImageGallery"
684
685 TypeImageInsights TypeBasicResponseBase = "ImageInsights"
686
687 TypeImageObject TypeBasicResponseBase = "ImageObject"
688
689 TypeImages TypeBasicResponseBase = "Images"
690
691 TypeIntangible TypeBasicResponseBase = "Intangible"
692
693 TypeMediaObject TypeBasicResponseBase = "MediaObject"
694
695 TypeNormalizedRectangle TypeBasicResponseBase = "NormalizedRectangle"
696
697 TypeOffer TypeBasicResponseBase = "Offer"
698
699 TypeOrganization TypeBasicResponseBase = "Organization"
700
701 TypePerson TypeBasicResponseBase = "Person"
702
703 TypeRecipe TypeBasicResponseBase = "Recipe"
704
705 TypeRecognizedEntity TypeBasicResponseBase = "RecognizedEntity"
706
707 TypeRecognizedEntityRegion TypeBasicResponseBase = "RecognizedEntityRegion"
708
709 TypeResponse TypeBasicResponseBase = "Response"
710
711 TypeResponseBase TypeBasicResponseBase = "ResponseBase"
712
713 TypeSearchResultsAnswer TypeBasicResponseBase = "SearchResultsAnswer"
714
715 TypeStructuredValue TypeBasicResponseBase = "StructuredValue"
716
717 TypeThing TypeBasicResponseBase = "Thing"
718
719 TypeTrendingImages TypeBasicResponseBase = "TrendingImages"
720
721 TypeWebPage TypeBasicResponseBase = "WebPage"
722 )
723
724
725 func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase {
726 return []TypeBasicResponseBase{TypeAggregateOffer, TypeAnswer, TypeCollectionPage, TypeCreativeWork, TypeErrorResponse, TypeIdentifiable, TypeImageGallery, TypeImageInsights, TypeImageObject, TypeImages, TypeIntangible, TypeMediaObject, TypeNormalizedRectangle, TypeOffer, TypeOrganization, TypePerson, TypeRecipe, TypeRecognizedEntity, TypeRecognizedEntityRegion, TypeResponse, TypeResponseBase, TypeSearchResultsAnswer, TypeStructuredValue, TypeThing, TypeTrendingImages, TypeWebPage}
727 }
728
View as plain text