/**
 * 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;

/**
 * Object model for publishing a specific application version.
 */
public class ApplicationPublishObject {
    /**
     * The version ID to publish.
     */
    @JsonProperty(value = "versionId")
    private String versionId;

    /**
     * Indicates if the staging slot should be used, instead of the Production
     * one.
     */
    @JsonProperty(value = "isStaging")
    private Boolean isStaging;

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

    /**
     * Set the versionId value.
     *
     * @param versionId the versionId value to set
     * @return the ApplicationPublishObject object itself.
     */
    public ApplicationPublishObject withVersionId(String versionId) {
        this.versionId = versionId;
        return this;
    }

    /**
     * Get the isStaging value.
     *
     * @return the isStaging value
     */
    public Boolean isStaging() {
        return this.isStaging;
    }

    /**
     * Set the isStaging value.
     *
     * @param isStaging the isStaging value to set
     * @return the ApplicationPublishObject object itself.
     */
    public ApplicationPublishObject withIsStaging(Boolean isStaging) {
        this.isStaging = isStaging;
        return this;
    }

}
