Package ai.extend.types
Class WorkflowReference
- java.lang.Object
-
- ai.extend.types.WorkflowReference
-
public final class WorkflowReference extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkflowReference._FinalStagestatic classWorkflowReference.Builderstatic interfaceWorkflowReference.IdStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkflowReference.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetId()java.util.Optional<java.lang.String>getVersion()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- The ID of the workflow.
Example:
"workflow_BMdfq_yWM3sT-ZzvCnA3f"
-
getVersion
public java.util.Optional<java.lang.String> getVersion()
- Returns:
- An optional version of the workflow that files will be run through. This number can be found when viewing the workflow on the Extend platform. When a version number is not supplied, the most recent published version of the workflow will be used. If no published versions exist, the draft version will be used. To run the
"draft"version of a workflow, use"draft"as the version.Examples:
"3"- Run version 3 of the workflow"draft"- Run the draft version of the workflow
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static WorkflowReference.IdStage builder()
-
-