OBSInternalDownloadFileRequest Class Reference

Inherits from OBSBaseRequest : OBSAbstractModel : OBSMTLModel
Conforms to OBSDownloadFileProtocol
Declared in OBSDownloadFileModel.m

Other Methods

  bucketName

Bucket name

@property (nonatomic, strong, nonnull) NSString *bucketName

Declared In

OBSDownloadFileModel.h

  objectKey

Object name

@property (nonatomic, strong, nonnull) NSString *objectKey

Declared In

OBSDownloadFileModel.h

  versionID

Version ID

@property (nonatomic, strong, nonnull) NSString *versionID

Declared In

OBSDownloadFileModel.h

  ifModifiedSince

Downloads the object if it is changed after the specified point in time.

@property (nonatomic, strong, nonnull) NSDate *ifModifiedSince

Declared In

OBSDownloadFileModel.h

  ifUnmodifiedSince

Downloads the object if it remains unchanged since the specified point in time.

@property (nonatomic, strong, nonnull) NSDate *ifUnmodifiedSince

Declared In

OBSDownloadFileModel.h

  ifETagMatch

Downloads the object if its ETag is the same as the specified one.

@property (nonatomic, strong, nonnull) NSString *ifETagMatch

Declared In

OBSDownloadFileModel.h

  ifETagNoneMatch

Downloads the object if its ETag is different from the specified one.

@property (nonatomic, strong, nonnull) NSString *ifETagNoneMatch

Declared In

OBSDownloadFileModel.h

  encryption

Encryption mode

@property (nonatomic, strong, nonnull) __kindof OBSAbstractEncryption *encryption

Declared In

OBSDownloadFileModel.h

  downloadFilePath

Path to the file

@property (nonatomic, strong, nonnull) NSString *downloadFilePath

Declared In

OBSDownloadFileModel.h

  downloadProgressBlock

Download progress

@property (atomic, copy, nonnull) OBSNetworkingDownloadProgressBlock downloadProgressBlock

Declared In

OBSDownloadFileModel.h

  enableCheckpoint

Whether to enable resumable download

@property (nonatomic, assign) BOOL enableCheckpoint

Declared In

OBSDownloadFileModel.h

  enableMD5Check

Whether to enable MD5 verification

@property (nonatomic, assign) BOOL enableMD5Check

Declared In

OBSDownloadFileModel.h

  enableForceOverwrite

Whether to enable forcible overwriting

@property (nonatomic, assign) BOOL enableForceOverwrite

Declared In

OBSDownloadFileModel.h

  checkpointFilePath

File used to record progresses of resumable download

@property (nonatomic, strong, nonnull) NSString *checkpointFilePath

Declared In

OBSDownloadFileModel.h

  partSize

Part size

@property (nonatomic, strong, nonnull) NSNumber *partSize

Declared In

OBSDownloadFileModel.h

Other Methods

– cancel

Cancel the request.

- (void)cancel

Declared In

OBSBaseModel.h