Class GetOllamaModelsResponse
java.lang.Object
com.developer.nefarious.zjoule.plugin.login.api.GetOllamaModelsResponse
Represents the response containing a list of available Ollama models.
This class is used to store and retrieve a list of OllamaModel
objects, typically received from an API call.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the list of Ollama models.void
setModels
(List<OllamaModel> models) Sets the list of Ollama models.
-
Constructor Details
-
GetOllamaModelsResponse
public GetOllamaModelsResponse()
-
-
Method Details
-
getModels
Retrieves the list of Ollama models.- Returns:
- a list of
OllamaModel
objects.
-
setModels
Sets the list of Ollama models.- Parameters:
models
- a list ofOllamaModel
objects to set.
-