< Summary

Class:Microsoft.Azure.Graph.RBAC.Models.SignInName
Assembly:Microsoft.Azure.Graph.RBAC
File(s):C:\Git\azure-sdk-for-net\sdk\graphrbac\Microsoft.Azure.Graph.RBAC\src\Generated\Models\SignInName.cs
Covered lines:0
Uncovered lines:10
Coverable lines:10
Total lines:79
Line coverage:0% (0 of 10)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_AdditionalProperties()-0%100%
get_Type()-0%100%
get_Value()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\graphrbac\Microsoft.Azure.Graph.RBAC\src\Generated\Models\SignInName.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.Graph.RBAC.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    /// <summary>
 19    /// Contains information about a sign-in name of a local account user in an
 20    /// Azure Active Directory B2C tenant.
 21    /// </summary>
 22    public partial class SignInName
 23    {
 24        /// <summary>
 25        /// Initializes a new instance of the SignInName class.
 26        /// </summary>
 027        public SignInName()
 28        {
 29            CustomInit();
 030        }
 31
 32        /// <summary>
 33        /// Initializes a new instance of the SignInName class.
 34        /// </summary>
 35        /// <param name="additionalProperties">Unmatched properties from the
 36        /// message are deserialized this collection</param>
 37        /// <param name="type">A string value that can be used to classify user
 38        /// sign-in types in your directory, such as 'emailAddress' or
 39        /// 'userName'.</param>
 40        /// <param name="value">The sign-in used by the local account. Must be
 41        /// unique across the company/tenant. For example,
 42        /// 'johnc@example.com'.</param>
 043        public SignInName(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), strin
 44        {
 045            AdditionalProperties = additionalProperties;
 046            Type = type;
 047            Value = value;
 48            CustomInit();
 049        }
 50
 51        /// <summary>
 52        /// An initialization method that performs custom operations like setting defaults
 53        /// </summary>
 54        partial void CustomInit();
 55
 56        /// <summary>
 57        /// Gets or sets unmatched properties from the message are deserialized
 58        /// this collection
 59        /// </summary>
 60        [JsonExtensionData]
 061        public IDictionary<string, object> AdditionalProperties { get; set; }
 62
 63        /// <summary>
 64        /// Gets or sets a string value that can be used to classify user
 65        /// sign-in types in your directory, such as 'emailAddress' or
 66        /// 'userName'.
 67        /// </summary>
 68        [JsonProperty(PropertyName = "type")]
 069        public string Type { get; set; }
 70
 71        /// <summary>
 72        /// Gets or sets the sign-in used by the local account. Must be unique
 73        /// across the company/tenant. For example, 'johnc@example.com'.
 74        /// </summary>
 75        [JsonProperty(PropertyName = "value")]
 076        public string Value { get; set; }
 77
 78    }
 79}