Name: RenameOperation

Information needed to perform a rename operation.

Data Structure
{
   "typeId": "com.tintri.api.rest.v310.dto.domain.beans.file.RenameOperation",
   "overwrite": <Boolean>,
   "destination": [<String>],
   "protocol": 'NFS' | 'SMB' | 'ASM' | 'UNKNOWN',
   "source": [<String>],
}

Elements
NameTypeDescription
destinationxsd:list[xsd:string]Destination file paths to use. See FileObject for a description of path requirements. If overwrite is set, any existing destination files will be overwritten. If overwrite is not set, then the op will fail if any of the destionation paths already exist. The operation will always fail if there exists a directory in any of the destionation paths or if the parent directory of any of the destinations does not exist.
protocolNFS | SMB | ASM | UNKNOWNData path protocol used for this rename's files. All files in a given rename must have the same protocol.
NFSNetwork File System protocol
SMBServer Message Block protocol
ASMASM, introduced in v310.121.
UNKNOWNInvalid type
sourcexsd:list[xsd:string]Source file paths to use. See FileObject for a description of path requirements. If any of these paths are empty, the operation will fail with ResourceNotFound.

Attributes
NameTypeDescription
overwritexsd:booleanShould we overwrite destination files if they exist?