Package ai.reveng.model
Class FunctionMatchingResponse
java.lang.Object
ai.reveng.model.FunctionMatchingResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class FunctionMatchingResponse
extends Object
FunctionMatchingResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMatchesItem(FunctionMatch matchesItem) currentPage(Integer currentPage) booleanerrorMessage(String errorMessage) static FunctionMatchingResponseCreate an instance of FunctionMatchingResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Current page number of the results, if pagination is usedOptional message providing additional information about the operationList of function matching results with best match informationTotal number of debug function matches foundTotal number of function matches foundProgress of the matching operation, represented as a percentageStatus of the function matching operationTotal number of pages available, if pagination is usedTotal time taken for the matching operation in secondsTimestamp of the last time function matching with the same request parameters was performedinthashCode()matches(List<FunctionMatch> matches) numDebugMatches(Integer numDebugMatches) numMatches(Integer numMatches) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCurrentPage(Integer currentPage) voidsetErrorMessage(String errorMessage) voidsetMatches(List<FunctionMatch> matches) voidsetNumDebugMatches(Integer numDebugMatches) voidsetNumMatches(Integer numMatches) voidsetProgress(Integer progress) voidvoidsetTotalPages(Integer totalPages) voidsetTotalTime(Integer totalTime) voidsetUpdatedAt(String updatedAt) toJson()Convert an instance of FunctionMatchingResponse to an JSON stringtoString()totalPages(Integer totalPages) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_PROGRESS
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TOTAL_TIME
- See Also:
-
SERIALIZED_NAME_ERROR_MESSAGE
- See Also:
-
SERIALIZED_NAME_CURRENT_PAGE
- See Also:
-
SERIALIZED_NAME_TOTAL_PAGES
- See Also:
-
SERIALIZED_NAME_MATCHES
- See Also:
-
SERIALIZED_NAME_NUM_MATCHES
- See Also:
-
SERIALIZED_NAME_NUM_DEBUG_MATCHES
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FunctionMatchingResponse
public FunctionMatchingResponse()
-
-
Method Details
-
progress
-
getProgress
Progress of the matching operation, represented as a percentage- Returns:
- progress
-
setProgress
-
status
-
getStatus
Status of the function matching operation- Returns:
- status
-
setStatus
-
totalTime
-
getTotalTime
Total time taken for the matching operation in seconds- Returns:
- totalTime
-
setTotalTime
-
errorMessage
-
getErrorMessage
Optional message providing additional information about the operation- Returns:
- errorMessage
-
setErrorMessage
-
currentPage
-
getCurrentPage
Current page number of the results, if pagination is used- Returns:
- currentPage
-
setCurrentPage
-
totalPages
-
getTotalPages
Total number of pages available, if pagination is used- Returns:
- totalPages
-
setTotalPages
-
matches
-
addMatchesItem
-
getMatches
List of function matching results with best match information- Returns:
- matches
-
setMatches
-
numMatches
-
getNumMatches
Total number of function matches found- Returns:
- numMatches
-
setNumMatches
-
numDebugMatches
-
getNumDebugMatches
Total number of debug function matches found- Returns:
- numDebugMatches
-
setNumDebugMatches
-
updatedAt
-
getUpdatedAt
Timestamp of the last time function matching with the same request parameters was performed- Returns:
- updatedAt
-
setUpdatedAt
-
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 FunctionMatchingResponse 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 FunctionMatchingResponse
-
fromJson
Create an instance of FunctionMatchingResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FunctionMatchingResponse
- Throws:
IOException- if the JSON string is invalid with respect to FunctionMatchingResponse
-
toJson
Convert an instance of FunctionMatchingResponse to an JSON string- Returns:
- JSON string
-