Class DeleteProjectIcon
java.lang.Object
masecla.modrinth4j.endpoints.generic.Endpoint<EmptyResponse,EmptyRequest>
masecla.modrinth4j.endpoints.project.DeleteProjectIcon
Deletes the icon of a project.
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteProjectIcon(HttpClient client, com.google.gson.Gson gson) Creates a new instance of the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionReturns the endpoint of the request.Returns the method to use.com.google.gson.reflect.TypeToken<EmptyRequest> Returns theTypeTokenof the request.com.google.gson.reflect.TypeToken<EmptyResponse> Returns theTypeTokenof the response;Methods inherited from class masecla.modrinth4j.endpoints.generic.Endpoint
checkBodyForErrors, executeRequest, getReplacedUrl, isJsonBody, readFile, readStream, requiresBody, sendRequest, sendRequest
-
Constructor Details
-
DeleteProjectIcon
Creates a new instance of the endpoint.- Parameters:
client- - the client to usegson- - the gson instance to use
-
-
Method Details
-
getEndpoint
Description copied from class:EndpointReturns the endpoint of the request.- Specified by:
getEndpointin classEndpoint<EmptyResponse,EmptyRequest> - Returns:
- - The endpoint of the request.
-
getResponseClass
Description copied from class:EndpointReturns theTypeTokenof the response;- Specified by:
getResponseClassin classEndpoint<EmptyResponse,EmptyRequest> - Returns:
- - The
TypeTokenof the response.
-
getRequestClass
Description copied from class:EndpointReturns theTypeTokenof the request.- Specified by:
getRequestClassin classEndpoint<EmptyResponse,EmptyRequest> - Returns:
- - The
TypeTokenof the request.
-
getMethod
Description copied from class:EndpointReturns the method to use.- Overrides:
getMethodin classEndpoint<EmptyResponse,EmptyRequest> - Returns:
- - The method to use.
-