Request
public struct Request : Codable
Undocumented
-
drive id
Declaration
Swift
public let drive_id: String
-
根目录为root
Declaration
Swift
public let parent_file_id: String
-
返回文件数量,默认 50,最大 100
Declaration
Swift
public var limit: Int?
-
分页标记
Declaration
Swift
public var marker: String?
-
created_at, updated_at, name, size, name_enhanced
Declaration
Swift
public var order_by: OrderBy?
-
DESC ASC
Declaration
Swift
public var order_direction: OrderDirection?
-
分类,目前有枚举:video | doc | audio | zip | others | image, 可任意组合,按照逗号分割,例如 video,doc,audio, image,doc
Declaration
Swift
public var category: AliyunpanFile.FileCategory?
-
all | file | folder, 默认所有类型, type为folder时,category不做检查
Declaration
Swift
public var type: AliyunpanFile.FileType?
-
生成的视频缩略图截帧时间,单位ms,默认120000ms
Declaration
Swift
public var video_thumbnail_time: Int?
-
生成的视频缩略图宽度,默认480px
Declaration
Swift
public var video_thumbnail_width: Int?
-
生成的图片缩略图宽度,默认480px
Declaration
Swift
public var image_thumbnail_width: Int?
-
当填 * 时,返回文件所有字段
Declaration
Swift
public var fields: String?
-
init(drive_id:
parent_file_id: limit: marker: order_by: order_direction: category: type: video_thumbnail_time: video_thumbnail_width: image_thumbnail_width: fields: ) Undocumented
Declaration
Swift
public init(drive_id: String, parent_file_id: String, limit: Int? = nil, marker: String? = nil, order_by: OrderBy? = nil, order_direction: OrderDirection? = nil, category: AliyunpanFile.FileCategory? = nil, type: AliyunpanFile.FileType? = nil, video_thumbnail_time: Int? = nil, video_thumbnail_width: Int? = nil, image_thumbnail_width: Int? = nil, fields: String? = nil)