Package ai.reveng.model
Class FunctionMatchingBatchResponse
java.lang.Object
ai.reveng.model.FunctionMatchingBatchResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class FunctionMatchingBatchResponse
extends Object
FunctionMatchingBatchResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMatchesItem(FunctionMatchingResultWithBestMatch matchesItem) currentPage(Integer currentPage) booleanerrorMessage(String errorMessage) Create an instance of FunctionMatchingBatchResponse given an JSON stringGet currentPageGet errorMessageGet matchesProgress of the matching operation, represented as a percentageGet statusGet totalPagesGet totalTimeinthashCode()matches(List<FunctionMatchingResultWithBestMatch> matches) voidsetCurrentPage(Integer currentPage) voidsetErrorMessage(String errorMessage) voidvoidsetProgress(Integer progress) voidvoidsetTotalPages(Integer totalPages) voidsetTotalTime(Integer totalTime) toJson()Convert an instance of FunctionMatchingBatchResponse 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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FunctionMatchingBatchResponse
public FunctionMatchingBatchResponse()
-
-
Method Details
-
progress
-
getProgress
Progress of the matching operation, represented as a percentage- Returns:
- progress
-
setProgress
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
totalTime
-
getTotalTime
Get totalTime- Returns:
- totalTime
-
setTotalTime
-
errorMessage
-
getErrorMessage
Get errorMessage- Returns:
- errorMessage
-
setErrorMessage
-
currentPage
-
getCurrentPage
Get currentPage- Returns:
- currentPage
-
setCurrentPage
-
totalPages
-
getTotalPages
Get totalPages- Returns:
- totalPages
-
setTotalPages
-
matches
public FunctionMatchingBatchResponse matches(@Nonnull List<FunctionMatchingResultWithBestMatch> matches) -
addMatchesItem
public FunctionMatchingBatchResponse addMatchesItem(FunctionMatchingResultWithBestMatch matchesItem) -
getMatches
Get matches- Returns:
- matches
-
setMatches
-
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 FunctionMatchingBatchResponse
-
fromJson
Create an instance of FunctionMatchingBatchResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FunctionMatchingBatchResponse
- Throws:
IOException- if the JSON string is invalid with respect to FunctionMatchingBatchResponse
-
toJson
Convert an instance of FunctionMatchingBatchResponse to an JSON string- Returns:
- JSON string
-