< Summary

Class:Microsoft.Azure.Graph.RBAC.Models.PreAuthorizedApplication
Assembly:Microsoft.Azure.Graph.RBAC
File(s):C:\Git\azure-sdk-for-net\sdk\graphrbac\Microsoft.Azure.Graph.RBAC\src\Generated\Models\PreAuthorizedApplication.cs
Covered lines:0
Uncovered lines:10
Coverable lines:10
Total lines:73
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_AppId()-0%100%
get_Permissions()-0%100%
get_Extensions()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\graphrbac\Microsoft.Azure.Graph.RBAC\src\Generated\Models\PreAuthorizedApplication.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 pre authorized client application.
 20    /// </summary>
 21    public partial class PreAuthorizedApplication
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the PreAuthorizedApplication class.
 25        /// </summary>
 026        public PreAuthorizedApplication()
 27        {
 28            CustomInit();
 029        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the PreAuthorizedApplication class.
 33        /// </summary>
 34        /// <param name="appId">Represents the application id.</param>
 35        /// <param name="permissions">Collection of required app
 36        /// permissions/entitlements from the resource application.</param>
 37        /// <param name="extensions">Collection of extensions from the resource
 38        /// application.</param>
 039        public PreAuthorizedApplication(string appId = default(string), IList<PreAuthorizedApplicationPermission> permis
 40        {
 041            AppId = appId;
 042            Permissions = permissions;
 043            Extensions = extensions;
 44            CustomInit();
 045        }
 46
 47        /// <summary>
 48        /// An initialization method that performs custom operations like setting defaults
 49        /// </summary>
 50        partial void CustomInit();
 51
 52        /// <summary>
 53        /// Gets or sets represents the application id.
 54        /// </summary>
 55        [JsonProperty(PropertyName = "appId")]
 056        public string AppId { get; set; }
 57
 58        /// <summary>
 59        /// Gets or sets collection of required app permissions/entitlements
 60        /// from the resource application.
 61        /// </summary>
 62        [JsonProperty(PropertyName = "permissions")]
 063        public IList<PreAuthorizedApplicationPermission> Permissions { get; set; }
 64
 65        /// <summary>
 66        /// Gets or sets collection of extensions from the resource
 67        /// application.
 68        /// </summary>
 69        [JsonProperty(PropertyName = "extensions")]
 070        public IList<PreAuthorizedApplicationExtension> Extensions { get; set; }
 71
 72    }
 73}