< Summary

Class:Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.UserAccessList
Assembly:Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.LUIS.Authoring\src\Generated\Models\UserAccessList.cs
Covered lines:0
Uncovered lines:8
Coverable lines:8
Total lines:60
Line coverage:0% (0 of 8)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Owner()-0%100%
get_Emails()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.LUIS.Authoring\src\Generated\Models\UserAccessList.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    /// <summary>
 19    /// List of user permissions.
 20    /// </summary>
 21    public partial class UserAccessList
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the UserAccessList class.
 25        /// </summary>
 026        public UserAccessList()
 27        {
 28            CustomInit();
 029        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the UserAccessList class.
 33        /// </summary>
 34        /// <param name="owner">The email address of owner of the
 35        /// application.</param>
 036        public UserAccessList(string owner = default(string), IList<string> emails = default(IList<string>))
 37        {
 038            Owner = owner;
 039            Emails = emails;
 40            CustomInit();
 041        }
 42
 43        /// <summary>
 44        /// An initialization method that performs custom operations like setting defaults
 45        /// </summary>
 46        partial void CustomInit();
 47
 48        /// <summary>
 49        /// Gets or sets the email address of owner of the application.
 50        /// </summary>
 51        [JsonProperty(PropertyName = "owner")]
 052        public string Owner { get; set; }
 53
 54        /// <summary>
 55        /// </summary>
 56        [JsonProperty(PropertyName = "emails")]
 057        public IList<string> Emails { get; set; }
 58
 59    }
 60}