Package ai.reveng.model
Class ProgressMessage
java.lang.Object
ai.reveng.model.ProgressMessage
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProgressMessage
extends Object
ProgressMessage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumSeverity level -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ProgressMessageCreate an instance of ProgressMessage given an JSON stringgetLevel()Severity levelgetStep()Step name when the message was emittedgetText()Message textWhen the message was emittedinthashCode()level(ProgressMessage.LevelEnum level) voidvoidvoidvoidsetTimestamp(OffsetDateTime timestamp) timestamp(OffsetDateTime timestamp) toJson()Convert an instance of ProgressMessage 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_LEVEL
- See Also:
-
SERIALIZED_NAME_STEP
- See Also:
-
SERIALIZED_NAME_TEXT
- See Also:
-
SERIALIZED_NAME_TIMESTAMP
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ProgressMessage
public ProgressMessage()
-
-
Method Details
-
level
-
getLevel
Severity level- Returns:
- level
-
setLevel
-
step
-
getStep
Step name when the message was emitted- Returns:
- step
-
setStep
-
text
-
getText
Message text- Returns:
- text
-
setText
-
timestamp
-
getTimestamp
When the message was emitted- Returns:
- timestamp
-
setTimestamp
-
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 ProgressMessage
-
fromJson
Create an instance of ProgressMessage given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProgressMessage
- Throws:
IOException- if the JSON string is invalid with respect to ProgressMessage
-
toJson
Convert an instance of ProgressMessage to an JSON string- Returns:
- JSON string
-