Class Input

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

@Generated("jsonschema2pojo") public class Input extends Object
InputPayload

Description of an input payload. This will be used by Restate to validate incoming requests.

  • Constructor Details

    • Input

      public Input()
  • Method Details

    • getRequired

      public Boolean getRequired()
      If true, a body MUST be sent with a content-type, even if the body length is zero.
    • setRequired

      public void setRequired(Boolean required)
      If true, a body MUST be sent with a content-type, even if the body length is zero.
    • withRequired

      public Input withRequired(Boolean required)
    • getContentType

      public String getContentType()
      Content type of the input. It can accept wildcards, in the same format as the 'Accept' header. When this field is unset, it implies emptiness, meaning no content-type/body is expected.
    • setContentType

      public void setContentType(String contentType)
      Content type of the input. It can accept wildcards, in the same format as the 'Accept' header. When this field is unset, it implies emptiness, meaning no content-type/body is expected.
    • withContentType

      public Input withContentType(String contentType)
    • getJsonSchema

      public Object getJsonSchema()
    • setJsonSchema

      public void setJsonSchema(Object jsonSchema)
    • withJsonSchema

      public Input 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