Package ai.reveng.model
Class WorkflowProgress
java.lang.Object
ai.reveng.model.WorkflowProgress
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class WorkflowProgress
extends Object
WorkflowProgress
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumCurrent workflow status -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMessagesItem(ProgressMessage messagesItem) booleanstatic WorkflowProgressCreate an instance of WorkflowProgress given an JSON stringA URL to the JSON Schema for this object.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Log messages emitted during executionCurrent workflow statusgetStep()Name of the current stepZero-based index of the current stepTotal number of steps in the workflowinthashCode()messages(List<ProgressMessage> messages) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMessages(List<ProgressMessage> messages) voidsetStatus(WorkflowProgress.StatusEnum status) voidvoidsetStepIndex(Long stepIndex) voidsetStepsTotal(Long stepsTotal) status(WorkflowProgress.StatusEnum status) stepsTotal(Long stepsTotal) toJson()Convert an instance of WorkflowProgress 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_$_SCHEMA
- See Also:
-
SERIALIZED_NAME_MESSAGES
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_STEP
- See Also:
-
SERIALIZED_NAME_STEP_INDEX
- See Also:
-
SERIALIZED_NAME_STEPS_TOTAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WorkflowProgress
public WorkflowProgress() -
WorkflowProgress
-
-
Method Details
-
get$Schema
A URL to the JSON Schema for this object.- Returns:
- $schema
-
messages
-
addMessagesItem
-
getMessages
Log messages emitted during execution- Returns:
- messages
-
setMessages
-
status
-
getStatus
Current workflow status- Returns:
- status
-
setStatus
-
step
-
getStep
Name of the current step- Returns:
- step
-
setStep
-
stepIndex
-
getStepIndex
Zero-based index of the current step- Returns:
- stepIndex
-
setStepIndex
-
stepsTotal
-
getStepsTotal
Total number of steps in the workflow- Returns:
- stepsTotal
-
setStepsTotal
-
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 WorkflowProgress 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 WorkflowProgress
-
fromJson
Create an instance of WorkflowProgress given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WorkflowProgress
- Throws:
IOException- if the JSON string is invalid with respect to WorkflowProgress
-
toJson
Convert an instance of WorkflowProgress to an JSON string- Returns:
- JSON string
-