你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LabelExampleResponse Class

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

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.

LabelExampleResponse withExampleId(Integer exampleId)

Set the exampleId value.

LabelExampleResponse 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