Module file

Source
Expand description

Module for managing files and related operations. This module defines the structures and methods for managing files, including uploading, deleting, retrieving, and listing files. It includes:

  • FileData: Struct representing the data of a file.
  • FileListResponse: Struct for the response from a request to list files.
  • FileUploadRequest: Struct for creating a request to upload a file.
  • FileUploadResponse: Struct for the response from a file upload request.
  • FileDeleteRequest: Struct for creating a request to delete a file.
  • FileDeleteResponse: Struct for the response from a file delete request.
  • FileRetrieveRequest: Struct for creating a request to retrieve a file.
  • FileRetrieveResponse: Struct for the response from a file retrieve request.
  • FileRetrieveContentRequest: Struct for creating a request to retrieve the content of a file.
  • FileRetrieveContentResponse: Struct for the response from a file content retrieve request.

Structsยง

FileData
Represents the data of a file.
FileDeleteRequest
Represents a request to delete a file.
FileDeleteResponse
Represents the response from a file delete request.
FileListResponse
Represents the response from a request to list files.
FileRetrieveContentRequest
Represents a request to retrieve the content of a file.
FileRetrieveContentResponse
Represents the response from a file content retrieve request.
FileRetrieveRequest
Represents a request to retrieve a file.
FileRetrieveResponse
Represents the response from a file retrieve request.
FileUploadRequest
Represents a request to upload a file.
FileUploadResponse
Represents the response from a file upload request.