renameFolder
abstract fun renameFolder(folderId: Long, newFolderName: String): Call<RemoteFolder>
Content copied to clipboard
Rename a specified folder.
For more information, see the related documentation page.
Refer to the file names documentation page for any rules &restrictions.
Return
Call resulting in the renamed folder's metadata.
Parameters
folderId
The id of the folder you would like to rename
newFolderName
The new folder name
Throws
on a null newFolderName
argument.
abstract fun renameFolder(folder: RemoteFolder, newFolderName: String): Call<RemoteFolder>
Content copied to clipboard
Rename a specified folder.
For more information, see the related documentation page.
Refer to the file names documentation page for any rules &restrictions.
Return
Call resulting in the renamed folder's metadata.
See also
#renameFolder(long, String)
Parameters
folder
The RemoteFolder you would like to rename. Must not be null.
newFolderName
The new folder name. Must not be null.
Throws
on a null newFolderName
argument.