Revision 06f11e8b trunk/Pithos.Interfaces/ObjectInfo.cs
b/trunk/Pithos.Interfaces/ObjectInfo.cs | ||
---|---|---|
14 | 14 |
{ |
15 | 15 |
private readonly List<string> _knownContainers= new List<string>{"trash"}; |
16 | 16 |
public string Name { get; set; } |
17 |
|
|
18 |
|
|
17 | 19 |
public string Hash { get; set; } |
20 |
|
|
21 |
public string X_Object_Hash { get { return Hash; } set { Hash = value; } } |
|
22 |
|
|
23 |
[JsonProperty("x_object_uuid")] |
|
24 |
public string UUID { get; set; } |
|
25 |
|
|
18 | 26 |
public long Bytes { get; set; } |
19 | 27 |
public string Content_Type { get; set; } |
20 | 28 |
public DateTime Last_Modified { get; set; } |
... | ... | |
85 | 93 |
public string ContentEncoding { get; set; } |
86 | 94 |
|
87 | 95 |
public string Manifest { get; set; } |
88 |
|
|
96 |
|
|
89 | 97 |
public bool IsPublic |
90 | 98 |
{ |
91 | 99 |
get { return !String.IsNullOrWhiteSpace(PublicUrl); } |
... | ... | |
98 | 106 |
} |
99 | 107 |
} |
100 | 108 |
|
109 |
[JsonProperty("X_Object_Public")] |
|
101 | 110 |
public string PublicUrl { get; set; } |
102 | 111 |
|
103 | 112 |
public ObjectInfo() |
Also available in: Unified diff