< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_AdditionalProperties()-0%100%
get_SecurityEnabledOnly()-0%100%
Validate()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\graphrbac\Microsoft.Azure.Graph.RBAC\src\Generated\Models\GroupGetMemberGroupsParameters.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    /// Request parameters for GetMemberGroups API call.
 20    /// </summary>
 21    public partial class GroupGetMemberGroupsParameters
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the GroupGetMemberGroupsParameters
 25        /// class.
 26        /// </summary>
 027        public GroupGetMemberGroupsParameters()
 28        {
 29            CustomInit();
 030        }
 31
 32        /// <summary>
 33        /// Initializes a new instance of the GroupGetMemberGroupsParameters
 34        /// class.
 35        /// </summary>
 36        /// <param name="securityEnabledOnly">If true, only membership in
 37        /// security-enabled groups should be checked. Otherwise, membership in
 38        /// all groups should be checked.</param>
 39        /// <param name="additionalProperties">Unmatched properties from the
 40        /// message are deserialized this collection</param>
 041        public GroupGetMemberGroupsParameters(bool securityEnabledOnly, IDictionary<string, object> additionalProperties
 42        {
 043            AdditionalProperties = additionalProperties;
 044            SecurityEnabledOnly = securityEnabledOnly;
 45            CustomInit();
 046        }
 47
 48        /// <summary>
 49        /// An initialization method that performs custom operations like setting defaults
 50        /// </summary>
 51        partial void CustomInit();
 52
 53        /// <summary>
 54        /// Gets or sets unmatched properties from the message are deserialized
 55        /// this collection
 56        /// </summary>
 57        [JsonExtensionData]
 058        public IDictionary<string, object> AdditionalProperties { get; set; }
 59
 60        /// <summary>
 61        /// Gets or sets if true, only membership in security-enabled groups
 62        /// should be checked. Otherwise, membership in all groups should be
 63        /// checked.
 64        /// </summary>
 65        [JsonProperty(PropertyName = "securityEnabledOnly")]
 066        public bool SecurityEnabledOnly { get; set; }
 67
 68        /// <summary>
 69        /// Validate the object.
 70        /// </summary>
 71        /// <exception cref="Rest.ValidationException">
 72        /// Thrown if validation fails
 73        /// </exception>
 74        public virtual void Validate()
 75        {
 076        }
 77    }
 78}