translatortextapi

package
v53.0.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TranslationClientAPI

type TranslationClientAPI interface {
	CancelOperation(ctx context.Context, endpoint string, ID uuid.UUID) (result translatortext.BatchStatusDetail, err error)
	GetDocumentFormats(ctx context.Context, endpoint string) (result translatortext.FileFormatListResult, err error)
	GetDocumentStatus(ctx context.Context, endpoint string, ID uuid.UUID, documentID uuid.UUID) (result translatortext.DocumentStatusDetail, err error)
	GetDocumentStorageSource(ctx context.Context, endpoint string) (result translatortext.StorageSourceListResult, err error)
	GetGlossaryFormats(ctx context.Context, endpoint string) (result translatortext.FileFormatListResult, err error)
	GetOperationDocumentsStatus(ctx context.Context, endpoint string, ID uuid.UUID, top *int32, skip *int32) (result translatortext.DocumentStatusResponse, err error)
	GetOperations(ctx context.Context, endpoint string, top *int32, skip *int32) (result translatortext.BatchStatusResponse, err error)
	GetOperationStatus(ctx context.Context, endpoint string, ID uuid.UUID) (result translatortext.BatchStatusDetail, err error)
	SubmitBatchRequest(ctx context.Context, endpoint string, body *translatortext.BatchSubmissionRequest) (result autorest.Response, err error)
}

TranslationClientAPI contains the set of methods on the TranslationClient type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL