azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v4.0/qnamaker/qnamakerapi Index | Files

package qnamakerapi

import "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v4.0/qnamaker/qnamakerapi"

Index

Package Files

interfaces.go

type AlterationsClientAPI Uses

type AlterationsClientAPI interface {
    Get(ctx context.Context) (result qnamaker.WordAlterationsDTO, err error)
    Replace(ctx context.Context, wordAlterations qnamaker.WordAlterationsDTO) (result autorest.Response, err error)
}

AlterationsClientAPI contains the set of methods on the AlterationsClient type.

type EndpointKeysClientAPI Uses

type EndpointKeysClientAPI interface {
    GetKeys(ctx context.Context) (result qnamaker.EndpointKeysDTO, err error)
    RefreshKeys(ctx context.Context, keyType string) (result qnamaker.EndpointKeysDTO, err error)
}

EndpointKeysClientAPI contains the set of methods on the EndpointKeysClient type.

type EndpointSettingsClientAPI Uses

type EndpointSettingsClientAPI interface {
    GetSettings(ctx context.Context) (result qnamaker.EndpointSettingsDTO, err error)
    UpdateSettings(ctx context.Context, endpointSettingsPayload qnamaker.EndpointSettingsDTO) (result qnamaker.String, err error)
}

EndpointSettingsClientAPI contains the set of methods on the EndpointSettingsClient type.

type KnowledgebaseClientAPI Uses

type KnowledgebaseClientAPI interface {
    Create(ctx context.Context, createKbPayload qnamaker.CreateKbDTO) (result qnamaker.Operation, err error)
    Delete(ctx context.Context, kbID string) (result autorest.Response, err error)
    Download(ctx context.Context, kbID string, environment qnamaker.EnvironmentType) (result qnamaker.QnADocumentsDTO, err error)
    GetDetails(ctx context.Context, kbID string) (result qnamaker.KnowledgebaseDTO, err error)
    ListAll(ctx context.Context) (result qnamaker.KnowledgebasesDTO, err error)
    Publish(ctx context.Context, kbID string) (result autorest.Response, err error)
    Replace(ctx context.Context, kbID string, replaceKb qnamaker.ReplaceKbDTO) (result autorest.Response, err error)
    Update(ctx context.Context, kbID string, updateKb qnamaker.UpdateKbOperationDTO) (result qnamaker.Operation, err error)
}

KnowledgebaseClientAPI contains the set of methods on the KnowledgebaseClient type.

type OperationsClientAPI Uses

type OperationsClientAPI interface {
    GetDetails(ctx context.Context, operationID string) (result qnamaker.Operation, err error)
}

OperationsClientAPI contains the set of methods on the OperationsClient type.

Package qnamakerapi imports 3 packages (graph). Updated 2019-07-01. Refresh now. Tools for package owners.