Class WorkflowRunsCreateRequest


  • public final class WorkflowRunsCreateRequest
    extends java.lang.Object
    • Method Detail

      • getFile

        public java.util.Optional<WorkflowRunsCreateRequestFile> getFile()
        Returns:
        The file to be processed. Supported file types can be found here. Files can be provided as a URL, an Extend file ID, or raw text. Mutually exclusive with package — provide one or the other. If you wish to process many files as independent runs, consider using the Batch Run Workflow endpoint.
      • getPackage

        public java.util.Optional<WorkflowRunPackage> getPackage()
        Returns:
        A set of 2–50 files to process together in a single workflow run. Mutually exclusive with file — provide one or the other.
      • getOutputs

        public java.util.Optional<java.util.List<WorkflowRunsCreateRequestOutputsItem>> getOutputs()
        Returns:
        Predetermined outputs to be used for the workflow run. Generally not recommended for most use cases, however, can be useful in cases of overriding a classification in a workflow, or a subset of extraction fields when data is known. Not supported on package runs — a package run produces a single merged result across all files and cannot accept pre-supplied per-processor outputs.
      • getPriority

        public java.util.Optional<java.lang.Integer> getPriority()
      • getMetadata

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getMetadata()
      • getSecrets

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getSecrets()
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object