public class GetVersionByVersionNumber extends Endpoint<ProjectVersion,EmptyRequest>
| Constructor and Description |
|---|
GetVersionByVersionNumber(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.
|
com.google.gson.reflect.TypeToken<EmptyRequest> |
getRequestClass()
Returns the request class.
|
com.google.gson.reflect.TypeToken<ProjectVersion> |
getResponseClass()
Returns the response class.
|
checkBodyForErrors, executeRequest, getMethod, getReplacedUrl, isJsonBody, readFile, readStream, requiresBody, sendRequest, sendRequestpublic GetVersionByVersionNumber(HttpClient client, com.google.gson.Gson gson)
client - The HTTP client to use.gson - The GSON instance to use.public String getEndpoint()
getEndpoint in class Endpoint<ProjectVersion,EmptyRequest>public com.google.gson.reflect.TypeToken<EmptyRequest> getRequestClass()
getRequestClass in class Endpoint<ProjectVersion,EmptyRequest>TypeToken for the response.public com.google.gson.reflect.TypeToken<ProjectVersion> getResponseClass()
getResponseClass in class Endpoint<ProjectVersion,EmptyRequest>TypeToken for the response.Copyright © 2026. All rights reserved.