var request = new CopyFileRequest
{
SrcPath = "/storage/path/to/source/file.ext",
DestPath = "/storage/path/to/destination/file.ext",
SrcStorageName = "First Storage",
DestStorageName = "Other Storage"
};
CopyFileRequest request = Models.copyFileRequest()
.srcPath("/storage/path/to/source/file.ext")
.destPath("/storage/path/to/destination/file.ext")
.srcStorageName("First Storage")
.destStorageName("Other Storage")
.build();
request = models.CopyFileRequest(
src_path='/storage/path/to/source/file.ext',
dest_path='/storage/path/to/destination/file.ext',
src_storage_name='First Storage',
dest_storage_name='Other Storage')
request = CopyFileRequest.new(
src_path: '/storage/path/to/source/file.ext',
dest_path: '/storage/path/to/destination/file.ext',
src_storage_name: 'First Storage',
dest_storage_name: 'Other Storage')
let request = Models.CopyFileRequest()
.srcPath('/storage/path/to/source/file.ext')
.destPath('/storage/path/to/destination/file.ext')
.srcStorageName('First Storage')
.destStorageName('Other Storage')
.build();
$request = Models::CopyFileRequest()
->src_path('/storage/path/to/source/file.ext')
->dest_path('/storage/path/to/destination/file.ext')
->src_storage_name('First Storage')
->dest_storage_name('Other Storage')
->build();