public class ModifyGalleryImage extends Endpoint<EmptyResponse,ModifyGalleryImage.ModifyGalleryImageRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
ModifyGalleryImage.ModifyGalleryImageRequest
Represents the data for a project.
|
| Constructor and Description |
|---|
ModifyGalleryImage(HttpClient client,
com.google.gson.Gson gson)
Creates a new instance of the endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEndpoint()
Returns the endpoint.
|
String |
getMethod()
Returns the method.
|
protected String |
getReplacedUrl(ModifyGalleryImage.ModifyGalleryImageRequest request,
Map<String,String> parameters)
Injects the file extension into the URL.
|
com.google.gson.reflect.TypeToken<ModifyGalleryImage.ModifyGalleryImageRequest> |
getRequestClass()
Returns the request class.
|
com.google.gson.reflect.TypeToken<EmptyResponse> |
getResponseClass()
Returns the response class.
|
boolean |
requiresBody()
Returns whether or not the request requires a body.
|
checkBodyForErrors, executeRequest, isJsonBody, readFile, readStream, sendRequest, sendRequestpublic ModifyGalleryImage(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,ModifyGalleryImage.ModifyGalleryImageRequest>protected String getReplacedUrl(ModifyGalleryImage.ModifyGalleryImageRequest request, Map<String,String> parameters)
getReplacedUrl in class Endpoint<EmptyResponse,ModifyGalleryImage.ModifyGalleryImageRequest>request - - The request to use.parameters - - The parameters to use.public String getMethod()
getMethod in class Endpoint<EmptyResponse,ModifyGalleryImage.ModifyGalleryImageRequest>public com.google.gson.reflect.TypeToken<ModifyGalleryImage.ModifyGalleryImageRequest> getRequestClass()
getRequestClass in class Endpoint<EmptyResponse,ModifyGalleryImage.ModifyGalleryImageRequest>TypeToken for the response.public com.google.gson.reflect.TypeToken<EmptyResponse> getResponseClass()
getResponseClass in class Endpoint<EmptyResponse,ModifyGalleryImage.ModifyGalleryImageRequest>TypeToken for the response.public boolean requiresBody()
requiresBody in class Endpoint<EmptyResponse,ModifyGalleryImage.ModifyGalleryImageRequest>Copyright © 2026. All rights reserved.