Class DeepSeekModelsRequest
java.lang.Object
de.entwicklertraining.api.base.ApiRequest<DeepSeekModelsResponse>
de.entwicklertraining.deepseek4j.DeepSeekRequest<DeepSeekModelsResponse>
de.entwicklertraining.deepseek4j.models.DeepSeekModelsRequest
Represents a request to the DeepSeek Models API.
This endpoint lists the currently available models and provides basic information about each one.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder(DeepSeekClient deepSeekClient) createResponse(String responseBody) getBody()Returns the request body as a String (often JSON).Returns the HTTP method (e.g.Methods inherited from class de.entwicklertraining.deepseek4j.DeepSeekRequest
createResponse, getBodyBytes, getContentType, isBinaryResponseMethods inherited from class de.entwicklertraining.api.base.ApiRequest
getAdditionalHeaders, getCaptureOnError, getCaptureOnSuccess, getIsCanceledSupplier, getMaxExecutionTimeInSeconds, hasCaptureOnError, hasCaptureOnSuccess, setHeader
-
Method Details
-
getRelativeUrl
- Specified by:
getRelativeUrlin classde.entwicklertraining.api.base.ApiRequest<DeepSeekModelsResponse>
-
getHttpMethod
Description copied from class:DeepSeekRequestReturns the HTTP method (e.g. "POST" or "GET").- Specified by:
getHttpMethodin classDeepSeekRequest<DeepSeekModelsResponse>
-
getBody
Description copied from class:DeepSeekRequestReturns the request body as a String (often JSON). May be null if GET.- Specified by:
getBodyin classDeepSeekRequest<DeepSeekModelsResponse>
-
createResponse
- Specified by:
createResponsein classDeepSeekRequest<DeepSeekModelsResponse>
-
builder
-