...

Source file src/github.com/Azure/azure-sdk-for-go/profiles/preview/cognitiveservices/imagesearch/models.go

Documentation: github.com/Azure/azure-sdk-for-go/profiles/preview/cognitiveservices/imagesearch

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

View as plain text