LabelTextObject Class

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

public class LabelTextObject

An object containing the example utterance's text.

Method Summary

Modifier and Type Method and Description
Integer id()

Get the id value.

String text()

Get the text value.

LabelTextObject withId(Integer id)

Set the id value.

LabelTextObject withText(String text)

Set the text value.

Method Details

id

public Integer id()

Get the id value.

Returns:

the id value

text

public String text()

Get the text value.

Returns:

the text value

withId

public LabelTextObject withId(Integer id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the LabelTextObject object itself.

withText

public LabelTextObject withText(String text)

Set the text value.

Parameters:

text - the text value to set

Returns:

the LabelTextObject object itself.

Applies to