...

Source file src/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/customsearch/customsearchapi/interfaces.go

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

     1  package customsearchapi
     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/cognitiveservices/v1.0/customsearch"
    12  )
    13  
    14  // CustomInstanceClientAPI contains the set of methods on the CustomInstanceClient type.
    15  type CustomInstanceClientAPI interface {
    16  	Search(ctx context.Context, customConfig string, query string, acceptLanguage string, userAgent string, clientID string, clientIP string, location string, countryCode string, count *int32, market string, offset *int32, safeSearch customsearch.SafeSearch, setLang string, textDecorations *bool, textFormat customsearch.TextFormat) (result customsearch.SearchResponse, err error)
    17  }
    18  
    19  var _ CustomInstanceClientAPI = (*customsearch.CustomInstanceClient)(nil)
    20  

View as plain text