...

Source file src/github.com/Azure/azure-sdk-for-go/services/preview/cognitiveservices/v1.0/visualsearch/visualsearchapi/interfaces.go

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

     1  package visualsearchapi
     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  import (
    10  	"context"
    11  	"github.com/Azure/azure-sdk-for-go/services/preview/cognitiveservices/v1.0/visualsearch"
    12  	"io"
    13  )
    14  
    15  // ImagesClientAPI contains the set of methods on the ImagesClient type.
    16  type ImagesClientAPI interface {
    17  	VisualSearch(ctx context.Context, acceptLanguage string, contentType string, userAgent string, clientID string, clientIP string, location string, market string, safeSearch visualsearch.SafeSearch, setLang string, knowledgeRequest string, imageParameter io.ReadCloser) (result visualsearch.ImageKnowledge, err error)
    18  }
    19  
    20  var _ ImagesClientAPI = (*visualsearch.ImagesClient)(nil)
    21  

View as plain text