1package visualsearch
2
3// Copyright (c) Microsoft Corporation. All rights reserved.
4// Licensed under the MIT License. See License.txt in the project root for license information.
5//
6// Code generated by Microsoft (R) AutoRest Code Generator.
7// Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
9// Currency enumerates the values for currency.
10type Currency string
11
12const (
13	// AED ...
14	AED Currency = "AED"
15	// AFN ...
16	AFN Currency = "AFN"
17	// ALL ...
18	ALL Currency = "ALL"
19	// AMD ...
20	AMD Currency = "AMD"
21	// ANG ...
22	ANG Currency = "ANG"
23	// AOA ...
24	AOA Currency = "AOA"
25	// ARS ...
26	ARS Currency = "ARS"
27	// AUD ...
28	AUD Currency = "AUD"
29	// AWG ...
30	AWG Currency = "AWG"
31	// AZN ...
32	AZN Currency = "AZN"
33	// BAM ...
34	BAM Currency = "BAM"
35	// BBD ...
36	BBD Currency = "BBD"
37	// BDT ...
38	BDT Currency = "BDT"
39	// BGN ...
40	BGN Currency = "BGN"
41	// BHD ...
42	BHD Currency = "BHD"
43	// BIF ...
44	BIF Currency = "BIF"
45	// BMD ...
46	BMD Currency = "BMD"
47	// BND ...
48	BND Currency = "BND"
49	// BOB ...
50	BOB Currency = "BOB"
51	// BOV ...
52	BOV Currency = "BOV"
53	// BRL ...
54	BRL Currency = "BRL"
55	// BSD ...
56	BSD Currency = "BSD"
57	// BTN ...
58	BTN Currency = "BTN"
59	// BWP ...
60	BWP Currency = "BWP"
61	// BYR ...
62	BYR Currency = "BYR"
63	// BZD ...
64	BZD Currency = "BZD"
65	// CAD ...
66	CAD Currency = "CAD"
67	// CDF ...
68	CDF Currency = "CDF"
69	// CHE ...
70	CHE Currency = "CHE"
71	// CHF ...
72	CHF Currency = "CHF"
73	// CHW ...
74	CHW Currency = "CHW"
75	// CLF ...
76	CLF Currency = "CLF"
77	// CLP ...
78	CLP Currency = "CLP"
79	// CNY ...
80	CNY Currency = "CNY"
81	// COP ...
82	COP Currency = "COP"
83	// COU ...
84	COU Currency = "COU"
85	// CRC ...
86	CRC Currency = "CRC"
87	// CUC ...
88	CUC Currency = "CUC"
89	// CUP ...
90	CUP Currency = "CUP"
91	// CVE ...
92	CVE Currency = "CVE"
93	// CZK ...
94	CZK Currency = "CZK"
95	// DJF ...
96	DJF Currency = "DJF"
97	// DKK ...
98	DKK Currency = "DKK"
99	// DOP ...
100	DOP Currency = "DOP"
101	// DZD ...
102	DZD Currency = "DZD"
103	// EGP ...
104	EGP Currency = "EGP"
105	// ERN ...
106	ERN Currency = "ERN"
107	// ETB ...
108	ETB Currency = "ETB"
109	// EUR ...
110	EUR Currency = "EUR"
111	// FJD ...
112	FJD Currency = "FJD"
113	// FKP ...
114	FKP Currency = "FKP"
115	// GBP ...
116	GBP Currency = "GBP"
117	// GEL ...
118	GEL Currency = "GEL"
119	// GHS ...
120	GHS Currency = "GHS"
121	// GIP ...
122	GIP Currency = "GIP"
123	// GMD ...
124	GMD Currency = "GMD"
125	// GNF ...
126	GNF Currency = "GNF"
127	// GTQ ...
128	GTQ Currency = "GTQ"
129	// GYD ...
130	GYD Currency = "GYD"
131	// HKD ...
132	HKD Currency = "HKD"
133	// HNL ...
134	HNL Currency = "HNL"
135	// HRK ...
136	HRK Currency = "HRK"
137	// HTG ...
138	HTG Currency = "HTG"
139	// HUF ...
140	HUF Currency = "HUF"
141	// IDR ...
142	IDR Currency = "IDR"
143	// ILS ...
144	ILS Currency = "ILS"
145	// INR ...
146	INR Currency = "INR"
147	// IQD ...
148	IQD Currency = "IQD"
149	// IRR ...
150	IRR Currency = "IRR"
151	// ISK ...
152	ISK Currency = "ISK"
153	// JMD ...
154	JMD Currency = "JMD"
155	// JOD ...
156	JOD Currency = "JOD"
157	// JPY ...
158	JPY Currency = "JPY"
159	// KES ...
160	KES Currency = "KES"
161	// KGS ...
162	KGS Currency = "KGS"
163	// KHR ...
164	KHR Currency = "KHR"
165	// KMF ...
166	KMF Currency = "KMF"
167	// KPW ...
168	KPW Currency = "KPW"
169	// KRW ...
170	KRW Currency = "KRW"
171	// KWD ...
172	KWD Currency = "KWD"
173	// KYD ...
174	KYD Currency = "KYD"
175	// KZT ...
176	KZT Currency = "KZT"
177	// LAK ...
178	LAK Currency = "LAK"
179	// LBP ...
180	LBP Currency = "LBP"
181	// LKR ...
182	LKR Currency = "LKR"
183	// LRD ...
184	LRD Currency = "LRD"
185	// LSL ...
186	LSL Currency = "LSL"
187	// LYD ...
188	LYD Currency = "LYD"
189	// MAD ...
190	MAD Currency = "MAD"
191	// MDL ...
192	MDL Currency = "MDL"
193	// MGA ...
194	MGA Currency = "MGA"
195	// MKD ...
196	MKD Currency = "MKD"
197	// MMK ...
198	MMK Currency = "MMK"
199	// MNT ...
200	MNT Currency = "MNT"
201	// MOP ...
202	MOP Currency = "MOP"
203	// MRO ...
204	MRO Currency = "MRO"
205	// MUR ...
206	MUR Currency = "MUR"
207	// MVR ...
208	MVR Currency = "MVR"
209	// MWK ...
210	MWK Currency = "MWK"
211	// MXN ...
212	MXN Currency = "MXN"
213	// MXV ...
214	MXV Currency = "MXV"
215	// MYR ...
216	MYR Currency = "MYR"
217	// MZN ...
218	MZN Currency = "MZN"
219	// NAD ...
220	NAD Currency = "NAD"
221	// NGN ...
222	NGN Currency = "NGN"
223	// NIO ...
224	NIO Currency = "NIO"
225	// NOK ...
226	NOK Currency = "NOK"
227	// NPR ...
228	NPR Currency = "NPR"
229	// NZD ...
230	NZD Currency = "NZD"
231	// OMR ...
232	OMR Currency = "OMR"
233	// PAB ...
234	PAB Currency = "PAB"
235	// PEN ...
236	PEN Currency = "PEN"
237	// PGK ...
238	PGK Currency = "PGK"
239	// PHP ...
240	PHP Currency = "PHP"
241	// PKR ...
242	PKR Currency = "PKR"
243	// PLN ...
244	PLN Currency = "PLN"
245	// PYG ...
246	PYG Currency = "PYG"
247	// QAR ...
248	QAR Currency = "QAR"
249	// RON ...
250	RON Currency = "RON"
251	// RSD ...
252	RSD Currency = "RSD"
253	// RUB ...
254	RUB Currency = "RUB"
255	// RWF ...
256	RWF Currency = "RWF"
257	// SAR ...
258	SAR Currency = "SAR"
259	// SBD ...
260	SBD Currency = "SBD"
261	// SCR ...
262	SCR Currency = "SCR"
263	// SDG ...
264	SDG Currency = "SDG"
265	// SEK ...
266	SEK Currency = "SEK"
267	// SGD ...
268	SGD Currency = "SGD"
269	// SHP ...
270	SHP Currency = "SHP"
271	// SLL ...
272	SLL Currency = "SLL"
273	// SOS ...
274	SOS Currency = "SOS"
275	// SRD ...
276	SRD Currency = "SRD"
277	// SSP ...
278	SSP Currency = "SSP"
279	// STD ...
280	STD Currency = "STD"
281	// SYP ...
282	SYP Currency = "SYP"
283	// SZL ...
284	SZL Currency = "SZL"
285	// THB ...
286	THB Currency = "THB"
287	// TJS ...
288	TJS Currency = "TJS"
289	// TMT ...
290	TMT Currency = "TMT"
291	// TND ...
292	TND Currency = "TND"
293	// TOP ...
294	TOP Currency = "TOP"
295	// TRY ...
296	TRY Currency = "TRY"
297	// TTD ...
298	TTD Currency = "TTD"
299	// TWD ...
300	TWD Currency = "TWD"
301	// TZS ...
302	TZS Currency = "TZS"
303	// UAH ...
304	UAH Currency = "UAH"
305	// UGX ...
306	UGX Currency = "UGX"
307	// USD ...
308	USD Currency = "USD"
309	// UYU ...
310	UYU Currency = "UYU"
311	// UZS ...
312	UZS Currency = "UZS"
313	// VEF ...
314	VEF Currency = "VEF"
315	// VND ...
316	VND Currency = "VND"
317	// VUV ...
318	VUV Currency = "VUV"
319	// WST ...
320	WST Currency = "WST"
321	// XAF ...
322	XAF Currency = "XAF"
323	// XCD ...
324	XCD Currency = "XCD"
325	// XOF ...
326	XOF Currency = "XOF"
327	// XPF ...
328	XPF Currency = "XPF"
329	// YER ...
330	YER Currency = "YER"
331	// ZAR ...
332	ZAR Currency = "ZAR"
333	// ZMW ...
334	ZMW Currency = "ZMW"
335)
336
337// PossibleCurrencyValues returns an array of possible values for the Currency const type.
338func 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// ErrorCode enumerates the values for error code.
343type ErrorCode string
344
345const (
346	// InsufficientAuthorization ...
347	InsufficientAuthorization ErrorCode = "InsufficientAuthorization"
348	// InvalidAuthorization ...
349	InvalidAuthorization ErrorCode = "InvalidAuthorization"
350	// InvalidRequest ...
351	InvalidRequest ErrorCode = "InvalidRequest"
352	// None ...
353	None ErrorCode = "None"
354	// RateLimitExceeded ...
355	RateLimitExceeded ErrorCode = "RateLimitExceeded"
356	// ServerError ...
357	ServerError ErrorCode = "ServerError"
358)
359
360// PossibleErrorCodeValues returns an array of possible values for the ErrorCode const type.
361func PossibleErrorCodeValues() []ErrorCode {
362	return []ErrorCode{InsufficientAuthorization, InvalidAuthorization, InvalidRequest, None, RateLimitExceeded, ServerError}
363}
364
365// ErrorSubCode enumerates the values for error sub code.
366type ErrorSubCode string
367
368const (
369	// AuthorizationDisabled ...
370	AuthorizationDisabled ErrorSubCode = "AuthorizationDisabled"
371	// AuthorizationExpired ...
372	AuthorizationExpired ErrorSubCode = "AuthorizationExpired"
373	// AuthorizationMissing ...
374	AuthorizationMissing ErrorSubCode = "AuthorizationMissing"
375	// AuthorizationRedundancy ...
376	AuthorizationRedundancy ErrorSubCode = "AuthorizationRedundancy"
377	// Blocked ...
378	Blocked ErrorSubCode = "Blocked"
379	// HTTPNotAllowed ...
380	HTTPNotAllowed ErrorSubCode = "HttpNotAllowed"
381	// NotImplemented ...
382	NotImplemented ErrorSubCode = "NotImplemented"
383	// ParameterInvalidValue ...
384	ParameterInvalidValue ErrorSubCode = "ParameterInvalidValue"
385	// ParameterMissing ...
386	ParameterMissing ErrorSubCode = "ParameterMissing"
387	// ResourceError ...
388	ResourceError ErrorSubCode = "ResourceError"
389	// UnexpectedError ...
390	UnexpectedError ErrorSubCode = "UnexpectedError"
391)
392
393// PossibleErrorSubCodeValues returns an array of possible values for the ErrorSubCode const type.
394func PossibleErrorSubCodeValues() []ErrorSubCode {
395	return []ErrorSubCode{AuthorizationDisabled, AuthorizationExpired, AuthorizationMissing, AuthorizationRedundancy, Blocked, HTTPNotAllowed, NotImplemented, ParameterInvalidValue, ParameterMissing, ResourceError, UnexpectedError}
396}
397
398// ItemAvailability enumerates the values for item availability.
399type ItemAvailability string
400
401const (
402	// Discontinued ...
403	Discontinued ItemAvailability = "Discontinued"
404	// InStock ...
405	InStock ItemAvailability = "InStock"
406	// InStoreOnly ...
407	InStoreOnly ItemAvailability = "InStoreOnly"
408	// LimitedAvailability ...
409	LimitedAvailability ItemAvailability = "LimitedAvailability"
410	// OnlineOnly ...
411	OnlineOnly ItemAvailability = "OnlineOnly"
412	// OutOfStock ...
413	OutOfStock ItemAvailability = "OutOfStock"
414	// PreOrder ...
415	PreOrder ItemAvailability = "PreOrder"
416	// SoldOut ...
417	SoldOut ItemAvailability = "SoldOut"
418)
419
420// PossibleItemAvailabilityValues returns an array of possible values for the ItemAvailability const type.
421func PossibleItemAvailabilityValues() []ItemAvailability {
422	return []ItemAvailability{Discontinued, InStock, InStoreOnly, LimitedAvailability, OnlineOnly, OutOfStock, PreOrder, SoldOut}
423}
424
425// SafeSearch enumerates the values for safe search.
426type SafeSearch string
427
428const (
429	// Moderate ...
430	Moderate SafeSearch = "Moderate"
431	// Off ...
432	Off SafeSearch = "Off"
433	// Strict ...
434	Strict SafeSearch = "Strict"
435)
436
437// PossibleSafeSearchValues returns an array of possible values for the SafeSearch const type.
438func PossibleSafeSearchValues() []SafeSearch {
439	return []SafeSearch{Moderate, Off, Strict}
440}
441
442// Type enumerates the values for type.
443type Type string
444
445const (
446	// TypeAction ...
447	TypeAction Type = "Action"
448	// TypeAggregateOffer ...
449	TypeAggregateOffer Type = "AggregateOffer"
450	// TypeCreativeWork ...
451	TypeCreativeWork Type = "CreativeWork"
452	// TypeErrorResponse ...
453	TypeErrorResponse Type = "ErrorResponse"
454	// TypeIdentifiable ...
455	TypeIdentifiable Type = "Identifiable"
456	// TypeImageAction ...
457	TypeImageAction Type = "ImageAction"
458	// TypeImageEntityAction ...
459	TypeImageEntityAction Type = "ImageEntityAction"
460	// TypeImageKnowledge ...
461	TypeImageKnowledge Type = "ImageKnowledge"
462	// TypeImageModuleAction ...
463	TypeImageModuleAction Type = "ImageModuleAction"
464	// TypeImageObject ...
465	TypeImageObject Type = "ImageObject"
466	// TypeImageRecipesAction ...
467	TypeImageRecipesAction Type = "ImageRecipesAction"
468	// TypeImageRelatedSearchesAction ...
469	TypeImageRelatedSearchesAction Type = "ImageRelatedSearchesAction"
470	// TypeImageShoppingSourcesAction ...
471	TypeImageShoppingSourcesAction Type = "ImageShoppingSourcesAction"
472	// TypeImageTag ...
473	TypeImageTag Type = "ImageTag"
474	// TypeIntangible ...
475	TypeIntangible Type = "Intangible"
476	// TypeMediaObject ...
477	TypeMediaObject Type = "MediaObject"
478	// TypeNormalizedQuadrilateral ...
479	TypeNormalizedQuadrilateral Type = "NormalizedQuadrilateral"
480	// TypeOffer ...
481	TypeOffer Type = "Offer"
482	// TypeOrganization ...
483	TypeOrganization Type = "Organization"
484	// TypePerson ...
485	TypePerson Type = "Person"
486	// TypePoint2D ...
487	TypePoint2D Type = "Point2D"
488	// TypeRecipe ...
489	TypeRecipe Type = "Recipe"
490	// TypeResponse ...
491	TypeResponse Type = "Response"
492	// TypeResponseBase ...
493	TypeResponseBase Type = "ResponseBase"
494	// TypeStructuredValue ...
495	TypeStructuredValue Type = "StructuredValue"
496	// TypeThing ...
497	TypeThing Type = "Thing"
498)
499
500// PossibleTypeValues returns an array of possible values for the Type const type.
501func PossibleTypeValues() []Type {
502	return []Type{TypeAction, TypeAggregateOffer, TypeCreativeWork, TypeErrorResponse, TypeIdentifiable, TypeImageAction, TypeImageEntityAction, TypeImageKnowledge, TypeImageModuleAction, TypeImageObject, TypeImageRecipesAction, TypeImageRelatedSearchesAction, TypeImageShoppingSourcesAction, TypeImageTag, TypeIntangible, TypeMediaObject, TypeNormalizedQuadrilateral, TypeOffer, TypeOrganization, TypePerson, TypePoint2D, TypeRecipe, TypeResponse, TypeResponseBase, TypeStructuredValue, TypeThing}
503}
504
505// TypeBasicPropertiesItem enumerates the values for type basic properties item.
506type TypeBasicPropertiesItem string
507
508const (
509	// TypeAggregateRating ...
510	TypeAggregateRating TypeBasicPropertiesItem = "AggregateRating"
511	// TypePropertiesItem ...
512	TypePropertiesItem TypeBasicPropertiesItem = "Properties/Item"
513	// TypeRating ...
514	TypeRating TypeBasicPropertiesItem = "Rating"
515)
516
517// PossibleTypeBasicPropertiesItemValues returns an array of possible values for the TypeBasicPropertiesItem const type.
518func PossibleTypeBasicPropertiesItemValues() []TypeBasicPropertiesItem {
519	return []TypeBasicPropertiesItem{TypeAggregateRating, TypePropertiesItem, TypeRating}
520}
521