Package ai.reveng.model
Class SimilarFunctionsResponse
java.lang.Object
ai.reveng.model.SimilarFunctionsResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class SimilarFunctionsResponse
extends Object
SimilarFunctionsResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEmbedding1dItem(BigDecimal embedding1dItem) addEmbedding3dItem(BigDecimal embedding3dItem) binaryName(String binaryName) distance(BigDecimal distance) embedding1d(List<BigDecimal> embedding1d) embedding3d(List<BigDecimal> embedding3d) booleanstatic SimilarFunctionsResponseCreate an instance of SimilarFunctionsResponse given an JSON stringfunctionId(Integer functionId) functionName(String functionName) Get binaryIdGet binaryNameGet distanceGet embedding1dGet embedding3dGet functionIdGet functionNameGet sha256HashinthashCode()voidsetBinaryId(Integer binaryId) voidsetBinaryName(String binaryName) voidsetDistance(BigDecimal distance) voidsetEmbedding1d(List<BigDecimal> embedding1d) voidsetEmbedding3d(List<BigDecimal> embedding3d) voidsetFunctionId(Integer functionId) voidsetFunctionName(String functionName) voidsetSha256Hash(String sha256Hash) sha256Hash(String sha256Hash) toJson()Convert an instance of SimilarFunctionsResponse to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FUNCTION_ID
- See Also:
-
SERIALIZED_NAME_FUNCTION_NAME
- See Also:
-
SERIALIZED_NAME_BINARY_ID
- See Also:
-
SERIALIZED_NAME_BINARY_NAME
- See Also:
-
SERIALIZED_NAME_DISTANCE
- See Also:
-
SERIALIZED_NAME_EMBEDDING3D
- See Also:
-
SERIALIZED_NAME_EMBEDDING1D
- See Also:
-
SERIALIZED_NAME_SHA256_HASH
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SimilarFunctionsResponse
public SimilarFunctionsResponse()
-
-
Method Details
-
functionId
-
getFunctionId
Get functionId- Returns:
- functionId
-
setFunctionId
-
functionName
-
getFunctionName
Get functionName- Returns:
- functionName
-
setFunctionName
-
binaryId
-
getBinaryId
Get binaryId- Returns:
- binaryId
-
setBinaryId
-
binaryName
-
getBinaryName
Get binaryName- Returns:
- binaryName
-
setBinaryName
-
distance
-
getDistance
Get distance- Returns:
- distance
-
setDistance
-
embedding3d
-
addEmbedding3dItem
-
getEmbedding3d
Get embedding3d- Returns:
- embedding3d
-
setEmbedding3d
-
embedding1d
-
addEmbedding1dItem
-
getEmbedding1d
Get embedding1d- Returns:
- embedding1d
-
setEmbedding1d
-
sha256Hash
-
getSha256Hash
Get sha256Hash- Returns:
- sha256Hash
-
setSha256Hash
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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 SimilarFunctionsResponse
-
fromJson
Create an instance of SimilarFunctionsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SimilarFunctionsResponse
- Throws:
IOException- if the JSON string is invalid with respect to SimilarFunctionsResponse
-
toJson
Convert an instance of SimilarFunctionsResponse to an JSON string- Returns:
- JSON string
-