| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | using System.Collections.Generic; |
| | | 5 | | |
| | | 6 | | namespace Azure.Storage.Files.DataLake.Models |
| | | 7 | | { |
| | | 8 | | /// <summary> |
| | | 9 | | /// The Access Control for a path. |
| | | 10 | | /// </summary> |
| | | 11 | | public class PathAccessControl |
| | | 12 | | { |
| | | 13 | | /// <summary> |
| | | 14 | | /// The owner of the file or directory. Included in the response if Hierarchical Namespace is enabled for the ac |
| | | 15 | | /// </summary> |
| | 188 | 16 | | public string Owner { get; internal set; } |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// The owning group of the file or directory. Included in the response if Hierarchical Namespace is enabled for |
| | | 20 | | /// </summary> |
| | 188 | 21 | | public string Group { get; internal set; } |
| | | 22 | | |
| | | 23 | | /// <summary> |
| | | 24 | | /// The POSIX access permissions for the file owner, the file owning group, and others. Included in the response |
| | | 25 | | /// Hierarchical Namespace is enabled for the account. |
| | | 26 | | /// </summary> |
| | 220 | 27 | | public PathPermissions Permissions { get; internal set; } |
| | | 28 | | |
| | | 29 | | /// <summary> |
| | | 30 | | /// The POSIX access control list for the file or directory. Included in the response only if Hierarchical |
| | | 31 | | /// Namespace is enabled for the account. |
| | | 32 | | /// </summary> |
| | 188 | 33 | | public IEnumerable<PathAccessControlItem> AccessControlList { get; internal set; } |
| | | 34 | | |
| | | 35 | | /// <summary> |
| | | 36 | | /// Prevent direct instantiation of PathAccessControl instances. |
| | | 37 | | /// You can use DataLakeModelFactory.PathAccessControl instead. |
| | | 38 | | /// </summary> |
| | 272 | 39 | | internal PathAccessControl() { } |
| | | 40 | | } |
| | | 41 | | } |