Package ai.reveng.model
Class GetAiDecompilationRatingResponse
java.lang.Object
ai.reveng.model.GetAiDecompilationRatingResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class GetAiDecompilationRatingResponse
extends Object
GetAiDecompilationRatingResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of GetAiDecompilationRatingResponse given an JSON stringThe rating the user has given to the AI decompilation responseGet reasoninthashCode()rating(AiDecompilationRating rating) voidsetRating(AiDecompilationRating rating) voidtoJson()Convert an instance of GetAiDecompilationRatingResponse 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_RATING
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GetAiDecompilationRatingResponse
public GetAiDecompilationRatingResponse()
-
-
Method Details
-
rating
-
getRating
The rating the user has given to the AI decompilation response- Returns:
- rating
-
setRating
-
reason
-
getReason
Get reason- Returns:
- reason
-
setReason
-
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 GetAiDecompilationRatingResponse
-
fromJson
Create an instance of GetAiDecompilationRatingResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetAiDecompilationRatingResponse
- Throws:
IOException- if the JSON string is invalid with respect to GetAiDecompilationRatingResponse
-
toJson
Convert an instance of GetAiDecompilationRatingResponse to an JSON string- Returns:
- JSON string
-