Freigeben über


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