Class BaseProductParameters

    • Field Detail

      • modelId

        protected final String modelId
        Model ID to use for the inference. Required.
      • alias

        protected final String alias
        Optional: a free-form string to tag the request with your own identifier. For example, an internal document ID, reference number, or database key. If set, it will be included in the job and result responses.
      • webhookIds

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

      • BaseProductParameters

        protected BaseProductParameters​(String modelId,
                                        String alias,
                                        String[] webhookIds)
    • Method Detail

      • getRequestParameters

        public Map<String,​String> getRequestParameters()
      • getModelId

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

        public String getAlias()
        Optional: a free-form string to tag the request with your own identifier. For example, an internal document ID, reference number, or database key. If set, it will be included in the job and result responses.
      • getWebhookIds

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

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object