< Summary

Class:Azure.Storage.Blobs.Models.ObjectReplicationPolicy
Assembly:Azure.Storage.Blobs
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs\src\Models\ObjectReplicationPolicy.cs
Covered lines:1
Uncovered lines:2
Coverable lines:3
Total lines:31
Line coverage:33.3% (1 of 3)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
get_PolicyId()-0%100%
get_Rules()-0%100%

File(s)

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

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3using System;
 4using System.Collections.Generic;
 5using System.Text;
 6
 7namespace Azure.Storage.Blobs.Models
 8{
 9    /// <summary>
 10    /// Contains Object Replication Policy ID and the respective list of
 11    /// <see cref="ObjectReplicationRule"/>(s). This is used when retrieving the
 12    /// Object Replication Properties on the source blob. The policy id for the
 13    /// destination blob is set in ObjectReplicationDestinationPolicyId of the respective
 14    /// method responses. (e.g. <see cref="BlobProperties.ObjectReplicationDestinationPolicyId"/>,
 15    /// <see cref="BlobDownloadDetails.ObjectReplicationDestinationPolicyId"/>).
 16    /// </summary>
 17    public class ObjectReplicationPolicy
 18    {
 18419        internal ObjectReplicationPolicy() { }
 20        /// <summary>
 21        /// The Object Replication Policy ID.
 22        /// </summary>
 023        public string PolicyId { get; internal set; }
 24        /// <summary>
 25        /// The Rule ID(s) and respective Replication Status(s) that are under
 26        /// the Policy ID.
 27        /// </summary>
 028        public IList<ObjectReplicationRule> Rules { get; internal set; }
 29
 30    }
 31}

Methods/Properties

.ctor()
get_PolicyId()
get_Rules()