OBSDownloadFileRequest Class Reference
| Inherits from | OBSBaseRequest : OBSAbstractModel : OBSMTLModel | 
|---|---|
| Conforms to | OBSDownloadFileProtocol | 
| Declared in | OBSDownloadFileModel.h OBSDownloadFileModel.m  | 
Other Methods
– initWithBucketName:objectKey:downloadFilePath:
	Initialize the resumable download request.
- (instancetype)initWithBucketName:(NSString *)bucketName objectKey:(NSString *)objectKey downloadFilePath:(NSString *)downloadFilePathParameters
bucketName | 
						Bucket name  | 
					
|---|---|
objectKey | 
						Object name  | 
					
downloadFilePath | 
						File path  | 
					
Return Value
Resumable download request
Declared In
OBSDownloadFileModel.h
Other Methods
  bucketName
	Bucket name
@property (nonatomic, strong, nonnull) NSString *bucketNameDeclared In
OBSDownloadFileModel.h
  objectKey
	Object name
@property (nonatomic, strong, nonnull) NSString *objectKeyDeclared In
OBSDownloadFileModel.h
  versionID
	Version ID
@property (nonatomic, strong, nonnull) NSString *versionIDDeclared In
OBSDownloadFileModel.h
  ifModifiedSince
	Downloads the object if it is changed after the specified point in time.
@property (nonatomic, strong, nonnull) NSDate *ifModifiedSinceDeclared In
OBSDownloadFileModel.h
  ifUnmodifiedSince
	Downloads the object if it remains unchanged since the specified point in time.
@property (nonatomic, strong, nonnull) NSDate *ifUnmodifiedSinceDeclared In
OBSDownloadFileModel.h
  ifETagMatch
	Downloads the object if its ETag is the same as the specified one.
@property (nonatomic, strong, nonnull) NSString *ifETagMatchDeclared In
OBSDownloadFileModel.h
  ifETagNoneMatch
	Downloads the object if its ETag is different from the specified one.
@property (nonatomic, strong, nonnull) NSString *ifETagNoneMatchDeclared In
OBSDownloadFileModel.h
  encryption
	Encryption mode
@property (nonatomic, strong, nonnull) __kindof OBSAbstractEncryption *encryptionDeclared In
OBSDownloadFileModel.h
  downloadFilePath
	File path
@property (nonatomic, strong, nonnull) NSString *downloadFilePathDeclared In
OBSDownloadFileModel.h
  downloadProgressBlock
	File download callback
@property (atomic, copy, nonnull) OBSNetworkingDownloadProgressBlock downloadProgressBlockDeclared In
OBSDownloadFileModel.h
  enableCheckpoint
	Whether resumable mode is used
@property (nonatomic, assign) BOOL enableCheckpointDeclared In
OBSDownloadFileModel.h
  enableMD5Check
	Whether to enable MD5 verification
@property (nonatomic, assign) BOOL enableMD5CheckDeclared In
OBSDownloadFileModel.h
  enableForceOverwrite
	Whether to enable forcible overwriting
@property (nonatomic, assign) BOOL enableForceOverwriteDeclared In
OBSDownloadFileModel.h
  checkpointFilePath
	File used to record progresses of resumable download
@property (nonatomic, strong, nonnull) NSString *checkpointFilePathDeclared In
OBSDownloadFileModel.h
  partSize
	Part size
@property (nonatomic, strong, nonnull) NSNumber *partSizeDeclared In
OBSDownloadFileModel.h