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 stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getLevel()Severity levelgetStep()Step name when the message was emittedgetText()Message textWhen the message was emittedinthashCode()level(ProgressMessage.LevelEnum level) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the ProgressMessage instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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
-