BatchLanguageTranslationResult

class oci.ai_language.models.BatchLanguageTranslationResult(**kwargs)

Bases: object

Result of translation call.

Methods

__init__(**kwargs) Initializes a new BatchLanguageTranslationResult object with values from keyword arguments.

Attributes

documents [Required] Gets the documents of this BatchLanguageTranslationResult.
errors Gets the errors of this BatchLanguageTranslationResult.
__init__(**kwargs)

Initializes a new BatchLanguageTranslationResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
documents

[Required] Gets the documents of this BatchLanguageTranslationResult. List of succeeded document response.

Returns:The documents of this BatchLanguageTranslationResult.
Return type:list[oci.ai_language.models.TranslationDocumentResult]
errors

Gets the errors of this BatchLanguageTranslationResult. List of failed document response.

Returns:The errors of this BatchLanguageTranslationResult.
Return type:list[oci.ai_language.models.DocumentError]