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

/**
 * Exported Model - A list entity.
 */
public class ClosedList {
    /**
     * Name of the list entity.
     */
    @JsonProperty(value = "name")
    private String name;

    /**
     * Sublists for the list entity.
     */
    @JsonProperty(value = "subLists")
    private List<SubClosedList> subLists;

    /**
     * The roles property.
     */
    @JsonProperty(value = "roles")
    private List<String> roles;

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

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

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

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

    /**
     * Set the roles value.
     *
     * @param roles the roles value to set
     * @return the ClosedList object itself.
     */
    public ClosedList withRoles(List<String> roles) {
        this.roles = roles;
        return this;
    }

}
