Show / Hide Table of Contents

Class TextDocument

The document details for language service call.

Inheritance
object
TextDocument
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class TextDocument

Properties

Key

Declaration
[Required(ErrorMessage = "Key is required.")]
[JsonProperty(PropertyName = "key")]
public string Key { get; set; }
Property Value
Type Description
string

Document unique identifier defined by the user.

Remarks

Required

LanguageCode

Declaration
[JsonProperty(PropertyName = "languageCode")]
public string LanguageCode { get; set; }
Property Value
Type Description
string

Language code of the document. Please refer to respective model API documentation for supported languages.

Text

Declaration
[Required(ErrorMessage = "Text is required.")]
[JsonProperty(PropertyName = "text")]
public string Text { get; set; }
Property Value
Type Description
string

Document text for language service call.

Remarks

Required

In this article
Back to top