FeedbackRecord Class

  • java.lang.Object
    • com.microsoft.bot.ai.qna.models.FeedbackRecord

public class FeedbackRecord

Active learning feedback record.

Constructor Summary

Constructor Description
FeedbackRecord()

Method Summary

Modifier and Type Method and Description
java.lang.Integer getQnaId()

Gets the QnA ID.

java.lang.String getUserId()

Gets the feedback record's user ID.

java.lang.String getUserQuestion()

Gets the question asked by the user.

void setQnaId(Integer withQnaId)

Sets the QnA ID.

void setUserId(String withUserId)

Sets the feedback record's user ID.

void setUserQuestion(String withUserQuestion)

Sets question asked by the user.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

FeedbackRecord

public FeedbackRecord()

Method Details

getQnaId

public Integer getQnaId()

Gets the QnA ID.

Returns:

The QnA ID.

getUserId

public String getUserId()

Gets the feedback record's user ID.

Returns:

The user ID.

getUserQuestion

public String getUserQuestion()

Gets the question asked by the user.

Returns:

The user question.

setQnaId

public void setQnaId(Integer withQnaId)

Sets the QnA ID.

Parameters:

withQnaId - The QnA ID.

setUserId

public void setUserId(String withUserId)

Sets the feedback record's user ID.

Parameters:

withUserId - The user ID.

setUserQuestion

public void setUserQuestion(String withUserQuestion)

Sets question asked by the user.

Parameters:

withUserQuestion - The user question.

Applies to