Class StartMatchingOutputBody

java.lang.Object
ai.reveng.model.StartMatchingOutputBody

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

  • Constructor Details

    • StartMatchingOutputBody

      public StartMatchingOutputBody()
  • Method Details

    • matchId

      public StartMatchingOutputBody matchId(@Nonnull String matchId)
    • getMatchId

      @Nonnull public String getMatchId()
      Opaque token for this matching run. Pass it to the GET/status endpoints' match_id query parameter to fetch this exact run.
      Returns:
      matchId
    • setMatchId

      public void setMatchId(@Nonnull String matchId)
    • messages

      public StartMatchingOutputBody messages(@Nullable List<ProgressMessage> messages)
    • addMessagesItem

      public StartMatchingOutputBody addMessagesItem(ProgressMessage messagesItem)
    • getMessages

      @Nullable public List<ProgressMessage> getMessages()
      Log messages emitted during execution
      Returns:
      messages
    • setMessages

      public void setMessages(@Nullable List<ProgressMessage> messages)
    • status

    • getStatus

      @Nonnull public StartMatchingOutputBody.StatusEnum getStatus()
      Current workflow status
      Returns:
      status
    • setStatus

      public void setStatus(@Nonnull StartMatchingOutputBody.StatusEnum status)
    • step

      public StartMatchingOutputBody step(@Nonnull String step)
    • getStep

      @Nonnull public String getStep()
      Name of the current step
      Returns:
      step
    • setStep

      public void setStep(@Nonnull String step)
    • stepIndex

      public StartMatchingOutputBody stepIndex(@Nonnull Long stepIndex)
    • getStepIndex

      @Nonnull public Long getStepIndex()
      Zero-based index of the current step
      Returns:
      stepIndex
    • setStepIndex

      public void setStepIndex(@Nonnull Long stepIndex)
    • stepsTotal

      public StartMatchingOutputBody stepsTotal(@Nonnull Long stepsTotal)
    • getStepsTotal

      @Nonnull public Long getStepsTotal()
      Total number of steps in the workflow
      Returns:
      stepsTotal
    • setStepsTotal

      public void setStepsTotal(@Nonnull Long stepsTotal)
    • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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 StartMatchingOutputBody
    • fromJson

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

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