Class WorkFlowRequestDTO

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

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

  • Constructor Details

    • WorkFlowRequestDTO

      public WorkFlowRequestDTO()
  • Method Details

    • arguments

      public WorkFlowRequestDTO arguments(List<ArgumentRequestDTO> arguments)
    • addArgumentsItem

      public WorkFlowRequestDTO addArgumentsItem(ArgumentRequestDTO argumentsItem)
    • getArguments

      @Nullable public List<ArgumentRequestDTO> getArguments()
      Get arguments
      Returns:
      arguments
    • setArguments

      public void setArguments(List<ArgumentRequestDTO> arguments)
    • invokingExecutionId

      public WorkFlowRequestDTO invokingExecutionId(UUID invokingExecutionId)
    • getInvokingExecutionId

      @Nullable public UUID getInvokingExecutionId()
      Get invokingExecutionId
      Returns:
      invokingExecutionId
    • setInvokingExecutionId

      public void setInvokingExecutionId(UUID invokingExecutionId)
    • projectId

      public WorkFlowRequestDTO projectId(UUID projectId)
    • getProjectId

      @Nullable public UUID getProjectId()
      Get projectId
      Returns:
      projectId
    • setProjectId

      public void setProjectId(UUID projectId)
    • workFlowName

      public WorkFlowRequestDTO workFlowName(String workFlowName)
    • getWorkFlowName

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

      public void setWorkFlowName(String workFlowName)
    • works

      public WorkFlowRequestDTO works(List<WorkRequestDTO> works)
    • addWorksItem

      public WorkFlowRequestDTO addWorksItem(WorkRequestDTO worksItem)
    • getWorks

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

      public void setWorks(List<WorkRequestDTO> 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 WorkFlowRequestDTO
    • fromJson

      public static WorkFlowRequestDTO fromJson(String jsonString) throws IOException
      Create an instance of WorkFlowRequestDTO given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of WorkFlowRequestDTO
      Throws:
      IOException - if the JSON string is invalid with respect to WorkFlowRequestDTO
    • toJson

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