/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Active learning feedback record.
 */
public class FeedbackRecordDTO {
    /**
     * Unique identifier for the user.
     */
    @JsonProperty(value = "userId")
    private String userId;

    /**
     * The suggested question being provided as feedback.
     */
    @JsonProperty(value = "userQuestion")
    private String userQuestion;

    /**
     * The qnaId for which the suggested question is provided as feedback.
     */
    @JsonProperty(value = "qnaId")
    private Integer qnaId;

    /**
     * Get the userId value.
     *
     * @return the userId value
     */
    public String userId() {
        return this.userId;
    }

    /**
     * Set the userId value.
     *
     * @param userId the userId value to set
     * @return the FeedbackRecordDTO object itself.
     */
    public FeedbackRecordDTO withUserId(String userId) {
        this.userId = userId;
        return this;
    }

    /**
     * Get the userQuestion value.
     *
     * @return the userQuestion value
     */
    public String userQuestion() {
        return this.userQuestion;
    }

    /**
     * Set the userQuestion value.
     *
     * @param userQuestion the userQuestion value to set
     * @return the FeedbackRecordDTO object itself.
     */
    public FeedbackRecordDTO withUserQuestion(String userQuestion) {
        this.userQuestion = userQuestion;
        return this;
    }

    /**
     * Get the qnaId value.
     *
     * @return the qnaId value
     */
    public Integer qnaId() {
        return this.qnaId;
    }

    /**
     * Set the qnaId value.
     *
     * @param qnaId the qnaId value to set
     * @return the FeedbackRecordDTO object itself.
     */
    public FeedbackRecordDTO withQnaId(Integer qnaId) {
        this.qnaId = qnaId;
        return this;
    }

}
