...

Source file src/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/imagesearch/enums.go

Documentation: github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/imagesearch

     1  package imagesearch
     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.
    10  type Currency string
    11  
    12  const (
    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.
   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  // ErrorCode enumerates the values for error code.
   343  type ErrorCode string
   344  
   345  const (
   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.
   361  func PossibleErrorCodeValues() []ErrorCode {
   362  	return []ErrorCode{InsufficientAuthorization, InvalidAuthorization, InvalidRequest, None, RateLimitExceeded, ServerError}
   363  }
   364  
   365  // ErrorSubCode enumerates the values for error sub code.
   366  type ErrorSubCode string
   367  
   368  const (
   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.
   394  func PossibleErrorSubCodeValues() []ErrorSubCode {
   395  	return []ErrorSubCode{AuthorizationDisabled, AuthorizationExpired, AuthorizationMissing, AuthorizationRedundancy, Blocked, HTTPNotAllowed, NotImplemented, ParameterInvalidValue, ParameterMissing, ResourceError, UnexpectedError}
   396  }
   397  
   398  // Freshness enumerates the values for freshness.
   399  type Freshness string
   400  
   401  const (
   402  	// Day ...
   403  	Day Freshness = "Day"
   404  	// Month ...
   405  	Month Freshness = "Month"
   406  	// Week ...
   407  	Week Freshness = "Week"
   408  )
   409  
   410  // PossibleFreshnessValues returns an array of possible values for the Freshness const type.
   411  func PossibleFreshnessValues() []Freshness {
   412  	return []Freshness{Day, Month, Week}
   413  }
   414  
   415  // ImageAspect enumerates the values for image aspect.
   416  type ImageAspect string
   417  
   418  const (
   419  	// All ...
   420  	All ImageAspect = "All"
   421  	// Square ...
   422  	Square ImageAspect = "Square"
   423  	// Tall ...
   424  	Tall ImageAspect = "Tall"
   425  	// Wide ...
   426  	Wide ImageAspect = "Wide"
   427  )
   428  
   429  // PossibleImageAspectValues returns an array of possible values for the ImageAspect const type.
   430  func PossibleImageAspectValues() []ImageAspect {
   431  	return []ImageAspect{All, Square, Tall, Wide}
   432  }
   433  
   434  // ImageColor enumerates the values for image color.
   435  type ImageColor string
   436  
   437  const (
   438  	// Black ...
   439  	Black ImageColor = "Black"
   440  	// Blue ...
   441  	Blue ImageColor = "Blue"
   442  	// Brown ...
   443  	Brown ImageColor = "Brown"
   444  	// ColorOnly ...
   445  	ColorOnly ImageColor = "ColorOnly"
   446  	// Gray ...
   447  	Gray ImageColor = "Gray"
   448  	// Green ...
   449  	Green ImageColor = "Green"
   450  	// Monochrome ...
   451  	Monochrome ImageColor = "Monochrome"
   452  	// Orange ...
   453  	Orange ImageColor = "Orange"
   454  	// Pink ...
   455  	Pink ImageColor = "Pink"
   456  	// Purple ...
   457  	Purple ImageColor = "Purple"
   458  	// Red ...
   459  	Red ImageColor = "Red"
   460  	// Teal ...
   461  	Teal ImageColor = "Teal"
   462  	// White ...
   463  	White ImageColor = "White"
   464  	// Yellow ...
   465  	Yellow ImageColor = "Yellow"
   466  )
   467  
   468  // PossibleImageColorValues returns an array of possible values for the ImageColor const type.
   469  func PossibleImageColorValues() []ImageColor {
   470  	return []ImageColor{Black, Blue, Brown, ColorOnly, Gray, Green, Monochrome, Orange, Pink, Purple, Red, Teal, White, Yellow}
   471  }
   472  
   473  // ImageContent enumerates the values for image content.
   474  type ImageContent string
   475  
   476  const (
   477  	// Face ...
   478  	Face ImageContent = "Face"
   479  	// Portrait ...
   480  	Portrait ImageContent = "Portrait"
   481  )
   482  
   483  // PossibleImageContentValues returns an array of possible values for the ImageContent const type.
   484  func PossibleImageContentValues() []ImageContent {
   485  	return []ImageContent{Face, Portrait}
   486  }
   487  
   488  // ImageCropType enumerates the values for image crop type.
   489  type ImageCropType string
   490  
   491  const (
   492  	// Rectangular ...
   493  	Rectangular ImageCropType = "Rectangular"
   494  )
   495  
   496  // PossibleImageCropTypeValues returns an array of possible values for the ImageCropType const type.
   497  func PossibleImageCropTypeValues() []ImageCropType {
   498  	return []ImageCropType{Rectangular}
   499  }
   500  
   501  // ImageInsightModule enumerates the values for image insight module.
   502  type ImageInsightModule string
   503  
   504  const (
   505  	// ImageInsightModuleAll ...
   506  	ImageInsightModuleAll ImageInsightModule = "All"
   507  	// ImageInsightModuleBRQ ...
   508  	ImageInsightModuleBRQ ImageInsightModule = "BRQ"
   509  	// ImageInsightModuleCaption ...
   510  	ImageInsightModuleCaption ImageInsightModule = "Caption"
   511  	// ImageInsightModuleCollections ...
   512  	ImageInsightModuleCollections ImageInsightModule = "Collections"
   513  	// ImageInsightModulePagesIncluding ...
   514  	ImageInsightModulePagesIncluding ImageInsightModule = "PagesIncluding"
   515  	// ImageInsightModuleRecipes ...
   516  	ImageInsightModuleRecipes ImageInsightModule = "Recipes"
   517  	// ImageInsightModuleRecognizedEntities ...
   518  	ImageInsightModuleRecognizedEntities ImageInsightModule = "RecognizedEntities"
   519  	// ImageInsightModuleRelatedSearches ...
   520  	ImageInsightModuleRelatedSearches ImageInsightModule = "RelatedSearches"
   521  	// ImageInsightModuleShoppingSources ...
   522  	ImageInsightModuleShoppingSources ImageInsightModule = "ShoppingSources"
   523  	// ImageInsightModuleSimilarImages ...
   524  	ImageInsightModuleSimilarImages ImageInsightModule = "SimilarImages"
   525  	// ImageInsightModuleSimilarProducts ...
   526  	ImageInsightModuleSimilarProducts ImageInsightModule = "SimilarProducts"
   527  	// ImageInsightModuleTags ...
   528  	ImageInsightModuleTags ImageInsightModule = "Tags"
   529  )
   530  
   531  // PossibleImageInsightModuleValues returns an array of possible values for the ImageInsightModule const type.
   532  func PossibleImageInsightModuleValues() []ImageInsightModule {
   533  	return []ImageInsightModule{ImageInsightModuleAll, ImageInsightModuleBRQ, ImageInsightModuleCaption, ImageInsightModuleCollections, ImageInsightModulePagesIncluding, ImageInsightModuleRecipes, ImageInsightModuleRecognizedEntities, ImageInsightModuleRelatedSearches, ImageInsightModuleShoppingSources, ImageInsightModuleSimilarImages, ImageInsightModuleSimilarProducts, ImageInsightModuleTags}
   534  }
   535  
   536  // ImageLicense enumerates the values for image license.
   537  type ImageLicense string
   538  
   539  const (
   540  	// ImageLicenseAll ...
   541  	ImageLicenseAll ImageLicense = "All"
   542  	// ImageLicenseAny ...
   543  	ImageLicenseAny ImageLicense = "Any"
   544  	// ImageLicenseModify ...
   545  	ImageLicenseModify ImageLicense = "Modify"
   546  	// ImageLicenseModifyCommercially ...
   547  	ImageLicenseModifyCommercially ImageLicense = "ModifyCommercially"
   548  	// ImageLicensePublic ...
   549  	ImageLicensePublic ImageLicense = "Public"
   550  	// ImageLicenseShare ...
   551  	ImageLicenseShare ImageLicense = "Share"
   552  	// ImageLicenseShareCommercially ...
   553  	ImageLicenseShareCommercially ImageLicense = "ShareCommercially"
   554  )
   555  
   556  // PossibleImageLicenseValues returns an array of possible values for the ImageLicense const type.
   557  func PossibleImageLicenseValues() []ImageLicense {
   558  	return []ImageLicense{ImageLicenseAll, ImageLicenseAny, ImageLicenseModify, ImageLicenseModifyCommercially, ImageLicensePublic, ImageLicenseShare, ImageLicenseShareCommercially}
   559  }
   560  
   561  // ImageSize enumerates the values for image size.
   562  type ImageSize string
   563  
   564  const (
   565  	// ImageSizeAll ...
   566  	ImageSizeAll ImageSize = "All"
   567  	// ImageSizeLarge ...
   568  	ImageSizeLarge ImageSize = "Large"
   569  	// ImageSizeMedium ...
   570  	ImageSizeMedium ImageSize = "Medium"
   571  	// ImageSizeSmall ...
   572  	ImageSizeSmall ImageSize = "Small"
   573  	// ImageSizeWallpaper ...
   574  	ImageSizeWallpaper ImageSize = "Wallpaper"
   575  )
   576  
   577  // PossibleImageSizeValues returns an array of possible values for the ImageSize const type.
   578  func PossibleImageSizeValues() []ImageSize {
   579  	return []ImageSize{ImageSizeAll, ImageSizeLarge, ImageSizeMedium, ImageSizeSmall, ImageSizeWallpaper}
   580  }
   581  
   582  // ImageType enumerates the values for image type.
   583  type ImageType string
   584  
   585  const (
   586  	// AnimatedGif ...
   587  	AnimatedGif ImageType = "AnimatedGif"
   588  	// Clipart ...
   589  	Clipart ImageType = "Clipart"
   590  	// Line ...
   591  	Line ImageType = "Line"
   592  	// Photo ...
   593  	Photo ImageType = "Photo"
   594  	// Shopping ...
   595  	Shopping ImageType = "Shopping"
   596  	// Transparent ...
   597  	Transparent ImageType = "Transparent"
   598  )
   599  
   600  // PossibleImageTypeValues returns an array of possible values for the ImageType const type.
   601  func PossibleImageTypeValues() []ImageType {
   602  	return []ImageType{AnimatedGif, Clipart, Line, Photo, Shopping, Transparent}
   603  }
   604  
   605  // ItemAvailability enumerates the values for item availability.
   606  type ItemAvailability string
   607  
   608  const (
   609  	// Discontinued ...
   610  	Discontinued ItemAvailability = "Discontinued"
   611  	// InStock ...
   612  	InStock ItemAvailability = "InStock"
   613  	// InStoreOnly ...
   614  	InStoreOnly ItemAvailability = "InStoreOnly"
   615  	// LimitedAvailability ...
   616  	LimitedAvailability ItemAvailability = "LimitedAvailability"
   617  	// OnlineOnly ...
   618  	OnlineOnly ItemAvailability = "OnlineOnly"
   619  	// OutOfStock ...
   620  	OutOfStock ItemAvailability = "OutOfStock"
   621  	// PreOrder ...
   622  	PreOrder ItemAvailability = "PreOrder"
   623  	// SoldOut ...
   624  	SoldOut ItemAvailability = "SoldOut"
   625  )
   626  
   627  // PossibleItemAvailabilityValues returns an array of possible values for the ItemAvailability const type.
   628  func PossibleItemAvailabilityValues() []ItemAvailability {
   629  	return []ItemAvailability{Discontinued, InStock, InStoreOnly, LimitedAvailability, OnlineOnly, OutOfStock, PreOrder, SoldOut}
   630  }
   631  
   632  // SafeSearch enumerates the values for safe search.
   633  type SafeSearch string
   634  
   635  const (
   636  	// Moderate ...
   637  	Moderate SafeSearch = "Moderate"
   638  	// Off ...
   639  	Off SafeSearch = "Off"
   640  	// Strict ...
   641  	Strict SafeSearch = "Strict"
   642  )
   643  
   644  // PossibleSafeSearchValues returns an array of possible values for the SafeSearch const type.
   645  func PossibleSafeSearchValues() []SafeSearch {
   646  	return []SafeSearch{Moderate, Off, Strict}
   647  }
   648  
   649  // Type enumerates the values for type.
   650  type Type string
   651  
   652  const (
   653  	// TypeAggregateRating ...
   654  	TypeAggregateRating Type = "AggregateRating"
   655  	// TypePropertiesItem ...
   656  	TypePropertiesItem Type = "Properties/Item"
   657  	// TypeRating ...
   658  	TypeRating Type = "Rating"
   659  )
   660  
   661  // PossibleTypeValues returns an array of possible values for the Type const type.
   662  func PossibleTypeValues() []Type {
   663  	return []Type{TypeAggregateRating, TypePropertiesItem, TypeRating}
   664  }
   665  
   666  // TypeBasicResponseBase enumerates the values for type basic response base.
   667  type TypeBasicResponseBase string
   668  
   669  const (
   670  	// TypeAggregateOffer ...
   671  	TypeAggregateOffer TypeBasicResponseBase = "AggregateOffer"
   672  	// TypeAnswer ...
   673  	TypeAnswer TypeBasicResponseBase = "Answer"
   674  	// TypeCollectionPage ...
   675  	TypeCollectionPage TypeBasicResponseBase = "CollectionPage"
   676  	// TypeCreativeWork ...
   677  	TypeCreativeWork TypeBasicResponseBase = "CreativeWork"
   678  	// TypeErrorResponse ...
   679  	TypeErrorResponse TypeBasicResponseBase = "ErrorResponse"
   680  	// TypeIdentifiable ...
   681  	TypeIdentifiable TypeBasicResponseBase = "Identifiable"
   682  	// TypeImageGallery ...
   683  	TypeImageGallery TypeBasicResponseBase = "ImageGallery"
   684  	// TypeImageInsights ...
   685  	TypeImageInsights TypeBasicResponseBase = "ImageInsights"
   686  	// TypeImageObject ...
   687  	TypeImageObject TypeBasicResponseBase = "ImageObject"
   688  	// TypeImages ...
   689  	TypeImages TypeBasicResponseBase = "Images"
   690  	// TypeIntangible ...
   691  	TypeIntangible TypeBasicResponseBase = "Intangible"
   692  	// TypeMediaObject ...
   693  	TypeMediaObject TypeBasicResponseBase = "MediaObject"
   694  	// TypeNormalizedRectangle ...
   695  	TypeNormalizedRectangle TypeBasicResponseBase = "NormalizedRectangle"
   696  	// TypeOffer ...
   697  	TypeOffer TypeBasicResponseBase = "Offer"
   698  	// TypeOrganization ...
   699  	TypeOrganization TypeBasicResponseBase = "Organization"
   700  	// TypePerson ...
   701  	TypePerson TypeBasicResponseBase = "Person"
   702  	// TypeRecipe ...
   703  	TypeRecipe TypeBasicResponseBase = "Recipe"
   704  	// TypeRecognizedEntity ...
   705  	TypeRecognizedEntity TypeBasicResponseBase = "RecognizedEntity"
   706  	// TypeRecognizedEntityRegion ...
   707  	TypeRecognizedEntityRegion TypeBasicResponseBase = "RecognizedEntityRegion"
   708  	// TypeResponse ...
   709  	TypeResponse TypeBasicResponseBase = "Response"
   710  	// TypeResponseBase ...
   711  	TypeResponseBase TypeBasicResponseBase = "ResponseBase"
   712  	// TypeSearchResultsAnswer ...
   713  	TypeSearchResultsAnswer TypeBasicResponseBase = "SearchResultsAnswer"
   714  	// TypeStructuredValue ...
   715  	TypeStructuredValue TypeBasicResponseBase = "StructuredValue"
   716  	// TypeThing ...
   717  	TypeThing TypeBasicResponseBase = "Thing"
   718  	// TypeTrendingImages ...
   719  	TypeTrendingImages TypeBasicResponseBase = "TrendingImages"
   720  	// TypeWebPage ...
   721  	TypeWebPage TypeBasicResponseBase = "WebPage"
   722  )
   723  
   724  // PossibleTypeBasicResponseBaseValues returns an array of possible values for the TypeBasicResponseBase const type.
   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