Class BaseParameters

    • Field Detail

      • modelId

        protected final String modelId
        Model ID to use for the inference (required).
      • alias

        protected final String alias
        Optional alias for the file.
      • webhookIds

        protected final String[] webhookIds
        Webhook IDs to call after all processing is finished. If empty, no webhooks will be used.
      • pollingOptions

        protected final AsyncPollingOptions pollingOptions
        Polling options. Set only if having timeout issues.
    • Method Detail

      • buildHttpBody

        public org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder buildHttpBody​(org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder builder)
      • getModelId

        public String getModelId()
        Model ID to use for the inference (required).
      • getAlias

        public String getAlias()
        Optional alias for the file.
      • getWebhookIds

        public String[] getWebhookIds()
        Webhook IDs to call after all processing is finished. If empty, no webhooks will be used.
      • getPollingOptions

        public AsyncPollingOptions getPollingOptions()
        Polling options. Set only if having timeout issues.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object