forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
interfaces.go
21 lines (17 loc) · 1.98 KB
/
interfaces.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package imagesearchapi
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"context"
"github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/imagesearch"
)
// ImagesClientAPI contains the set of methods on the ImagesClient type.
type ImagesClientAPI interface {
Details(ctx context.Context, query string, acceptLanguage string, contentType string, userAgent string, clientID string, clientIP string, location string, cropBottom *float64, cropLeft *float64, cropRight *float64, cropTop *float64, cropType imagesearch.ImageCropType, countryCode string, ID string, imageURL string, insightsToken string, modules []imagesearch.ImageInsightModule, market string, safeSearch imagesearch.SafeSearch, setLang string) (result imagesearch.ImageInsights, err error)
Search(ctx context.Context, query string, acceptLanguage string, userAgent string, clientID string, clientIP string, location string, aspect imagesearch.ImageAspect, colorParameter imagesearch.ImageColor, countryCode string, count *int32, freshness imagesearch.Freshness, height *int32, ID string, imageContent imagesearch.ImageContent, imageType imagesearch.ImageType, license imagesearch.ImageLicense, market string, maxFileSize *int64, maxHeight *int64, maxWidth *int64, minFileSize *int64, minHeight *int64, minWidth *int64, offset *int64, safeSearch imagesearch.SafeSearch, size imagesearch.ImageSize, setLang string, width *int32) (result imagesearch.Images, err error)
Trending(ctx context.Context, acceptLanguage string, userAgent string, clientID string, clientIP string, location string, countryCode string, market string, safeSearch imagesearch.SafeSearch, setLang string) (result imagesearch.TrendingImages, err error)
}
var _ ImagesClientAPI = (*imagesearch.ImagesClient)(nil)