Пример #1
0
 public Ds3ObjectInfo(string name, long? size, Owner owner, string etag, string storageClass, DateTime lastModified)
     : base(name, size)
 {
     this.Owner = owner;
     this.Etag = etag;
     this.StorageClass = storageClass;
     this.LastModified = lastModified;
 }
Пример #2
0
 public static Ds3ObjectInfo BuildDs3Object(string key, string eTag, string lastModified, long size)
 {
     var owner = new Owner("*****@*****.**", "75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a");
     return new Ds3ObjectInfo(key, size, owner, eTag, "STANDARD", DateTime.Parse(lastModified));
 }
Пример #3
0
 public GetServiceResponse(Owner owner, List<Bucket> buckets)
 {
     this.Owner = owner;
     this.Buckets = buckets;
 }