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


/**
 * The BatchOptionalParameter model.
 */
public class BatchOptionalParameter {
    /**
     * Toggles nested/flat format.
     */
    private Boolean enableNestedChildren;

    /**
     * Gets or sets the preferred language for the response.
     */
    private String thisclientacceptLanguage;

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

    /**
     * Set the enableNestedChildren value.
     *
     * @param enableNestedChildren the enableNestedChildren value to set
     * @return the BatchOptionalParameter object itself.
     */
    public BatchOptionalParameter withEnableNestedChildren(Boolean enableNestedChildren) {
        this.enableNestedChildren = enableNestedChildren;
        return this;
    }

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

    /**
     * Set the thisclientacceptLanguage value.
     *
     * @param thisclientacceptLanguage the thisclientacceptLanguage value to set
     * @return the BatchOptionalParameter object itself.
     */
    public BatchOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage) {
        this.thisclientacceptLanguage = thisclientacceptLanguage;
        return this;
    }

}
