moveFolder

abstract fun moveFolder(folderId: Long, toFolderId: Long): Call<RemoteFolder>

Change a specified folder's parent.

For more information, see the related documentation page.

Return

Call resulting in the moved folder's metadata.

Parameters

folderId

The id of the folder you would like to move

toFolderId

The id of the new parent folder


abstract fun moveFolder(folder: RemoteFolder, toFolder: RemoteFolder): Call<RemoteFolder>

Change a specified folder's parent.

Return

Call resulting in the moved folder's metadata.

See also

#moveFolder(long, long)

Parameters

folder

The RemoteFolder you would like to move. Must not be null.

toFolder

The new parent RemoteFolder. Must not be null.

Throws

on a null toFolder argument.


abstract fun moveFolder(path: String, toPath: String): Call<RemoteFolder>

Change a specified folder's parent.

For more information, see the related documentation page.

Return

Call resulting in the moved folder's metadata.

Parameters

path

The path of the folder you would like to move

toPath

The path of the new parent folder

Throws

on a null or empty toPath argument.