Class ListWorkflowsResponse.WorkflowItem

java.lang.Object
ai.djl.serving.http.list.ListWorkflowsResponse.WorkflowItem
Enclosing class:
ListWorkflowsResponse

public static final class ListWorkflowsResponse.WorkflowItem extends Object
A class that holds workflow name and url.
  • Constructor Details

    • WorkflowItem

      public WorkflowItem()
      Constructs a new WorkflowItem instance.
    • WorkflowItem

      public WorkflowItem(String workflowName, String version)
      Constructs a new WorkflowItem instance with workflow name and url.
      Parameters:
      workflowName - the workflow name
      version - the workflow version
  • Method Details

    • getWorkflowName

      public String getWorkflowName()
      Returns the workflow name.
      Returns:
      the workflow name
    • getVersion

      public String getVersion()
      Returns the workflow version.
      Returns:
      the workflow version