public class GetProjectIdBySlug extends Endpoint<GetProjectIdBySlug.GetProjectIdBySlugResponse,EmptyRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
GetProjectIdBySlug.GetProjectIdBySlugResponse
Represents the response from the endpoint.
|
| Constructor and Description |
|---|
GetProjectIdBySlug(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<GetProjectIdBySlug.GetProjectIdBySlugResponse> |
getResponseClass()
Returns the response class.
|
boolean |
requiresBody()
Whether or not the endpoint requires a body.
|
checkBodyForErrors, executeRequest, getMethod, getReplacedUrl, isJsonBody, readFile, readStream, sendRequest, sendRequestpublic GetProjectIdBySlug(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<GetProjectIdBySlug.GetProjectIdBySlugResponse,EmptyRequest>public com.google.gson.reflect.TypeToken<EmptyRequest> getRequestClass()
getRequestClass in class Endpoint<GetProjectIdBySlug.GetProjectIdBySlugResponse,EmptyRequest>TypeToken for the response.public com.google.gson.reflect.TypeToken<GetProjectIdBySlug.GetProjectIdBySlugResponse> getResponseClass()
getResponseClass in class Endpoint<GetProjectIdBySlug.GetProjectIdBySlugResponse,EmptyRequest>TypeToken for the response.public boolean requiresBody()
requiresBody in class Endpoint<GetProjectIdBySlug.GetProjectIdBySlugResponse,EmptyRequest>Copyright © 2026. All rights reserved.