-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathStoredBlob.cs
51 lines (43 loc) · 1.33 KB
/
StoredBlob.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
using System;
using System.Collections.Generic;
namespace Snd.Sdk.Storage.Models
{
/// <summary>
/// Blob object metadata.
/// </summary>
public sealed class StoredBlob
{
/// <summary>
/// Additional metadata attached to this object.
/// </summary>
public IDictionary<string, string> Metadata { get; set; }
/// <summary>
/// Content hashsum.
/// </summary>
public string ContentHash { get; set; }
/// <summary>
/// Content encoding, for example utf-8.
/// </summary>
public string ContentEncoding { get; set; }
/// <summary>
/// Content type, for example text/plain.
/// </summary>
public string ContentType { get; set; }
/// <summary>
/// Content length in bytes.
/// </summary>
public long? ContentLength { get; set; }
/// <summary>
/// Blob filename. May contain full path, depending on the actual storage.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Last modified timestamp.
/// </summary>
public DateTimeOffset? LastModified { get; set; }
/// <summary>
/// Created on timestamp.
/// </summary>
public DateTimeOffset? CreatedOn { get; set; }
}
}