| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | using System; |
| | 5 | | using System.Collections.Generic; |
| | 6 | | using System.Text; |
| | 7 | |
|
| | 8 | | namespace 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> |
| 0 | 19 | | 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> |
| 0 | 25 | | public ETag ETag { get; internal set; } |
| | 26 | |
|
| | 27 | | /// <summary> |
| | 28 | | /// Returns the <see cref="DateTimeOffset"/> the file system was last modified. |
| | 29 | | /// </summary> |
| 0 | 30 | | public DateTimeOffset LastModified { get; internal set; } |
| | 31 | |
|
| | 32 | | /// <summary> |
| | 33 | | /// A collection of signed identifiers stored on the file system. |
| | 34 | | /// </summary> |
| 88 | 35 | | public IEnumerable<DataLakeSignedIdentifier> SignedIdentifiers { get; internal set; } |
| | 36 | |
|
| | 37 | | /// <summary> |
| | 38 | | /// Creates a new FileSystemAccessPolicy instance. |
| | 39 | | /// </summary> |
| 24 | 40 | | public FileSystemAccessPolicy() |
| | 41 | | { |
| 24 | 42 | | SignedIdentifiers = new List<DataLakeSignedIdentifier>(); |
| 24 | 43 | | } |
| | 44 | | } |
| | 45 | | } |