QCloudSMHGetPresignedURLRequest Class Reference

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

Overview

获取文件预签名链接

  filePath

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

@property (nonatomic, strong) NSString *filePath

Declared In

QCloudSMHGetPresignedURLRequest.h

  size

缩放大小

@property (nonatomic, assign) NSInteger size

Declared In

QCloudSMHGetPresignedURLRequest.h

  historyId

历史版本id

@property (nonatomic, assign) NSInteger historyId

Declared In

QCloudSMHGetPresignedURLRequest.h

  purpose

用途,可选参数,列表页传 list、 预览页传 preview(默认);

@property (nonatomic, assign) QCloudSMHPurposeType purpose

Declared In

QCloudSMHGetPresignedURLRequest.h

  widthSize

缩放宽度,不传高度时,高度按等比例缩放,不传 Size 和 Scale 时生效;

@property (nonatomic, assign) NSInteger widthSize

Declared In

QCloudSMHGetPresignedURLRequest.h

  heightSize

缩放高度,不传宽度时,宽度按等比例缩放,不传 Size 和 Scale 时生效;

@property (nonatomic, assign) NSInteger heightSize

Declared In

QCloudSMHGetPresignedURLRequest.h

  frameNumber

帧数,针对 gif 的降帧处理;

@property (nonatomic, assign) NSInteger frameNumber

Declared In

QCloudSMHGetPresignedURLRequest.h

  scale

等比例缩放百分比,可选参数,不传 Size 时生效;

@property (nonatomic, assign) NSInteger scale

Declared In

QCloudSMHGetPresignedURLRequest.h