< Summary

Class:Azure.Storage.Files.DataLake.Models.FileSystemAccessPolicy
Assembly:Azure.Storage.Files.DataLake
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Files.DataLake\src\Models\FileSystemAccessPolicy.cs
Covered lines:4
Uncovered lines:3
Coverable lines:7
Total lines:45
Line coverage:57.1% (4 of 7)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_DataLakePublicAccess()-0%100%
get_ETag()-0%100%
get_LastModified()-0%100%
get_SignedIdentifiers()-100%100%
.ctor()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Files.DataLake\src\Models\FileSystemAccessPolicy.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.Files.DataLake.Models
 9{
 10    /// <summary>
 11    /// FileSystemAccessPolicy.
 12    /// </summary>
 13    public class FileSystemAccessPolicy
 14    {
 15        /// <summary>
 16        /// A <see cref="PublicAccessType"/> indicating whether data in the file system may
 17        /// be accessed publicly and the level of access.
 18        /// </summary>
 019        public PublicAccessType DataLakePublicAccess { get; internal set; }
 20
 21        /// <summary>
 22        /// The ETag contains a value that you can use to perform operations conditionally.
 23        /// If the request service version is 2011-08-18 or newer, the ETag value will be in quotes.
 24        /// </summary>
 025        public ETag ETag { get; internal set; }
 26
 27        /// <summary>
 28        /// Returns the <see cref="DateTimeOffset"/> the file system was last modified.
 29        /// </summary>
 030        public DateTimeOffset LastModified { get; internal set; }
 31
 32        /// <summary>
 33        /// A collection of signed identifiers stored on the file system.
 34        /// </summary>
 8835        public IEnumerable<DataLakeSignedIdentifier> SignedIdentifiers { get; internal set; }
 36
 37        /// <summary>
 38        /// Creates a new FileSystemAccessPolicy instance.
 39        /// </summary>
 2440        public FileSystemAccessPolicy()
 41        {
 2442            SignedIdentifiers = new List<DataLakeSignedIdentifier>();
 2443        }
 44    }
 45}