Class LabelTextObject
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.LabelTextObject
-
public class LabelTextObject extends Object
An object containing the example utterance's text.
-
-
Constructor Summary
Constructors Constructor Description LabelTextObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 Detail
-
id
public Integer id()
Get the id value.- Returns:
- the id value
-
withId
public LabelTextObject withId(Integer id)
Set the id value.- Parameters:
id
- the id value to set- Returns:
- the LabelTextObject object itself.
-
text
public String text()
Get the text value.- Returns:
- the text value
-
withText
public LabelTextObject withText(String text)
Set the text value.- Parameters:
text
- the text value to set- Returns:
- the LabelTextObject object itself.
-
-