Package ai.reveng.model
Class AttemptFailedEvent
java.lang.Object
ai.reveng.model.AttemptFailedEvent
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AttemptFailedEvent
extends Object
AttemptFailedEvent
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AttemptFailedEventCreate an instance of AttemptFailedEvent given an JSON stringGet attemptgetError()Get errorgetSeq()Get seqgetType()Get typeinthashCode()voidsetAttempt(Integer attempt) voidvoidvoidtoJson()Convert an instance of AttemptFailedEvent 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_ATTEMPT
- See Also:
-
SERIALIZED_NAME_ERROR
- See Also:
-
SERIALIZED_NAME_SEQ
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AttemptFailedEvent
public AttemptFailedEvent()
-
-
Method Details
-
attempt
-
getAttempt
Get attempt- Returns:
- attempt
-
setAttempt
-
error
-
getError
Get error- Returns:
- error
-
setError
-
seq
-
getSeq
Get seq- Returns:
- seq
-
setSeq
-
type
-
getType
Get type- Returns:
- type
-
setType
-
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 AttemptFailedEvent
-
fromJson
Create an instance of AttemptFailedEvent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AttemptFailedEvent
- Throws:
IOException- if the JSON string is invalid with respect to AttemptFailedEvent
-
toJson
Convert an instance of AttemptFailedEvent to an JSON string- Returns:
- JSON string
-