-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
PathItem.cs
82 lines (68 loc) · 2.27 KB
/
PathItem.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure.Storage.Files.DataLake.Models
{
/// <summary>
/// Path
/// </summary>
public class PathItem
{
/// <summary>
/// name
/// </summary>
public string Name { get; internal set; }
/// <summary>
/// isDirectory
/// </summary>
public bool? IsDirectory { get; internal set; }
/// <summary>
/// lastModified
/// </summary>
public DateTimeOffset LastModified { get; internal set; }
/// <summary>
/// eTag
/// </summary>
public ETag ETag { get; internal set; }
/// <summary>
/// contentLength
/// </summary>
public long? ContentLength { get; internal set; }
/// <summary>
/// owner
/// </summary>
public string Owner { get; internal set; }
/// <summary>
/// group
/// </summary>
public string Group { get; internal set; }
/// <summary>
/// permissions
/// </summary>
public string Permissions { get; internal set; }
/// <summary>
/// Created on.
/// </summary>
public DateTimeOffset? CreatedOn { get; internal set; }
/// <summary>
/// Expiry-Time.
/// </summary>
public DateTimeOffset? ExpiresOn { get; internal set; }
/// <summary>
/// The name of the encryption scope under which the blob is encrypted.
/// </summary>
public string EncryptionScope { get; internal set; }
/// <summary>
/// Encryption context of the file. Encryption context is metadata that is not encrypted when stored on the file.
/// The primary application of this field is to store non-encrypted data that can be used to derive the customer-provided key
/// for a file.
/// Not applicable for directories.
/// </summary>
public string EncryptionContext { get; internal set; }
/// <summary>
/// Prevent direct instantiation of PathItem instances.
/// You can use DataLakeModelFactory.PathItem instead.
/// </summary>
internal PathItem() { }
}
}