Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.57 KB

File metadata and controls

37 lines (29 loc) · 1.57 KB

FileOperationDto

The file operation information.

Properties

Name Type Description Notes
id str The file operation ID.
operation FileOperationType
progress int The file operation progress in percentage.
error str The file operation error message.
processed str The file operation processing status.
finished bool Specifies if the file operation is finished or not.
url str The file operation URL. [optional]
files List[FileEntryBaseDto] The list of files of the file operation. [optional]
folders List[FileEntryBaseDto] The list of folders of the file operation. [optional]

Example

from docspace_api_sdk.models.file_operation_dto import FileOperationDto

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

# convert the object into a dict
file_operation_dto_dict = file_operation_dto_instance.to_dict()
# create an instance of FileOperationDto from a dict
file_operation_dto_from_dict = FileOperationDto.from_dict(file_operation_dto_dict)

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