public class GetTeamsMembers extends Endpoint<List<List<ModrinthTeamMember>>,GetTeamsMembers.GetTeamsMembersRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
GetTeamsMembers.GetTeamsMembersRequest
This class is used to represent the request.
|
| Constructor and Description |
|---|
GetTeamsMembers(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<GetTeamsMembers.GetTeamsMembersRequest> |
getRequestClass()
Returns the request class.
|
com.google.gson.reflect.TypeToken<List<List<ModrinthTeamMember>>> |
getResponseClass()
Returns the response class.
|
boolean |
isJsonBody()
Returns whether or not the request is a JSON body.
|
checkBodyForErrors, executeRequest, getMethod, getReplacedUrl, readFile, readStream, requiresBody, sendRequest, sendRequestpublic GetTeamsMembers(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<List<List<ModrinthTeamMember>>,GetTeamsMembers.GetTeamsMembersRequest>public com.google.gson.reflect.TypeToken<GetTeamsMembers.GetTeamsMembersRequest> getRequestClass()
getRequestClass in class Endpoint<List<List<ModrinthTeamMember>>,GetTeamsMembers.GetTeamsMembersRequest>TypeToken for the response.public com.google.gson.reflect.TypeToken<List<List<ModrinthTeamMember>>> getResponseClass()
getResponseClass in class Endpoint<List<List<ModrinthTeamMember>>,GetTeamsMembers.GetTeamsMembersRequest>TypeToken for the response.public boolean isJsonBody()
isJsonBody in class Endpoint<List<List<ModrinthTeamMember>>,GetTeamsMembers.GetTeamsMembersRequest>Copyright © 2026. All rights reserved.