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