Class BatchWorkflowRunCreateRequest
- java.lang.Object
-
- ai.extend.resources.batchworkflowrun.requests.BatchWorkflowRunCreateRequest
-
public final class BatchWorkflowRunCreateRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchWorkflowRunCreateRequest._FinalStagestatic classBatchWorkflowRunCreateRequest.Builderstatic interfaceBatchWorkflowRunCreateRequest.WorkflowIdStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchWorkflowRunCreateRequest.WorkflowIdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.List<BatchWorkflowRunCreateRequestInputsItem>getInputs()java.util.Optional<java.lang.String>getVersion()java.lang.StringgetWorkflowId()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getWorkflowId
public java.lang.String getWorkflowId()
- Returns:
- The ID of the workflow to run. This ID will start with "workflow_". This ID can be found viewing the workflow on the Extend platform.
Example:
"workflow_BMdfq_yWM3sT-ZzvCnA3f"
-
getVersion
public java.util.Optional<java.lang.String> getVersion()
- Returns:
- An optional version of the workflow to use. This can be a specific version number (e.g.,
"1","2") found on the Extend platform, or"draft"to use the current unpublished draft version. When a version is not supplied, the latest deployed version of the workflow will be used. If no deployed version exists, the draft version will be used.
-
getInputs
public java.util.List<BatchWorkflowRunCreateRequestInputsItem> getInputs()
- Returns:
- An array of input objects to be processed by the workflow. Each object represents a single workflow run to be created. The array must contain at least 1 input and at most 1000 inputs.
-
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 BatchWorkflowRunCreateRequest.WorkflowIdStage builder()
-
-