Class GetOllamaModelsResponse

java.lang.Object
com.developer.nefarious.zjoule.plugin.login.api.GetOllamaModelsResponse

public class GetOllamaModelsResponse extends Object
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 Details

    • GetOllamaModelsResponse

      public GetOllamaModelsResponse()
  • Method Details

    • getModels

      public List<OllamaModel> getModels()
      Retrieves the list of Ollama models.
      Returns:
      a list of OllamaModel objects.
    • setModels

      public void setModels(List<OllamaModel> models)
      Sets the list of Ollama models.
      Parameters:
      models - a list of OllamaModel objects to set.