Class NearestNeighbor

java.lang.Object
ai.reveng.model.NearestNeighbor

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

    • SERIALIZED_NAME_DISTANCE

      public static final String SERIALIZED_NAME_DISTANCE
      See Also:
    • SERIALIZED_NAME_NEAREST_NEIGHBOR_ANALYSIS_ID

      public static final String SERIALIZED_NAME_NEAREST_NEIGHBOR_ANALYSIS_ID
      See Also:
    • SERIALIZED_NAME_NEAREST_NEIGHBOR_ANALYSIS_NAME

      public static final String SERIALIZED_NAME_NEAREST_NEIGHBOR_ANALYSIS_NAME
      See Also:
    • SERIALIZED_NAME_NEAREST_NEIGHBOR_FUNCTION_NAME

      public static final String SERIALIZED_NAME_NEAREST_NEIGHBOR_FUNCTION_NAME
      See Also:
    • SERIALIZED_NAME_NEAREST_NEIGHBOR_FUNCTION_NAME_MANGLED

      public static final String SERIALIZED_NAME_NEAREST_NEIGHBOR_FUNCTION_NAME_MANGLED
      See Also:
    • SERIALIZED_NAME_NEAREST_NEIGHBOR_BINARY_ID

      public static final String SERIALIZED_NAME_NEAREST_NEIGHBOR_BINARY_ID
      See Also:
    • SERIALIZED_NAME_NEAREST_NEIGHBOR_SHA256_HASH

      public static final String SERIALIZED_NAME_NEAREST_NEIGHBOR_SHA256_HASH
      See Also:
    • SERIALIZED_NAME_NEAREST_NEIGHBOR_DEBUG

      public static final String SERIALIZED_NAME_NEAREST_NEIGHBOR_DEBUG
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • NearestNeighbor

      public NearestNeighbor()
  • Method Details

    • distance

      public NearestNeighbor distance(@Nonnull BigDecimal distance)
    • getDistance

      @Nonnull public BigDecimal getDistance()
      Get distance
      Returns:
      distance
    • setDistance

      public void setDistance(@Nonnull BigDecimal distance)
    • nearestNeighborAnalysisId

      public NearestNeighbor nearestNeighborAnalysisId(@Nonnull Integer nearestNeighborAnalysisId)
    • getNearestNeighborAnalysisId

      @Nonnull public Integer getNearestNeighborAnalysisId()
      Get nearestNeighborAnalysisId
      Returns:
      nearestNeighborAnalysisId
    • setNearestNeighborAnalysisId

      public void setNearestNeighborAnalysisId(@Nonnull Integer nearestNeighborAnalysisId)
    • nearestNeighborAnalysisName

      public NearestNeighbor nearestNeighborAnalysisName(@Nonnull String nearestNeighborAnalysisName)
    • getNearestNeighborAnalysisName

      @Nonnull public String getNearestNeighborAnalysisName()
      Get nearestNeighborAnalysisName
      Returns:
      nearestNeighborAnalysisName
    • setNearestNeighborAnalysisName

      public void setNearestNeighborAnalysisName(@Nonnull String nearestNeighborAnalysisName)
    • nearestNeighborFunctionName

      public NearestNeighbor nearestNeighborFunctionName(@Nonnull String nearestNeighborFunctionName)
    • getNearestNeighborFunctionName

      @Nonnull public String getNearestNeighborFunctionName()
      Get nearestNeighborFunctionName
      Returns:
      nearestNeighborFunctionName
    • setNearestNeighborFunctionName

      public void setNearestNeighborFunctionName(@Nonnull String nearestNeighborFunctionName)
    • nearestNeighborFunctionNameMangled

      public NearestNeighbor nearestNeighborFunctionNameMangled(@Nullable String nearestNeighborFunctionNameMangled)
    • getNearestNeighborFunctionNameMangled

      @Nullable public String getNearestNeighborFunctionNameMangled()
      Get nearestNeighborFunctionNameMangled
      Returns:
      nearestNeighborFunctionNameMangled
    • setNearestNeighborFunctionNameMangled

      public void setNearestNeighborFunctionNameMangled(@Nullable String nearestNeighborFunctionNameMangled)
    • nearestNeighborBinaryId

      public NearestNeighbor nearestNeighborBinaryId(@Nonnull Integer nearestNeighborBinaryId)
    • getNearestNeighborBinaryId

      @Nonnull public Integer getNearestNeighborBinaryId()
      Get nearestNeighborBinaryId
      Returns:
      nearestNeighborBinaryId
    • setNearestNeighborBinaryId

      public void setNearestNeighborBinaryId(@Nonnull Integer nearestNeighborBinaryId)
    • nearestNeighborSha256Hash

      public NearestNeighbor nearestNeighborSha256Hash(@Nonnull String nearestNeighborSha256Hash)
    • getNearestNeighborSha256Hash

      @Nonnull public String getNearestNeighborSha256Hash()
      Get nearestNeighborSha256Hash
      Returns:
      nearestNeighborSha256Hash
    • setNearestNeighborSha256Hash

      public void setNearestNeighborSha256Hash(@Nonnull String nearestNeighborSha256Hash)
    • nearestNeighborDebug

      public NearestNeighbor nearestNeighborDebug(@Nonnull Boolean nearestNeighborDebug)
    • getNearestNeighborDebug

      @Nonnull public Boolean getNearestNeighborDebug()
      Get nearestNeighborDebug
      Returns:
      nearestNeighborDebug
    • setNearestNeighborDebug

      public void setNearestNeighborDebug(@Nonnull Boolean nearestNeighborDebug)
    • 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 NearestNeighbor
    • fromJson

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

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