Class AppApiRestV2SimilaritySchemaANNFunction

java.lang.Object
ai.reveng.model.AppApiRestV2SimilaritySchemaANNFunction

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

  • Constructor Details

    • AppApiRestV2SimilaritySchemaANNFunction

      public AppApiRestV2SimilaritySchemaANNFunction()
  • Method Details

    • limit

      public AppApiRestV2SimilaritySchemaANNFunction limit(@Nullable Integer limit)
    • getLimit

      @Nullable public Integer getLimit()
      The amount of neighbours per function ID
      Returns:
      limit
    • setLimit

      public void setLimit(@Nullable Integer limit)
    • distance

      public AppApiRestV2SimilaritySchemaANNFunction distance(@Nullable BigDecimal distance)
    • getDistance

      @Nullable public BigDecimal getDistance()
      The distance between two neighbours
      Returns:
      distance
    • setDistance

      public void setDistance(@Nullable BigDecimal distance)
    • analysisSearchIds

      public AppApiRestV2SimilaritySchemaANNFunction analysisSearchIds(@Nullable List<Integer> analysisSearchIds)
    • addAnalysisSearchIdsItem

      public AppApiRestV2SimilaritySchemaANNFunction addAnalysisSearchIdsItem(Integer analysisSearchIdsItem)
    • getAnalysisSearchIds

      @Nullable public List<Integer> getAnalysisSearchIds()
      Perform a search on functions within a list of analyses
      Returns:
      analysisSearchIds
    • setAnalysisSearchIds

      public void setAnalysisSearchIds(@Nullable List<Integer> analysisSearchIds)
    • collectionSearchIds

      public AppApiRestV2SimilaritySchemaANNFunction collectionSearchIds(@Nullable List<Integer> collectionSearchIds)
    • addCollectionSearchIdsItem

      public AppApiRestV2SimilaritySchemaANNFunction addCollectionSearchIdsItem(Integer collectionSearchIdsItem)
    • getCollectionSearchIds

      @Nullable public List<Integer> getCollectionSearchIds()
      Search only within these collections
      Returns:
      collectionSearchIds
    • setCollectionSearchIds

      public void setCollectionSearchIds(@Nullable List<Integer> collectionSearchIds)
    • searchBinaryIds

      public AppApiRestV2SimilaritySchemaANNFunction searchBinaryIds(@Nullable SearchBinaryIds searchBinaryIds)
    • getSearchBinaryIds

      @Nullable public SearchBinaryIds getSearchBinaryIds()
      Get searchBinaryIds
      Returns:
      searchBinaryIds
    • setSearchBinaryIds

      public void setSearchBinaryIds(@Nullable SearchBinaryIds searchBinaryIds)
    • searchFunctionIds

      public AppApiRestV2SimilaritySchemaANNFunction searchFunctionIds(@Nullable SearchFunctionIds searchFunctionIds)
    • getSearchFunctionIds

      @Nullable public SearchFunctionIds getSearchFunctionIds()
      Get searchFunctionIds
      Returns:
      searchFunctionIds
    • setSearchFunctionIds

      public void setSearchFunctionIds(@Nullable SearchFunctionIds searchFunctionIds)
    • debugOnly

      public AppApiRestV2SimilaritySchemaANNFunction debugOnly(@Nullable Boolean debugOnly)
    • getDebugOnly

      @Nullable public Boolean getDebugOnly()
      Searches for only functions which are debug
      Returns:
      debugOnly
    • setDebugOnly

      public void setDebugOnly(@Nullable Boolean debugOnly)
    • putAdditionalProperty

      public AppApiRestV2SimilaritySchemaANNFunction putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the AppApiRestV2SimilaritySchemaANNFunction instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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 AppApiRestV2SimilaritySchemaANNFunction
    • fromJson

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

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