Smartsheet.Api.Internal.FolderResourcesImpl.MoveFolder C# (CSharp) Method

MoveFolder() public method

Moves the specified Folder to another location.

It mirrors To the following Smartsheet REST API method:
POST /folders/{folderId}/move

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public MoveFolder ( long folderId, ContainerDestination destination ) : Folder
folderId long the folder Id
destination ContainerDestination the destination to copy to
return Folder
        public virtual Folder MoveFolder(long folderId, ContainerDestination destination)
        {
            return this.CreateResource<RequestResult<Folder>, ContainerDestination>("folders/" + folderId + "/move", destination).Result;
        }