< Summary

Class:Azure.Storage.Blobs.Models.BlobItem
Assembly:Azure.Storage.Blobs
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs\src\Models\BlobItem.cs
Covered lines:10
Uncovered lines:0
Coverable lines:10
Total lines:62
Line coverage:100% (10 of 10)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
get_Name()-100%100%
get_Deleted()-100%100%
get_Snapshot()-100%100%
get_VersionId()-100%100%
get_IsLatestVersion()-100%100%
get_Properties()-100%100%
get_Metadata()-100%100%
get_Tags()-100%100%
get_ObjectReplicationSourceProperties()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs\src\Models\BlobItem.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5using System.Collections.Generic;
 6using System.Text;
 7
 8namespace Azure.Storage.Blobs.Models
 9{
 10    /// <summary>
 11    /// An Azure Storage blob.
 12    /// </summary>
 13    public class BlobItem
 14    {
 2163215        internal BlobItem() { }
 16
 17        /// <summary>
 18        /// Name.
 19        /// </summary>
 2146420        public string Name { get; internal set; }
 21
 22        /// <summary>
 23        /// Deleted.
 24        /// </summary>
 52825        public bool Deleted { get; internal set; }
 26
 27        /// <summary>
 28        /// Snapshot.
 29        /// </summary>
 52830        public string Snapshot { get; internal set; }
 31
 32        /// <summary>
 33        /// VersionId.
 34        /// </summary>
 53635        public string VersionId { get; internal set; }
 36
 37        /// <summary>
 38        /// IsCurrentVersion.
 39        /// </summary>
 53640        public bool? IsLatestVersion { get; internal set; }
 41
 42        /// <summary>
 43        /// Properties of a blob.
 44        /// </summary>
 56445        public BlobItemProperties Properties { get; internal set; }
 46
 47        /// <summary>
 48        /// Metadata.
 49        /// </summary>
 73650        public IDictionary<string, string> Metadata { get; internal set; }
 51
 52        /// <summary>
 53        /// Tags.
 54        /// </summary>
 52855        public IDictionary<string, string> Tags { get; internal set; }
 56
 57        /// <summary>
 58        /// Object Replication Metadata (OrMetadata)
 59        /// </summary>
 52860        public IList<ObjectReplicationPolicy> ObjectReplicationSourceProperties { get; internal set; }
 61    }
 62}