QCloudSMHPutObjectLinkRequest Class Reference

Inherits from QCloudSMHBizRequest : QCloudSMHBaseRequest : QCloudHTTPRequest
Declared in QCloudSMHPutObjectLinkRequest.h
QCloudSMHPutObjectLinkRequest.m

Overview

创建符号链接

  filePath

完整文件路径,例如 /api/v1/file/smhxxx/-/foo/bar/file_new.docx ;

@property (nonatomic, strong) NSString *filePath

Declared In

QCloudSMHPutObjectLinkRequest.h

  conflictStrategy

文件名冲突时的处理方式,默认为 rename ask: 冲突时返回 HTTP 409 Conflict 及 SameNameDirectoryOrFileExists 错误码, rename: 冲突时自动重命名文件 overwrite: 如果冲突目标为目录时返回 HTTP 409 Conflict 及 SameNameDirectoryOrFileExists 错误码,否则覆盖已有文件,;

@property (nonatomic, assign) QCloudSMHConflictStrategyEnum conflictStrategy

Declared In

QCloudSMHPutObjectLinkRequest.h

  linkTo

符号链接指向的源文件绝对路径;

@property (nonatomic, strong) NSString *linkTo

Declared In

QCloudSMHPutObjectLinkRequest.h