LabelExampleResponse Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. LabelExampleResponse
- com.
public class LabelExampleResponse
Response when adding a labeled example utterance.
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
exampleId()
Get the exampleId value. |
String |
utteranceText()
Get the utteranceText value. |
Label |
withExampleId(Integer exampleId)
Set the exampleId value. |
Label |
withUtteranceText(String utteranceText)
Set the utteranceText value. |
Method Details
exampleId
public Integer exampleId()
Get the exampleId value.
Returns:
the exampleId value
utteranceText
public String utteranceText()
Get the utteranceText value.
Returns:
the utteranceText value
withExampleId
public LabelExampleResponse withExampleId(Integer exampleId)
Set the exampleId value.
Parameters:
exampleId
- the exampleId value to set
Returns:
the LabelExampleResponse object itself.
withUtteranceText
public LabelExampleResponse withUtteranceText(String utteranceText)
Set the utteranceText value.
Parameters:
utteranceText
- the utteranceText value to set
Returns:
the LabelExampleResponse object itself.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for Java