< Summary

Class:Microsoft.Azure.ContainerRegistry.Models.DeletedRepository
Assembly:Microsoft.Azure.ContainerRegistry
File(s):C:\Git\azure-sdk-for-net\sdk\containerregistry\Microsoft.Azure.ContainerRegistry\src\Generated\Models\DeletedRepository.cs
Covered lines:4
Uncovered lines:4
Coverable lines:8
Total lines:61
Line coverage:50% (4 of 8)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_ManifestsDeleted()-100%100%
get_TagsDeleted()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\containerregistry\Microsoft.Azure.ContainerRegistry\src\Generated\Models\DeletedRepository.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.ContainerRegistry.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    /// <summary>
 19    /// Deleted repository
 20    /// </summary>
 21    public partial class DeletedRepository
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the DeletedRepository class.
 25        /// </summary>
 226        public DeletedRepository()
 27        {
 28            CustomInit();
 229        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the DeletedRepository class.
 33        /// </summary>
 34        /// <param name="manifestsDeleted">SHA of the deleted image</param>
 35        /// <param name="tagsDeleted">Tag of the deleted image</param>
 036        public DeletedRepository(IList<string> manifestsDeleted = default(IList<string>), IList<string> tagsDeleted = de
 37        {
 038            ManifestsDeleted = manifestsDeleted;
 039            TagsDeleted = tagsDeleted;
 40            CustomInit();
 041        }
 42
 43        /// <summary>
 44        /// An initialization method that performs custom operations like setting defaults
 45        /// </summary>
 46        partial void CustomInit();
 47
 48        /// <summary>
 49        /// Gets or sets SHA of the deleted image
 50        /// </summary>
 51        [JsonProperty(PropertyName = "manifestsDeleted")]
 852        public IList<string> ManifestsDeleted { get; set; }
 53
 54        /// <summary>
 55        /// Gets or sets tag of the deleted image
 56        /// </summary>
 57        [JsonProperty(PropertyName = "tagsDeleted")]
 858        public IList<string> TagsDeleted { get; set; }
 59
 60    }
 61}