Package ai.reveng.model
Class NameConfidence
java.lang.Object
ai.reveng.model.NameConfidence
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class NameConfidence
extends Object
NameConfidence
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfidence(BigDecimal confidence) booleanstatic NameConfidenceCreate an instance of NameConfidence given an JSON stringConfidence score as a percentage minimum: 0.0 maximum: 100.0getName()The suggested function nameinthashCode()voidsetConfidence(BigDecimal confidence) voidtoJson()Convert an instance of NameConfidence 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_NAME
- See Also:
-
SERIALIZED_NAME_CONFIDENCE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NameConfidence
public NameConfidence()
-
-
Method Details
-
name
-
getName
The suggested function name- Returns:
- name
-
setName
-
confidence
-
getConfidence
Confidence score as a percentage minimum: 0.0 maximum: 100.0- Returns:
- confidence
-
setConfidence
-
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 NameConfidence
-
fromJson
Create an instance of NameConfidence given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NameConfidence
- Throws:
IOException- if the JSON string is invalid with respect to NameConfidence
-
toJson
Convert an instance of NameConfidence to an JSON string- Returns:
- JSON string
-