< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_AdditionalProperties()-0%100%
get_ObjectIds()-100%100%
get_Types()-100%100%
get_IncludeDirectoryObjectReferences()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\graphrbac\Microsoft.Azure.Graph.RBAC\src\Generated\Models\GetObjectsParameters.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 the GetObjectsByObjectIds API.
 20    /// </summary>
 21    public partial class GetObjectsParameters
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the GetObjectsParameters class.
 25        /// </summary>
 626        public GetObjectsParameters()
 27        {
 28            CustomInit();
 629        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the GetObjectsParameters class.
 33        /// </summary>
 34        /// <param name="additionalProperties">Unmatched properties from the
 35        /// message are deserialized this collection</param>
 36        /// <param name="objectIds">The requested object IDs.</param>
 37        /// <param name="types">The requested object types.</param>
 38        /// <param name="includeDirectoryObjectReferences">If true, also
 39        /// searches for object IDs in the partner tenant.</param>
 040        public GetObjectsParameters(IDictionary<string, object> additionalProperties = default(IDictionary<string, objec
 41        {
 042            AdditionalProperties = additionalProperties;
 043            ObjectIds = objectIds;
 044            Types = types;
 045            IncludeDirectoryObjectReferences = includeDirectoryObjectReferences;
 46            CustomInit();
 047        }
 48
 49        /// <summary>
 50        /// An initialization method that performs custom operations like setting defaults
 51        /// </summary>
 52        partial void CustomInit();
 53
 54        /// <summary>
 55        /// Gets or sets unmatched properties from the message are deserialized
 56        /// this collection
 57        /// </summary>
 58        [JsonExtensionData]
 059        public IDictionary<string, object> AdditionalProperties { get; set; }
 60
 61        /// <summary>
 62        /// Gets or sets the requested object IDs.
 63        /// </summary>
 64        [JsonProperty(PropertyName = "objectIds")]
 1265        public IList<string> ObjectIds { get; set; }
 66
 67        /// <summary>
 68        /// Gets or sets the requested object types.
 69        /// </summary>
 70        [JsonProperty(PropertyName = "types")]
 1271        public IList<string> Types { get; set; }
 72
 73        /// <summary>
 74        /// Gets or sets if true, also searches for object IDs in the partner
 75        /// tenant.
 76        /// </summary>
 77        [JsonProperty(PropertyName = "includeDirectoryObjectReferences")]
 078        public bool? IncludeDirectoryObjectReferences { get; set; }
 79
 80    }
 81}