...
1
2
3
4
5
6
7
8
9
10 package customimagesearch
11
12 import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/customimagesearch"
13
14 const (
15 DefaultEndpoint = original.DefaultEndpoint
16 )
17
18 type ErrorCode = original.ErrorCode
19
20 const (
21 InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
22 InvalidAuthorization ErrorCode = original.InvalidAuthorization
23 InvalidRequest ErrorCode = original.InvalidRequest
24 None ErrorCode = original.None
25 RateLimitExceeded ErrorCode = original.RateLimitExceeded
26 ServerError ErrorCode = original.ServerError
27 )
28
29 type ErrorSubCode = original.ErrorSubCode
30
31 const (
32 AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
33 AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
34 AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
35 AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
36 Blocked ErrorSubCode = original.Blocked
37 HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
38 NotImplemented ErrorSubCode = original.NotImplemented
39 ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
40 ParameterMissing ErrorSubCode = original.ParameterMissing
41 ResourceError ErrorSubCode = original.ResourceError
42 UnexpectedError ErrorSubCode = original.UnexpectedError
43 )
44
45 type Freshness = original.Freshness
46
47 const (
48 Day Freshness = original.Day
49 Month Freshness = original.Month
50 Week Freshness = original.Week
51 )
52
53 type ImageAspect = original.ImageAspect
54
55 const (
56 All ImageAspect = original.All
57 Square ImageAspect = original.Square
58 Tall ImageAspect = original.Tall
59 Wide ImageAspect = original.Wide
60 )
61
62 type ImageColor = original.ImageColor
63
64 const (
65 Black ImageColor = original.Black
66 Blue ImageColor = original.Blue
67 Brown ImageColor = original.Brown
68 ColorOnly ImageColor = original.ColorOnly
69 Gray ImageColor = original.Gray
70 Green ImageColor = original.Green
71 Monochrome ImageColor = original.Monochrome
72 Orange ImageColor = original.Orange
73 Pink ImageColor = original.Pink
74 Purple ImageColor = original.Purple
75 Red ImageColor = original.Red
76 Teal ImageColor = original.Teal
77 White ImageColor = original.White
78 Yellow ImageColor = original.Yellow
79 )
80
81 type ImageContent = original.ImageContent
82
83 const (
84 Face ImageContent = original.Face
85 Portrait ImageContent = original.Portrait
86 )
87
88 type ImageLicense = original.ImageLicense
89
90 const (
91 ImageLicenseAll ImageLicense = original.ImageLicenseAll
92 ImageLicenseAny ImageLicense = original.ImageLicenseAny
93 ImageLicenseModify ImageLicense = original.ImageLicenseModify
94 ImageLicenseModifyCommercially ImageLicense = original.ImageLicenseModifyCommercially
95 ImageLicensePublic ImageLicense = original.ImageLicensePublic
96 ImageLicenseShare ImageLicense = original.ImageLicenseShare
97 ImageLicenseShareCommercially ImageLicense = original.ImageLicenseShareCommercially
98 )
99
100 type ImageSize = original.ImageSize
101
102 const (
103 ImageSizeAll ImageSize = original.ImageSizeAll
104 ImageSizeLarge ImageSize = original.ImageSizeLarge
105 ImageSizeMedium ImageSize = original.ImageSizeMedium
106 ImageSizeSmall ImageSize = original.ImageSizeSmall
107 ImageSizeWallpaper ImageSize = original.ImageSizeWallpaper
108 )
109
110 type ImageType = original.ImageType
111
112 const (
113 AnimatedGif ImageType = original.AnimatedGif
114 Clipart ImageType = original.Clipart
115 Line ImageType = original.Line
116 Photo ImageType = original.Photo
117 Shopping ImageType = original.Shopping
118 Transparent ImageType = original.Transparent
119 )
120
121 type SafeSearch = original.SafeSearch
122
123 const (
124 Moderate SafeSearch = original.Moderate
125 Off SafeSearch = original.Off
126 Strict SafeSearch = original.Strict
127 )
128
129 type Type = original.Type
130
131 const (
132 TypeAnswer Type = original.TypeAnswer
133 TypeCreativeWork Type = original.TypeCreativeWork
134 TypeErrorResponse Type = original.TypeErrorResponse
135 TypeIdentifiable Type = original.TypeIdentifiable
136 TypeImageObject Type = original.TypeImageObject
137 TypeImages Type = original.TypeImages
138 TypeMediaObject Type = original.TypeMediaObject
139 TypeResponse Type = original.TypeResponse
140 TypeResponseBase Type = original.TypeResponseBase
141 TypeSearchResultsAnswer Type = original.TypeSearchResultsAnswer
142 TypeThing Type = original.TypeThing
143 TypeWebPage Type = original.TypeWebPage
144 )
145
146 type Answer = original.Answer
147 type BaseClient = original.BaseClient
148 type BasicAnswer = original.BasicAnswer
149 type BasicCreativeWork = original.BasicCreativeWork
150 type BasicIdentifiable = original.BasicIdentifiable
151 type BasicMediaObject = original.BasicMediaObject
152 type BasicResponse = original.BasicResponse
153 type BasicResponseBase = original.BasicResponseBase
154 type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
155 type BasicThing = original.BasicThing
156 type CreativeWork = original.CreativeWork
157 type CustomInstanceClient = original.CustomInstanceClient
158 type Error = original.Error
159 type ErrorResponse = original.ErrorResponse
160 type Identifiable = original.Identifiable
161 type ImageObject = original.ImageObject
162 type Images = original.Images
163 type MediaObject = original.MediaObject
164 type Query = original.Query
165 type Response = original.Response
166 type ResponseBase = original.ResponseBase
167 type SearchResultsAnswer = original.SearchResultsAnswer
168 type Thing = original.Thing
169 type WebPage = original.WebPage
170
171 func New() BaseClient {
172 return original.New()
173 }
174 func NewCustomInstanceClient() CustomInstanceClient {
175 return original.NewCustomInstanceClient()
176 }
177 func NewWithoutDefaults(endpoint string) BaseClient {
178 return original.NewWithoutDefaults(endpoint)
179 }
180 func PossibleErrorCodeValues() []ErrorCode {
181 return original.PossibleErrorCodeValues()
182 }
183 func PossibleErrorSubCodeValues() []ErrorSubCode {
184 return original.PossibleErrorSubCodeValues()
185 }
186 func PossibleFreshnessValues() []Freshness {
187 return original.PossibleFreshnessValues()
188 }
189 func PossibleImageAspectValues() []ImageAspect {
190 return original.PossibleImageAspectValues()
191 }
192 func PossibleImageColorValues() []ImageColor {
193 return original.PossibleImageColorValues()
194 }
195 func PossibleImageContentValues() []ImageContent {
196 return original.PossibleImageContentValues()
197 }
198 func PossibleImageLicenseValues() []ImageLicense {
199 return original.PossibleImageLicenseValues()
200 }
201 func PossibleImageSizeValues() []ImageSize {
202 return original.PossibleImageSizeValues()
203 }
204 func PossibleImageTypeValues() []ImageType {
205 return original.PossibleImageTypeValues()
206 }
207 func PossibleSafeSearchValues() []SafeSearch {
208 return original.PossibleSafeSearchValues()
209 }
210 func PossibleTypeValues() []Type {
211 return original.PossibleTypeValues()
212 }
213 func UserAgent() string {
214 return original.UserAgent() + " profiles/latest"
215 }
216 func Version() string {
217 return original.Version()
218 }
219
View as plain text