Request
public struct Request : Codable
Undocumented
-
drive id
Declaration
Swift
public let drive_id: String
-
file_id
Declaration
Swift
public let file_id: String
-
父文件ID、根目录为 root
Declaration
Swift
public let to_parent_file_id: String
-
目标drive,默认是当前drive_id
Declaration
Swift
public let to_drive_id: String?
-
当目标文件夹下存在同名文件时,是否自动重命名,默认为 false,默认允许同名文件
Declaration
Swift
public let auto_rename: Bool?
-
Undocumented
Declaration
Swift
public init(drive_id: String, file_id: String, to_parent_file_id: String, to_drive_id: String? = nil, auto_rename: Bool? = nil)