Fields
Fields
| Parameter | Description | |
|---|---|---|
resourceIdString |
required | Id of the file or folder to be moved. |
resourceTypeString |
required | One of file or folder. |
driveIdString |
required | Drive Id, applicable for SharePoint or Google Drive. You can get this value from the Content Library. |
destinationIdString |
required | Id of the destination folder. |
destinationDriveIdString |
optional | Drive Id of the destination, for cross-drive moves. Supplied only via the five-argument constructor. |
Constructors
global MoveResourceInput( String resourceId, String resourceType, String driveId, String destinationId )
global MoveResourceInput( String resourceId, String resourceType, String driveId, String destinationId, String destinationDriveId )
Example
List<cldfs.Types.MoveResourceInput> inputs = new List<cldfs.Types.MoveResourceInput>{ new cldfs.Types.MoveResourceInput( '67ef8a5bd98d18e317d0891d', 'file', 'workspace', '68887db5ef0b3ca7534dbbd5' ) }; cldfs.Client.moveResources(inputs, 'cloudfiles', 'integrationUser');