public class AddFilesToVersion extends Endpoint<EmptyResponse,Map<String,InputStream>>
| Constructor and Description |
|---|
AddFilesToVersion(HttpClient client,
com.google.gson.Gson gson)
Creates a new instance of this endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEndpoint()
Returns the endpoint.
|
String |
getMethod()
Returns the method.
|
com.google.gson.reflect.TypeToken<Map<String,InputStream>> |
getRequestClass()
Returns the request class.
|
com.google.gson.reflect.TypeToken<EmptyResponse> |
getResponseClass()
Returns the response class.
|
CompletableFuture<EmptyResponse> |
sendRequest(Map<String,InputStream> request,
Map<String,String> urlParams)
Sends the request.
|
checkBodyForErrors, executeRequest, getReplacedUrl, isJsonBody, readFile, readStream, requiresBody, sendRequestpublic AddFilesToVersion(HttpClient client, com.google.gson.Gson gson)
client - The client to use.gson - The gson instance to use.public String getEndpoint()
getEndpoint in class Endpoint<EmptyResponse,Map<String,InputStream>>public CompletableFuture<EmptyResponse> sendRequest(Map<String,InputStream> request, Map<String,String> urlParams)
sendRequest in class Endpoint<EmptyResponse,Map<String,InputStream>>request - - The request to use.urlParams - - The URL parameters to use.CompletableFuture that will return the response.public com.google.gson.reflect.TypeToken<Map<String,InputStream>> getRequestClass()
getRequestClass in class Endpoint<EmptyResponse,Map<String,InputStream>>TypeToken for the response.public com.google.gson.reflect.TypeToken<EmptyResponse> getResponseClass()
getResponseClass in class Endpoint<EmptyResponse,Map<String,InputStream>>TypeToken for the response.public String getMethod()
getMethod in class Endpoint<EmptyResponse,Map<String,InputStream>>Copyright © 2026. All rights reserved.