Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
一、add api 1.putSymlink;2.getSymlink;3.restoreObject;
二、add testcase; 三、support setting storageClass for Creating bucket;
- Loading branch information
Showing
23 changed files
with
560 additions
and
3 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// OSSGetSymlinkRequest.h | ||
// AliyunOSSSDK | ||
// | ||
// Created by huaixu on 2018/8/1. | ||
// Copyright © 2018年 aliyun. All rights reserved. | ||
// | ||
|
||
#import "OSSRequest.h" | ||
|
||
@interface OSSGetSymlinkRequest : OSSRequest | ||
|
||
@property (nonatomic, copy) NSString *bucketName; | ||
|
||
@property (nonatomic, copy) NSString *objectKey; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// OSSGetSymlinkRequest.m | ||
// AliyunOSSSDK | ||
// | ||
// Created by huaixu on 2018/8/1. | ||
// Copyright © 2018年 aliyun. All rights reserved. | ||
// | ||
|
||
#import "OSSGetSymlinkRequest.h" | ||
|
||
@implementation OSSGetSymlinkRequest | ||
|
||
- (NSDictionary *)requestParams { | ||
return @{@"symlink": @""}; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// OSSGetSymlinkResult.h | ||
// AliyunOSSSDK | ||
// | ||
// Created by huaixu on 2018/8/1. | ||
// Copyright © 2018年 aliyun. All rights reserved. | ||
// | ||
|
||
#import "OSSResult.h" | ||
|
||
@interface OSSGetSymlinkResult : OSSResult | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// OSSGetSymlinkResult.m | ||
// AliyunOSSSDK | ||
// | ||
// Created by huaixu on 2018/8/1. | ||
// Copyright © 2018年 aliyun. All rights reserved. | ||
// | ||
|
||
#import "OSSGetSymlinkResult.h" | ||
|
||
@implementation OSSGetSymlinkResult | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// OSSPutSymlinkRequest.h | ||
// AliyunOSSSDK | ||
// | ||
// Created by huaixu on 2018/8/1. | ||
// Copyright © 2018年 aliyun. All rights reserved. | ||
// | ||
|
||
#import "OSSRequest.h" | ||
|
||
@interface OSSPutSymlinkRequest : OSSRequest | ||
|
||
/* bucket name */ | ||
@property (nonatomic, copy) NSString *bucketName; | ||
|
||
/* object name */ | ||
@property (nonatomic, copy) NSString *objectKey; | ||
|
||
/* target object name */ | ||
@property (nonatomic, copy) NSString *targetObjectName; | ||
|
||
/* meta info in request header fields */ | ||
@property (nonatomic, copy) NSDictionary *objectMeta; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// OSSPutSymlinkRequest.m | ||
// AliyunOSSSDK | ||
// | ||
// Created by huaixu on 2018/8/1. | ||
// Copyright © 2018年 aliyun. All rights reserved. | ||
// | ||
|
||
#import "OSSPutSymlinkRequest.h" | ||
|
||
@implementation OSSPutSymlinkRequest | ||
|
||
- (NSDictionary *)requestParams { | ||
return @{@"symlink": @""}; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// OSSPutSymlinkResult.h | ||
// AliyunOSSSDK | ||
// | ||
// Created by huaixu on 2018/8/1. | ||
// Copyright © 2018年 aliyun. All rights reserved. | ||
// | ||
|
||
#import "OSSResult.h" | ||
|
||
@interface OSSPutSymlinkResult : OSSResult | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// OSSPutSymlinkResult.m | ||
// AliyunOSSSDK | ||
// | ||
// Created by huaixu on 2018/8/1. | ||
// Copyright © 2018年 aliyun. All rights reserved. | ||
// | ||
|
||
#import "OSSPutSymlinkResult.h" | ||
|
||
@implementation OSSPutSymlinkResult | ||
|
||
@end |
Oops, something went wrong.