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

/**
 * Available culture for using in a new application.
 */
public class AvailableCulture {
    /**
     * The language name.
     */
    @JsonProperty(value = "name")
    private String name;

    /**
     * The ISO value for the language.
     */
    @JsonProperty(value = "code")
    private String code;

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

    /**
     * Set the name value.
     *
     * @param name the name value to set
     * @return the AvailableCulture object itself.
     */
    public AvailableCulture withName(String name) {
        this.name = name;
        return this;
    }

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

    /**
     * Set the code value.
     *
     * @param code the code value to set
     * @return the AvailableCulture object itself.
     */
    public AvailableCulture withCode(String code) {
        this.code = code;
        return this;
    }

}
