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

/**
 * List of user permissions.
 */
public class UserAccessList {
    /**
     * The email address of owner of the application.
     */
    @JsonProperty(value = "owner")
    private String owner;

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

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

    /**
     * Set the owner value.
     *
     * @param owner the owner value to set
     * @return the UserAccessList object itself.
     */
    public UserAccessList withOwner(String owner) {
        this.owner = owner;
        return this;
    }

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

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

}
