File Management Client
A client for interacting with EG Lodging Connectivity messages attachments REST API.
This client is configured with a ClientConfiguration
that includes authentication details, and it automatically determines the appropriate API endpoints based on the environment (e.g., production or test).
Parameters
config
The ClientConfiguration
that includes API credentials and other optional parameters such as environment, timeouts, and logging masking options.
Example usage:
FileManagementClient(
ClientConfiguration
.builder()
.key("API_KEY")
.secret("API_SECRET")
.build()
)
Content copied to clipboard
Constructors
Functions
Link copied to clipboard
fun downloadWithResponse(id: String, type: String? = null, value: String? = null): <Error class: unknown class><ByteArray>
API that can be used to download file using identifier associated to it
Link copied to clipboard
Link copied to clipboard
API that can be used to upload file and get identifier associated to it
Link copied to clipboard
fun uploadWithResponse(content: File? = null, type: String? = null, value: String? = null): <Error class: unknown class><Upload201Response>
API that can be used to upload file and get identifier associated to it