Package ai.reveng.model
Class V2NameConfidence
java.lang.Object
ai.reveng.model.V2NameConfidence
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class V2NameConfidence
extends Object
V2NameConfidence
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfidence(BigDecimal confidence) booleanstatic V2NameConfidenceCreate an instance of V2NameConfidence given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Confidence score as a percentage minimum: 0 maximum: 100getName()The suggested function nameinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConfidence(BigDecimal confidence) voidtoJson()Convert an instance of V2NameConfidence 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
-
V2NameConfidence
public V2NameConfidence()
-
-
Method Details
-
name
-
getName
The suggested function name- Returns:
- name
-
setName
-
confidence
-
getConfidence
Confidence score as a percentage minimum: 0 maximum: 100- Returns:
- confidence
-
setConfidence
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the V2NameConfidence instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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 V2NameConfidence
-
fromJson
Create an instance of V2NameConfidence given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V2NameConfidence
- Throws:
IOException- if the JSON string is invalid with respect to V2NameConfidence
-
toJson
Convert an instance of V2NameConfidence to an JSON string- Returns:
- JSON string
-