Package dev.restate.admin.model
Class HandlerMetadata
java.lang.Object
dev.restate.admin.model.HandlerMetadata
HandlerMetadata
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondocumentation
(String documentation) boolean
Return true if this HandlerMetadata object is equal to o.Documentation of the handler, as propagated by the SDKs.If empty, no schema was provided by the user at discovery time.JSON Schema of the handler inputAdditional handler metadata, as propagated by the SDKs.getName()
Get nameIf empty, no schema was provided by the user at discovery time.JSON Schema of the handler outputgetTy()
Get tyint
hashCode()
inputDescription
(String inputDescription) inputJsonSchema
(Object inputJsonSchema) outputDescription
(String outputDescription) outputJsonSchema
(Object outputJsonSchema) putMetadataItem
(String key, String metadataItem) void
setDocumentation
(String documentation) void
setInputDescription
(String inputDescription) void
setInputJsonSchema
(Object inputJsonSchema) void
setMetadata
(Map<String, String> metadata) void
void
setOutputDescription
(String outputDescription) void
setOutputJsonSchema
(Object outputJsonSchema) void
toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TY
- See Also:
-
JSON_PROPERTY_DOCUMENTATION
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_INPUT_DESCRIPTION
- See Also:
-
JSON_PROPERTY_OUTPUT_DESCRIPTION
- See Also:
-
JSON_PROPERTY_INPUT_JSON_SCHEMA
- See Also:
-
JSON_PROPERTY_OUTPUT_JSON_SCHEMA
- See Also:
-
-
Constructor Details
-
HandlerMetadata
public HandlerMetadata()
-
-
Method Details
-
name
-
getName
Get name- Returns:
- name
-
setName
-
ty
-
getTy
Get ty- Returns:
- ty
-
setTy
-
documentation
-
getDocumentation
Documentation of the handler, as propagated by the SDKs.- Returns:
- documentation
-
setDocumentation
-
metadata
-
putMetadataItem
-
getMetadata
Additional handler metadata, as propagated by the SDKs.- Returns:
- metadata
-
setMetadata
-
inputDescription
-
getInputDescription
If empty, no schema was provided by the user at discovery time.- Returns:
- inputDescription
-
setInputDescription
-
outputDescription
-
getOutputDescription
If empty, no schema was provided by the user at discovery time.- Returns:
- outputDescription
-
setOutputDescription
-
inputJsonSchema
-
getInputJsonSchema
JSON Schema of the handler input- Returns:
- inputJsonSchema
-
setInputJsonSchema
-
outputJsonSchema
-
getOutputJsonSchema
JSON Schema of the handler output- Returns:
- outputJsonSchema
-
setOutputJsonSchema
-
equals
Return true if this HandlerMetadata object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-