Class Output


  • @Generated("jsonschema2pojo")
    public class Output
    extends java.lang.Object
    OutputPayload

    Description of an output payload.

    • Constructor Detail

      • Output

        public Output()
    • Method Detail

      • getContentType

        public java.lang.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​(java.lang.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​(java.lang.String contentType)
      • getSetContentTypeIfEmpty

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

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

        public Output withSetContentTypeIfEmpty​(java.lang.Boolean setContentTypeIfEmpty)
      • getJsonSchema

        public java.lang.Object getJsonSchema()
      • setJsonSchema

        public void setJsonSchema​(java.lang.Object jsonSchema)
      • withJsonSchema

        public Output withJsonSchema​(java.lang.Object jsonSchema)
      • toString

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

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

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