move

abstract fun move(file: RemoteEntry, toFolder: RemoteFolder): Call<out RemoteEntry>

Move a specified file or folder.

The call will move the file or folder specified by the file argument to specified toFolder.

Return

Call resulting in the metadata of the moved file or folder.

See also

Parameters

file

The RemoteEntry to be moved. Must not be null.

toFolder

The RemoteFolder where the file will be moved. Must not be null.

Throws

on a null toFolder argument.


abstract fun move(id: String, toFolderId: Long): Call<out RemoteEntry>

Move a specified file or folder.

The call will move the file or folder specified by the file argument to specified toFolder.

Return

Call resulting in the metadata of the moved file or folder.

See also

Parameters

id

The id of the file or folder to be moved. Must not be null.

toFolderId

The RemoteFolder where the file will be moved. Must not be null.

Throws

on a null toFolder argument.