Class BatchLanguageTranslationDetails
The documents details for translation call.
Inherited Members
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class BatchLanguageTranslationDetails
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that calls the API, inference will be served from pre trained model |
Documents
Declaration
[Required(ErrorMessage = "Documents is required.")]
[JsonProperty(PropertyName = "documents")]
public List<TextDocument> Documents { get; set; }
Property Value
Type | Description |
---|---|
List<TextDocument> | List of documents for translation. |
Remarks
Required
TargetLanguageCode
Declaration
[JsonProperty(PropertyName = "targetLanguageCode")]
public string TargetLanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string | Language code supported Arabic - ar Brazilian Portuguese - pt-BR Canadian French - fr-CA Croatian - hr Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr German - de Greek - el Hebrew - he Hungarian - hu Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl Portuguese - pt Romanian - ro Russian - ru Simplified Chinese - zh-CN Slovak - sk Slovenian - sl Spanish - es Swedish - sv Thai - th Traditional Chinese - zh-TW Turkish - tr Vietnamese - vi |