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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für