Class DeploymentEvent

java.lang.Object
com.alibaba.dashscope.types.deployments.DeploymentEvent

public final class DeploymentEvent extends Object
One SSE frame from deployments().streamEvents (Python v2 DeploymentEvent parity). output is the frame payload parsed as JSON when possible (a plain string arrives as a textual node); isError marks the terminal event:error frame.
  • Constructor Details

    • DeploymentEvent

      public DeploymentEvent(com.fasterxml.jackson.databind.JsonNode output, boolean error)
  • Method Details

    • getOutput

      public com.fasterxml.jackson.databind.JsonNode getOutput()
    • isError

      public boolean isError()