Class WorkFlowStatusResponseDTO

java.lang.Object
com.redhat.parodos.sdk.model.WorkFlowStatusResponseDTO

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class WorkFlowStatusResponseDTO extends Object
WorkFlowStatusResponseDTO
  • Field Details

  • Constructor Details

    • WorkFlowStatusResponseDTO

      public WorkFlowStatusResponseDTO()
  • Method Details

    • fallbackExecutionId

      public WorkFlowStatusResponseDTO fallbackExecutionId(UUID fallbackExecutionId)
    • getFallbackExecutionId

      @Nullable public UUID getFallbackExecutionId()
      Get fallbackExecutionId
      Returns:
      fallbackExecutionId
    • setFallbackExecutionId

      public void setFallbackExecutionId(UUID fallbackExecutionId)
    • message

      public WorkFlowStatusResponseDTO message(String message)
    • getMessage

      @Nullable public String getMessage()
      Get message
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • originalExecutionId

      public WorkFlowStatusResponseDTO originalExecutionId(UUID originalExecutionId)
    • getOriginalExecutionId

      @Nullable public UUID getOriginalExecutionId()
      Get originalExecutionId
      Returns:
      originalExecutionId
    • setOriginalExecutionId

      public void setOriginalExecutionId(UUID originalExecutionId)
    • restartedCount

      public WorkFlowStatusResponseDTO restartedCount(Integer restartedCount)
    • getRestartedCount

      @Nullable public Integer getRestartedCount()
      Get restartedCount
      Returns:
      restartedCount
    • setRestartedCount

      public void setRestartedCount(Integer restartedCount)
    • status

    • getStatus

      @Nullable public WorkFlowStatusResponseDTO.StatusEnum getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(WorkFlowStatusResponseDTO.StatusEnum status)
    • workFlowExecutionId

      public WorkFlowStatusResponseDTO workFlowExecutionId(UUID workFlowExecutionId)
    • getWorkFlowExecutionId

      @Nullable public UUID getWorkFlowExecutionId()
      Get workFlowExecutionId
      Returns:
      workFlowExecutionId
    • setWorkFlowExecutionId

      public void setWorkFlowExecutionId(UUID workFlowExecutionId)
    • workFlowName

      public WorkFlowStatusResponseDTO workFlowName(String workFlowName)
    • getWorkFlowName

      @Nullable public String getWorkFlowName()
      Get workFlowName
      Returns:
      workFlowName
    • setWorkFlowName

      public void setWorkFlowName(String workFlowName)
    • works

    • addWorksItem

      public WorkFlowStatusResponseDTO addWorksItem(WorkStatusResponseDTO worksItem)
    • getWorks

      @Nullable public List<WorkStatusResponseDTO> getWorks()
      Get works
      Returns:
      works
    • setWorks

      public void setWorks(List<WorkStatusResponseDTO> works)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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

      public static WorkFlowStatusResponseDTO fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of WorkFlowStatusResponseDTO to an JSON string
      Returns:
      JSON string