LabelTextObject Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. LabelTextObject
- com.
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. |
Label |
withId(Integer id)
Set the id value. |
Label |
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java