Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 3.19 KB

BatchRequestDto.md

File metadata and controls

36 lines (28 loc) · 3.19 KB

BatchRequestDto

The files and folders to move or copy, the folder they go to, and the way name clashes are settled.

Properties

Name Type Description Notes
return_single_operation bool Which operations the answer carries: true returns the operation this call started and nothing else, false returns every operation of the same kind that the caller has running or unread. When nothing was queued, which happens for an empty selection, true falls back to the full list. [optional]
folder_ids List[BatchRequestDtoAllOfFolderIds] The folders to move or copy, by id. A number addresses a folder stored in the portal itself, a string addresses a folder on a connected third-party account, and both kinds may be sent in one list. [optional]
file_ids List[BatchRequestDtoAllOfFileIds] The files to move or copy, by id. A number addresses a file stored in the portal itself, a string addresses a file on a connected third-party account, and both kinds may be sent in one list. [optional]
dest_folder_id BatchRequestDtoAllOfDestFolderId [optional]
conflict_resolve_type FileConflictResolveType What happens to an item whose name is already taken in the destination folder: skip leaves it where it is, overwrite replaces the entry at the destination, and duplicate places it beside that entry under a name with a numeric suffix. GET api/2.0/files/fileops/move reports which items would clash. [optional]
delete_after bool Whether the finished operation is still reported: false keeps its final record readable through GET api/2.0/files/fileops until it has been read once, true drops the record as soon as the work is done. It deletes nothing: a move takes the sources away in any case, and a copy always leaves them. [optional]
content bool What is taken from a listed folder: false moves or copies the folder itself, true takes only what it contains, so its files and subfolders land in the destination and the folder is not recreated there. [optional]
to_fill_out bool Marks every copied PDF form as a draft prepared for filling, which is how such a copy reports its filling status in a virtual data room. Files that are not forms are left unaffected. [optional]

Example

from docspace_api_sdk.models.batch_request_dto import BatchRequestDto

# TODO update the JSON string below
json = "{}"
# create an instance of BatchRequestDto from a JSON string
batch_request_dto_instance = BatchRequestDto.from_json(json)
# print the JSON string representation of the object
print(BatchRequestDto.to_json())

# convert the object into a dict
batch_request_dto_dict = batch_request_dto_instance.to_dict()
# create an instance of BatchRequestDto from a dict
batch_request_dto_from_dict = BatchRequestDto.from_dict(batch_request_dto_dict)

[Back to Model list] [Back to API list] [Back to README]