Package dev.restate.sdk.core.manifest
Class Output
- java.lang.Object
-
- dev.restate.sdk.core.manifest.Output
-
@Generated("jsonschema2pojo") public class Output extends java.lang.ObjectOutputPayloadDescription of an output payload.
-
-
Constructor Summary
Constructors Constructor Description Output()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.lang.StringgetContentType()Content type set on output.java.lang.ObjectgetJsonSchema()java.lang.BooleangetSetContentTypeIfEmpty()If true, the specified content-type is set even if the output is empty.inthashCode()voidsetContentType(java.lang.String contentType)Content type set on output.voidsetJsonSchema(java.lang.Object jsonSchema)voidsetSetContentTypeIfEmpty(java.lang.Boolean setContentTypeIfEmpty)If true, the specified content-type is set even if the output is empty.java.lang.StringtoString()OutputwithContentType(java.lang.String contentType)OutputwithJsonSchema(java.lang.Object jsonSchema)OutputwithSetContentTypeIfEmpty(java.lang.Boolean setContentTypeIfEmpty)
-
-
-
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:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-