/**
 * 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.language.luis.authoring.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Response model when requesting to train the model.
 */
public class EnqueueTrainingResponse {
    /**
     * The train request status ID.
     */
    @JsonProperty(value = "statusId")
    private Integer statusId;

    /**
     * Possible values include: 'Queued', 'InProgress', 'UpToDate', 'Fail',
     * 'Success'.
     */
    @JsonProperty(value = "status")
    private String status;

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

    /**
     * Set the statusId value.
     *
     * @param statusId the statusId value to set
     * @return the EnqueueTrainingResponse object itself.
     */
    public EnqueueTrainingResponse withStatusId(Integer statusId) {
        this.statusId = statusId;
        return this;
    }

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

    /**
     * Set the status value.
     *
     * @param status the status value to set
     * @return the EnqueueTrainingResponse object itself.
     */
    public EnqueueTrainingResponse withStatus(String status) {
        this.status = status;
        return this;
    }

}
