Class ANNFunction

java.lang.Object
ai.reveng.model.ANNFunction

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

  • Constructor Details

    • ANNFunction

      public ANNFunction()
  • Method Details

    • limit

      public ANNFunction 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 ANNFunction 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 ANNFunction analysisSearchIds(@Nullable List<Integer> analysisSearchIds)
    • addAnalysisSearchIdsItem

      public ANNFunction 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 ANNFunction collectionSearchIds(@Nullable List<Integer> collectionSearchIds)
    • addCollectionSearchIdsItem

      public ANNFunction 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 ANNFunction searchBinaryIds(@Nullable List<Integer> searchBinaryIds)
    • addSearchBinaryIdsItem

      public ANNFunction addSearchBinaryIdsItem(Integer searchBinaryIdsItem)
    • getSearchBinaryIds

      @Nullable public List<Integer> getSearchBinaryIds()
      Get searchBinaryIds
      Returns:
      searchBinaryIds
    • setSearchBinaryIds

      public void setSearchBinaryIds(@Nullable List<Integer> searchBinaryIds)
    • searchFunctionIds

      public ANNFunction searchFunctionIds(@Nullable List<Integer> searchFunctionIds)
    • addSearchFunctionIdsItem

      public ANNFunction addSearchFunctionIdsItem(Integer searchFunctionIdsItem)
    • getSearchFunctionIds

      @Nullable public List<Integer> getSearchFunctionIds()
      Get searchFunctionIds
      Returns:
      searchFunctionIds
    • setSearchFunctionIds

      public void setSearchFunctionIds(@Nullable List<Integer> searchFunctionIds)
    • debugOnly

      public ANNFunction 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 ANNFunction 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 ANNFunction 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 ANNFunction
    • fromJson

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

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