Package ai.reveng.model
Class TriageFunctionResponse
java.lang.Object
ai.reveng.model.TriageFunctionResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class TriageFunctionResponse
extends Object
TriageFunctionResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets capabilitiesstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCapabilitiesItem(TriageFunctionResponse.CapabilitiesEnum capabilitiesItem) capabilities(List<TriageFunctionResponse.CapabilitiesEnum> capabilities) booleanstatic TriageFunctionResponseCreate an instance of TriageFunctionResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Address of the function in the binaryList of capabilities exhibited by the functiongetId()Unique identifier of the functiongetScore()Score indicating the function's relevance minimum: 0 maximum: 1Summary of the function's behaviourinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.score(BigDecimal score) voidsetAddress(Integer address) voidsetCapabilities(List<TriageFunctionResponse.CapabilitiesEnum> capabilities) voidvoidsetScore(BigDecimal score) voidsetSummary(String summary) toJson()Convert an instance of TriageFunctionResponse 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_ID
- See Also:
-
SERIALIZED_NAME_ADDRESS
- See Also:
-
SERIALIZED_NAME_SUMMARY
- See Also:
-
SERIALIZED_NAME_SCORE
- See Also:
-
SERIALIZED_NAME_CAPABILITIES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TriageFunctionResponse
public TriageFunctionResponse()
-
-
Method Details
-
id
-
getId
Unique identifier of the function- Returns:
- id
-
setId
-
address
-
getAddress
Address of the function in the binary- Returns:
- address
-
setAddress
-
summary
-
getSummary
Summary of the function's behaviour- Returns:
- summary
-
setSummary
-
score
-
getScore
Score indicating the function's relevance minimum: 0 maximum: 1- Returns:
- score
-
setScore
-
capabilities
public TriageFunctionResponse capabilities(@Nonnull List<TriageFunctionResponse.CapabilitiesEnum> capabilities) -
addCapabilitiesItem
public TriageFunctionResponse addCapabilitiesItem(TriageFunctionResponse.CapabilitiesEnum capabilitiesItem) -
getCapabilities
List of capabilities exhibited by the function- Returns:
- capabilities
-
setCapabilities
-
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 TriageFunctionResponse 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 TriageFunctionResponse
-
fromJson
Create an instance of TriageFunctionResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TriageFunctionResponse
- Throws:
IOException- if the JSON string is invalid with respect to TriageFunctionResponse
-
toJson
Convert an instance of TriageFunctionResponse to an JSON string- Returns:
- JSON string
-