Compartir a través de


LabelTextObject Clase

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.LabelTextObject

public class LabelTextObject

Objeto que contiene el texto de la expresión de ejemplo.

Resumen del método

Modificador y tipo Método y descripción
Integer id()

Obtenga el valor de id.

String text()

Obtiene el valor de texto.

LabelTextObject withId(Integer id)

Establezca el valor de id.

LabelTextObject withText(String text)

Establezca el valor de texto.

Detalles del método

id

public Integer id()

Obtenga el valor de id.

Returns:

el valor de id.

text

public String text()

Obtiene el valor de texto.

Returns:

el valor de texto

withId

public LabelTextObject withId(Integer id)

Establezca el valor de id.

Parameters:

id - el valor de id que se va a establecer

Returns:

El propio objeto LabelTextObject.

withText

public LabelTextObject withText(String text)

Establezca el valor de texto.

Parameters:

text - el valor de texto que se va a establecer

Returns:

El propio objeto LabelTextObject.

Se aplica a