/**
 * 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 java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Object model for creating a list entity.
 */
public class ClosedListModelCreateObject {
    /**
     * Sublists for the feature.
     */
    @JsonProperty(value = "subLists")
    private List<WordListObject> subLists;

    /**
     * Name of the list entity.
     */
    @JsonProperty(value = "name")
    private String name;

    /**
     * Get the subLists value.
     *
     * @return the subLists value
     */
    public List<WordListObject> subLists() {
        return this.subLists;
    }

    /**
     * Set the subLists value.
     *
     * @param subLists the subLists value to set
     * @return the ClosedListModelCreateObject object itself.
     */
    public ClosedListModelCreateObject withSubLists(List<WordListObject> subLists) {
        this.subLists = subLists;
        return this;
    }

    /**
     * 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 ClosedListModelCreateObject object itself.
     */
    public ClosedListModelCreateObject withName(String name) {
        this.name = name;
        return this;
    }

}
