Class DeepSeekUserBalanceRequest
java.lang.Object
de.entwicklertraining.api.base.ApiRequest<DeepSeekUserBalanceResponse>
de.entwicklertraining.deepseek4j.DeepSeekRequest<DeepSeekUserBalanceResponse>
de.entwicklertraining.deepseek4j.user.balance.DeepSeekUserBalanceRequest
Represents a request to the DeepSeek User Balance API.
This endpoint retrieves the current balance information for the authenticated user.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder(DeepSeekClient client) 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<DeepSeekUserBalanceResponse>
-
getHttpMethod
Description copied from class:DeepSeekRequestReturns the HTTP method (e.g. "POST" or "GET").- Specified by:
getHttpMethodin classDeepSeekRequest<DeepSeekUserBalanceResponse>
-
getBody
Description copied from class:DeepSeekRequestReturns the request body as a String (often JSON). May be null if GET.- Specified by:
getBodyin classDeepSeekRequest<DeepSeekUserBalanceResponse>
-
createResponse
- Specified by:
createResponsein classDeepSeekRequest<DeepSeekUserBalanceResponse>
-
builder
-