< Summary

Class:Microsoft.Azure.Graph.RBAC.Models.CheckGroupMembershipResult
Assembly:Microsoft.Azure.Graph.RBAC
File(s):C:\Git\azure-sdk-for-net\sdk\graphrbac\Microsoft.Azure.Graph.RBAC\src\Generated\Models\CheckGroupMembershipResult.cs
Covered lines:0
Uncovered lines:8
Coverable lines:8
Total lines:67
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_AdditionalProperties()-0%100%
get_Value()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\graphrbac\Microsoft.Azure.Graph.RBAC\src\Generated\Models\CheckGroupMembershipResult.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    /// Server response for IsMemberOf API call
 20    /// </summary>
 21    public partial class CheckGroupMembershipResult
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the CheckGroupMembershipResult class.
 25        /// </summary>
 026        public CheckGroupMembershipResult()
 27        {
 28            CustomInit();
 029        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the CheckGroupMembershipResult class.
 33        /// </summary>
 34        /// <param name="additionalProperties">Unmatched properties from the
 35        /// message are deserialized this collection</param>
 36        /// <param name="value">True if the specified user, group, contact, or
 37        /// service principal has either direct or transitive membership in the
 38        /// specified group; otherwise, false.</param>
 039        public CheckGroupMembershipResult(IDictionary<string, object> additionalProperties = default(IDictionary<string,
 40        {
 041            AdditionalProperties = additionalProperties;
 042            Value = value;
 43            CustomInit();
 044        }
 45
 46        /// <summary>
 47        /// An initialization method that performs custom operations like setting defaults
 48        /// </summary>
 49        partial void CustomInit();
 50
 51        /// <summary>
 52        /// Gets or sets unmatched properties from the message are deserialized
 53        /// this collection
 54        /// </summary>
 55        [JsonExtensionData]
 056        public IDictionary<string, object> AdditionalProperties { get; set; }
 57
 58        /// <summary>
 59        /// Gets or sets true if the specified user, group, contact, or service
 60        /// principal has either direct or transitive membership in the
 61        /// specified group; otherwise, false.
 62        /// </summary>
 63        [JsonProperty(PropertyName = "value")]
 064        public bool? Value { get; set; }
 65
 66    }
 67}