From 21d3023a9b7b6aff68c1170e345951396b1c6cfd Mon Sep 17 00:00:00 2001 From: 单军华 Date: Tue, 31 Jul 2018 13:35:21 +0800 Subject: [PATCH] no message --- screendisplay/Pods/ASIHTTPRequest/Classes/S3/ASIS3BucketObject.h | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/ASIHTTPRequest/Classes/S3/ASIS3BucketObject.h b/screendisplay/Pods/ASIHTTPRequest/Classes/S3/ASIS3BucketObject.h new file mode 100755 index 0000000..d113858 --- /dev/null +++ b/screendisplay/Pods/ASIHTTPRequest/Classes/S3/ASIS3BucketObject.h @@ -0,0 +1,54 @@ +// +// ASIS3BucketObject.h +// Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest +// +// Created by Ben Copsey on 13/07/2009. +// Copyright 2009 All-Seeing Interactive. All rights reserved. +// +// Instances of this class represent objects stored in a bucket on S3 +// ASIS3BucketRequests return an array of ASIS3BucketObjects when you perform a list query + +#import <Foundation/Foundation.h> +@class ASIS3ObjectRequest; + +@interface ASIS3BucketObject : NSObject <NSCopying> { + + // The bucket this object belongs to + NSString *bucket; + + // The key (path) of this object in the bucket + NSString *key; + + // When this object was last modified + NSDate *lastModified; + + // The ETag for this object's content + NSString *ETag; + + // The size in bytes of this object + unsigned long long size; + + // Info about the owner + NSString *ownerID; + NSString *ownerName; +} + ++ (id)objectWithBucket:(NSString *)bucket; + +// Returns a request that will fetch this object when run +- (ASIS3ObjectRequest *)GETRequest; + +// Returns a request that will replace this object with the contents of the file at filePath when run +- (ASIS3ObjectRequest *)PUTRequestWithFile:(NSString *)filePath; + +// Returns a request that will delete this object when run +- (ASIS3ObjectRequest *)DELETERequest; + +@property (retain) NSString *bucket; +@property (retain) NSString *key; +@property (retain) NSDate *lastModified; +@property (retain) NSString *ETag; +@property (assign) unsigned long long size; +@property (retain) NSString *ownerID; +@property (retain) NSString *ownerName; +@end -- Gitblit v1.8.0