Revision 1cc1e8c5 trunk/Pithos.Interfaces/ObjectInfo.cs

b/trunk/Pithos.Interfaces/ObjectInfo.cs
58 58
        private readonly List<string> _knownContainers= new List<string>{"trash"};
59 59
        public string Name { get; set; }
60 60

  
61
        [JsonProperty("hash")]
61 62
        public string ETag { get; set; }
62 63

  
63
        public string Hash { get; set; }
64
        //public string Hash { get; set; }
64 65

  
66
/*
65 67
        public string X_Object_Hash { get { return Hash; } set { Hash = value; } }
68
*/
69

  
70
        public string X_Object_Hash { get; set; }
66 71

  
67 72
        [JsonProperty("x_object_uuid")]
68 73
        public string UUID { get; set; }
......
234 239
        public static ObjectInfo Empty = new ObjectInfo
235 240
        {
236 241
            Name = String.Empty,
237
            Hash = String.Empty,
242
            ETag= String.Empty,
243
            X_Object_Hash= String.Empty,
238 244
            Bytes = 0,
239 245
            Content_Type = String.Empty,
240 246
            Last_Modified = DateTime.MinValue,
......
373 379
        public ObjectInfo SetPrevious(ObjectInfo previous)
374 380
        {            
375 381
            Previous = previous;
376
            PreviousHash = previous.Hash;
382
            PreviousHash = previous.X_Object_Hash;
377 383
            return this;
378 384
        }
379 385

  

Also available in: Unified diff