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