Package ai.reveng.model
Class ProseEvent
java.lang.Object
ai.reveng.model.ProseEvent
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProseEvent
extends Object
ProseEvent
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ProseEventCreate an instance of ProseEvent given an JSON stringGet attemptgetSeq()Get seqgetText()Get textgetType()Get typeinthashCode()voidsetAttempt(Integer attempt) voidvoidvoidtoJson()Convert an instance of ProseEvent 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_SEQ
- See Also:
-
SERIALIZED_NAME_TEXT
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ProseEvent
public ProseEvent()
-
-
Method Details
-
attempt
-
getAttempt
Get attempt- Returns:
- attempt
-
setAttempt
-
seq
-
getSeq
Get seq- Returns:
- seq
-
setSeq
-
text
-
getText
Get text- Returns:
- text
-
setText
-
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 ProseEvent
-
fromJson
Create an instance of ProseEvent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProseEvent
- Throws:
IOException- if the JSON string is invalid with respect to ProseEvent
-
toJson
Convert an instance of ProseEvent to an JSON string- Returns:
- JSON string
-