Class BinaryAnnForm

java.lang.Object
ai.reveng.model.BinaryAnnForm

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

  • Constructor Details

    • BinaryAnnForm

      public BinaryAnnForm()
  • Method Details

    • confidence

      public BinaryAnnForm confidence(@Nullable BigDecimal confidence)
    • getConfidence

      @Nullable public BigDecimal getConfidence()
      Confidence of the annotation minimum: 0.0 maximum: 1.0
      Returns:
      confidence
    • setConfidence

      public void setConfidence(@Nullable BigDecimal confidence)
    • nns

      public BinaryAnnForm nns(@Nullable Integer nns)
    • getNns

      @Nullable public Integer getNns()
      Number of nearest neighbors minimum: 1 maximum: 100
      Returns:
      nns
    • setNns

      public void setNns(@Nullable Integer nns)
    • collectionIds

      public BinaryAnnForm collectionIds(@Nullable List<Integer> collectionIds)
    • addCollectionIdsItem

      public BinaryAnnForm addCollectionIdsItem(Integer collectionIdsItem)
    • getCollectionIds

      @Nullable public List<Integer> getCollectionIds()
      Collection IDs to search for nearest neighbors
      Returns:
      collectionIds
    • setCollectionIds

      public void setCollectionIds(@Nullable List<Integer> collectionIds)
    • binaryIds

      public BinaryAnnForm binaryIds(@Nullable List<Integer> binaryIds)
    • addBinaryIdsItem

      public BinaryAnnForm addBinaryIdsItem(Integer binaryIdsItem)
    • getBinaryIds

      @Nullable public List<Integer> getBinaryIds()
      Binary IDs to search for nearest neighbors
      Returns:
      binaryIds
    • setBinaryIds

      public void setBinaryIds(@Nullable List<Integer> binaryIds)
    • 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 BinaryAnnForm
    • fromJson

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

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