Class ModelsResponse

java.lang.Object
ai.reveng.model.ModelsResponse

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ModelsResponse extends Object
ModelsResponse
  • Field Details

  • Constructor Details

    • ModelsResponse

      public ModelsResponse()
  • Method Details

    • models

      public ModelsResponse models(@Nonnull List<String> models)
    • addModelsItem

      public ModelsResponse addModelsItem(String modelsItem)
    • getModels

      @Nonnull public List<String> getModels()
      List of active models available analysis.
      Returns:
      models
    • setModels

      public void setModels(@Nonnull List<String> models)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to ModelsResponse
    • fromJson

      public static ModelsResponse fromJson(String jsonString) throws IOException
      Create an instance of ModelsResponse given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ModelsResponse
      Throws:
      IOException - if the JSON string is invalid with respect to ModelsResponse
    • toJson

      public String toJson()
      Convert an instance of ModelsResponse to an JSON string
      Returns:
      JSON string