< Summary

Class:Microsoft.Azure.KeyVault.Models.Contacts
Assembly:Microsoft.Azure.KeyVault
File(s):C:\Git\azure-sdk-for-net\sdk\keyvault\Microsoft.Azure.KeyVault\src\Generated\Models\Contacts.cs
Covered lines:3
Uncovered lines:5
Coverable lines:8
Total lines:62
Line coverage:37.5% (3 of 8)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Id()-0%100%
get_ContactList()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\keyvault\Microsoft.Azure.KeyVault\src\Generated\Models\Contacts.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.KeyVault.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    /// <summary>
 19    /// The contacts for the vault certificates.
 20    /// </summary>
 21    public partial class Contacts
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the Contacts class.
 25        /// </summary>
 1226        public Contacts()
 27        {
 28            CustomInit();
 1229        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the Contacts class.
 33        /// </summary>
 34        /// <param name="id">Identifier for the contacts collection.</param>
 35        /// <param name="contactList">The contact list for the vault
 36        /// certificates.</param>
 037        public Contacts(string id = default(string), IList<Contact> contactList = default(IList<Contact>))
 38        {
 039            Id = id;
 040            ContactList = contactList;
 41            CustomInit();
 042        }
 43
 44        /// <summary>
 45        /// An initialization method that performs custom operations like setting defaults
 46        /// </summary>
 47        partial void CustomInit();
 48
 49        /// <summary>
 50        /// Gets identifier for the contacts collection.
 51        /// </summary>
 52        [JsonProperty(PropertyName = "id")]
 053        public string Id { get; private set; }
 54
 55        /// <summary>
 56        /// Gets or sets the contact list for the vault certificates.
 57        /// </summary>
 58        [JsonProperty(PropertyName = "contacts")]
 8659        public IList<Contact> ContactList { get; set; }
 60
 61    }
 62}