Package com.redhat.parodos.sdk.model
Class WorkFlowStatusResponseDTO
java.lang.Object
com.redhat.parodos.sdk.model.WorkFlowStatusResponseDTO
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class WorkFlowStatusResponseDTO
extends Object
WorkFlowStatusResponseDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets status -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWorksItem(WorkStatusResponseDTO worksItem) booleanstatic WorkFlowStatusResponseDTOCreate an instance of WorkFlowStatusResponseDTO given an JSON stringGet messageGet statusGet workFlowExecutionIdGet workFlowNamegetWorks()Get worksinthashCode()voidsetMessage(String message) voidvoidsetWorkFlowExecutionId(UUID workFlowExecutionId) voidsetWorkFlowName(String workFlowName) voidsetWorks(List<WorkStatusResponseDTO> works) toJson()Convert an instance of WorkFlowStatusResponseDTO to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundworkFlowExecutionId(UUID workFlowExecutionId) workFlowName(String workFlowName) works(List<WorkStatusResponseDTO> works)
-
Field Details
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_WORK_FLOW_EXECUTION_ID
- See Also:
-
SERIALIZED_NAME_WORK_FLOW_NAME
- See Also:
-
SERIALIZED_NAME_WORKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WorkFlowStatusResponseDTO
public WorkFlowStatusResponseDTO()
-
-
Method Details
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
workFlowExecutionId
-
getWorkFlowExecutionId
Get workFlowExecutionId- Returns:
- workFlowExecutionId
-
setWorkFlowExecutionId
-
workFlowName
-
getWorkFlowName
Get workFlowName- Returns:
- workFlowName
-
setWorkFlowName
-
works
-
addWorksItem
-
getWorks
Get works- Returns:
- works
-
setWorks
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to WorkFlowStatusResponseDTO
-
fromJson
Create an instance of WorkFlowStatusResponseDTO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WorkFlowStatusResponseDTO
- Throws:
IOException- if the JSON string is invalid with respect to WorkFlowStatusResponseDTO
-
toJson
Convert an instance of WorkFlowStatusResponseDTO to an JSON string- Returns:
- JSON string
-