// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace AutorestClient.Models
{
    using Newtonsoft.Json;
    using System.Collections;
    using System.Collections.Generic;
    using System.Linq;

    /// <summary>
    /// AssignRoles
    /// </summary>
    /// <remarks>
    /// AssignRoles
    /// </remarks>
    public partial class AssignRoles
    {
        /// <summary>
        /// Initializes a new instance of the AssignRoles class.
        /// </summary>
        public AssignRoles()
        {
          CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the AssignRoles class.
        /// </summary>
        public AssignRoles(string userName = default(string), IList<string> permissions = default(IList<string>), IList<string> roles = default(IList<string>))
        {
            UserName = userName;
            Permissions = permissions;
            Roles = roles;
            CustomInit();
        }

        /// <summary>
        /// An initialization method that performs custom operations like setting defaults
        /// </summary>
        partial void CustomInit();

        /// <summary>
        /// </summary>
        [JsonProperty(PropertyName = "UserName")]
        public string UserName { get; set; }

        /// <summary>
        /// </summary>
        [JsonProperty(PropertyName = "Permissions")]
        public IList<string> Permissions { get; set; }

        /// <summary>
        /// </summary>
        [JsonProperty(PropertyName = "Roles")]
        public IList<string> Roles { get; set; }

    }
}
