< Summary

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

File(s)

C:\Git\azure-sdk-for-net\sdk\graphrbac\Microsoft.Azure.Graph.RBAC\src\Generated\Models\ServicePrincipalObjectResult.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.Linq;
 15
 16    /// <summary>
 17    /// Service Principal Object Result.
 18    /// </summary>
 19    public partial class ServicePrincipalObjectResult
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the ServicePrincipalObjectResult
 23        /// class.
 24        /// </summary>
 025        public ServicePrincipalObjectResult()
 26        {
 27            CustomInit();
 028        }
 29
 30        /// <summary>
 31        /// Initializes a new instance of the ServicePrincipalObjectResult
 32        /// class.
 33        /// </summary>
 34        /// <param name="value">The Object ID of the service principal with the
 35        /// specified application ID.</param>
 36        /// <param name="odatametadata">The URL representing edm
 37        /// equivalent.</param>
 038        public ServicePrincipalObjectResult(string value = default(string), string odatametadata = default(string))
 39        {
 040            Value = value;
 041            Odatametadata = odatametadata;
 42            CustomInit();
 043        }
 44
 45        /// <summary>
 46        /// An initialization method that performs custom operations like setting defaults
 47        /// </summary>
 48        partial void CustomInit();
 49
 50        /// <summary>
 51        /// Gets or sets the Object ID of the service principal with the
 52        /// specified application ID.
 53        /// </summary>
 54        [JsonProperty(PropertyName = "value")]
 055        public string Value { get; set; }
 56
 57        /// <summary>
 58        /// Gets or sets the URL representing edm equivalent.
 59        /// </summary>
 60        [JsonProperty(PropertyName = "odata.metadata")]
 061        public string Odatametadata { get; set; }
 62
 63    }
 64}