Class Output

java.lang.Object
dev.restate.sdk.core.manifest.Output

@Generated("jsonschema2pojo") public class Output extends Object
OutputPayload

Description of an output payload.

  • Constructor Details

    • Output

      public Output()
  • Method Details

    • getContentType

      public String getContentType()
      Content type set on output. This will be used by Restate to set the output content type at the ingress.
    • setContentType

      public void setContentType(String contentType)
      Content type set on output. This will be used by Restate to set the output content type at the ingress.
    • withContentType

      public Output withContentType(String contentType)
    • getSetContentTypeIfEmpty

      public Boolean getSetContentTypeIfEmpty()
      If true, the specified content-type is set even if the output is empty.
    • setSetContentTypeIfEmpty

      public void setSetContentTypeIfEmpty(Boolean setContentTypeIfEmpty)
      If true, the specified content-type is set even if the output is empty.
    • withSetContentTypeIfEmpty

      public Output withSetContentTypeIfEmpty(Boolean setContentTypeIfEmpty)
    • getJsonSchema

      public Object getJsonSchema()
    • setJsonSchema

      public void setJsonSchema(Object jsonSchema)
    • withJsonSchema

      public Output withJsonSchema(Object jsonSchema)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object