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 stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get currentPageGet errorMessageGet matchesProgress of the matching operation, represented as a percentageGet statusGet totalPagesGet totalTimeinthashCode()matches(List<FunctionMatchingResultWithBestMatch> matches) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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(@Nullable List<FunctionMatchingResultWithBestMatch> matches) -
addMatchesItem
public FunctionMatchingBatchResponse addMatchesItem(FunctionMatchingResultWithBestMatch matchesItem) -
getMatches
Get matches- Returns:
- matches
-
setMatches
-
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 FunctionMatchingBatchResponse 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 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
-