public class ModifyVersion extends Endpoint<ProjectVersion,ModifyVersion.ModifyVersionRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
ModifyVersion.ModifyVersionRequest
Represents a request to modify a version.
|
| Constructor and Description |
|---|
ModifyVersion(HttpClient client,
com.google.gson.Gson gson)
Creates a new instance of the
ModifyVersion endpoint. |
| Modifier and Type | Method and Description |
|---|---|
String |
getEndpoint()
This URL of the endpoint.
|
String |
getMethod()
Returns the method of the endpoint.
|
com.google.gson.reflect.TypeToken<ModifyVersion.ModifyVersionRequest> |
getRequestClass()
Returns the request class to use.
|
com.google.gson.reflect.TypeToken<ProjectVersion> |
getResponseClass()
Returns the response class to use.
|
checkBodyForErrors, executeRequest, getReplacedUrl, isJsonBody, readFile, readStream, requiresBody, sendRequest, sendRequestpublic ModifyVersion(HttpClient client, com.google.gson.Gson gson)
ModifyVersion endpoint.client - The HttpClient to use.gson - The Gson instance to use.public String getEndpoint()
getEndpoint in class Endpoint<ProjectVersion,ModifyVersion.ModifyVersionRequest>public com.google.gson.reflect.TypeToken<ModifyVersion.ModifyVersionRequest> getRequestClass()
getRequestClass in class Endpoint<ProjectVersion,ModifyVersion.ModifyVersionRequest>TypeToken of the request.public com.google.gson.reflect.TypeToken<ProjectVersion> getResponseClass()
getResponseClass in class Endpoint<ProjectVersion,ModifyVersion.ModifyVersionRequest>TypeToken of the response.public String getMethod()
getMethod in class Endpoint<ProjectVersion,ModifyVersion.ModifyVersionRequest>Copyright © 2026. All rights reserved.