Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.33 KB

DeleteFileRequest.md

File metadata and controls

30 lines (22 loc) · 1.33 KB

DeleteFileRequest

The parameters of a single file deletion.

Properties

Name Type Description Notes
delete_after bool When to delete: true waits until the editing session on the file has ended, false deletes at once, pulling the file away from whoever is working on it. [optional]
immediately bool Where the file goes: false moves it to Trash, from where it can be restored, true deletes it for good. Inside a room, where there is no Trash, deletion is always final. [optional]

Example

from docspace_api_sdk.models.delete_file_request import DeleteFileRequest

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

# convert the object into a dict
delete_file_request_dict = delete_file_request_instance.to_dict()
# create an instance of DeleteFileRequest from a dict
delete_file_request_from_dict = DeleteFileRequest.from_dict(delete_file_request_dict)

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