Request
public struct Request : Codable
                Undocumented
- 
                  
                  
drive id
Declaration
Swift
public let drive_id: String - 
                  
                  
返回文件数量,默认 100,最大100
Declaration
Swift
public let limit: Int? - 
                  
                  
分页标记
Declaration
Swift
public let marker: String? - 
                  
                  
查询语句,样例:固定目录搜索,只搜索一级 parent_file_id = ‘123’ 精确查询 name = ‘123’ 模糊匹配 name match ‘123’ 搜索指定后缀文件 file_extension = ‘apk’ 范围查询 created_at < ‘2019-01-14T00:00:00’ 复合查询: type = ‘folder’ or name = ‘123’ parent_file_id = ‘root’ and name = ‘123’ and category = ‘video’
Declaration
Swift
public let query: String? - 
                  
                  
created_at ASC | DESC updated_at ASC | DESC name ASC | DESC size ASC | DESC
Declaration
Swift
public let order_by: String? - 
                  
                  
生成的视频缩略图截帧时间,单位ms,默认120000ms
Declaration
Swift
public let video_thumbnail_time: Int? - 
                  
                  
生成的视频缩略图宽度,默认480px
Declaration
Swift
public let video_thumbnail_width: Int? - 
                  
                  
生成的图片缩略图宽度,默认480px
Declaration
Swift
public let image_thumbnail_width: Int? - 
                  
                  
是否返回总数
Declaration
Swift
public let return_total_count: Bool? - 
                  
init(drive_id:limit: marker: query: order_by: order_direction: video_thumbnail_time: video_thumbnail_width: image_thumbnail_width: return_total_count: ) Undocumented
Declaration
Swift
public init(drive_id: String, limit: Int?, marker: String?, query: String?, order_by: OrderBy?, order_direction: OrderDirection?, video_thumbnail_time: Int?, video_thumbnail_width: Int?, image_thumbnail_width: Int?, return_total_count: Bool?)