Package ai.reveng.model
Class BinaryAnnForm
java.lang.Object
ai.reveng.model.BinaryAnnForm
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class BinaryAnnForm
extends Object
BinaryAnnForm
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBinaryIdsItem(Integer binaryIdsItem) addCollectionIdsItem(Integer collectionIdsItem) collectionIds(List<Integer> collectionIds) confidence(BigDecimal confidence) booleanstatic BinaryAnnFormCreate an instance of BinaryAnnForm given an JSON stringBinary IDs to search for nearest neighborsCollection IDs to search for nearest neighborsConfidence of the annotation minimum: 0.0 maximum: 1.0getNns()Number of nearest neighbors minimum: 1 maximum: 100inthashCode()voidsetBinaryIds(List<Integer> binaryIds) voidsetCollectionIds(List<Integer> collectionIds) voidsetConfidence(BigDecimal confidence) voidtoJson()Convert an instance of BinaryAnnForm 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_CONFIDENCE
- See Also:
-
SERIALIZED_NAME_NNS
- See Also:
-
SERIALIZED_NAME_COLLECTION_IDS
- See Also:
-
SERIALIZED_NAME_BINARY_IDS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
BinaryAnnForm
public BinaryAnnForm()
-
-
Method Details
-
confidence
-
getConfidence
Confidence of the annotation minimum: 0.0 maximum: 1.0- Returns:
- confidence
-
setConfidence
-
nns
-
getNns
Number of nearest neighbors minimum: 1 maximum: 100- Returns:
- nns
-
setNns
-
collectionIds
-
addCollectionIdsItem
-
getCollectionIds
Collection IDs to search for nearest neighbors- Returns:
- collectionIds
-
setCollectionIds
-
binaryIds
-
addBinaryIdsItem
-
getBinaryIds
Binary IDs to search for nearest neighbors- Returns:
- binaryIds
-
setBinaryIds
-
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 BinaryAnnForm
-
fromJson
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
Convert an instance of BinaryAnnForm to an JSON string- Returns:
- JSON string
-