Package ai.djl.serving.http.list
Class ListWorkflowsResponse.WorkflowItem
java.lang.Object
ai.djl.serving.http.list.ListWorkflowsResponse.WorkflowItem
- Enclosing class:
- ListWorkflowsResponse
A class that holds workflow name and url.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newWorkflowItem
instance.WorkflowItem
(String workflowName, String version) Constructs a newWorkflowItem
instance with workflow name and url. -
Method Summary
Modifier and TypeMethodDescriptionReturns the workflow version.Returns the workflow name.
-
Constructor Details
-
WorkflowItem
public WorkflowItem()Constructs a newWorkflowItem
instance. -
WorkflowItem
Constructs a newWorkflowItem
instance with workflow name and url.- Parameters:
workflowName
- the workflow nameversion
- the workflow version
-
-
Method Details
-
getWorkflowName
Returns the workflow name.- Returns:
- the workflow name
-
getVersion
Returns the workflow version.- Returns:
- the workflow version
-