translatortextapi

package
v48.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2020 License: Apache-2.0 Imports: 3 Imported by: 61

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.SetObject, err error)
	GetDocumentFormats(ctx context.Context, endpoint string) (result translatortext.SetObject, err error)
	GetDocumentStatus(ctx context.Context, endpoint string, ID uuid.UUID, documentID uuid.UUID) (result translatortext.SetObject, err error)
	GetDocumentStorageSource(ctx context.Context, endpoint string) (result translatortext.SetObject, err error)
	GetGlossaryFormats(ctx context.Context, endpoint string) (result translatortext.SetObject, err error)
	GetOperationDocumentsStatus(ctx context.Context, endpoint string, ID uuid.UUID, top *int32, skip *int32) (result translatortext.SetObject, err error)
	GetOperations(ctx context.Context, endpoint string, top *int32, skip *int32) (result translatortext.SetObject, err error)
	GetOperationStatus(ctx context.Context, endpoint string, ID uuid.UUID) (result translatortext.SetObject, err error)
	SubmitBatchRequest(ctx context.Context, endpoint string, body *translatortext.BatchSubmissionRequest) (result translatortext.ErrorResponseV2, 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