Class JsonSchemaOutputByManualInput
- java.lang.Object
-
- de.xima.fc.prompt.service.support.JsonSchemaOutputByManualInput
-
- All Implemented Interfaces:
Serializable
public final class JsonSchemaOutputByManualInput extends Object implements Serializable
View model POJO for users to define a JSON schema for the prompt response, by entering the JSON schema manually. Applicable only ifdefinitionTypeisBY_MANUAL_INPUT.- Since:
- 8.5.0
- See Also:
JsonSchemaOutput, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonSchemaOutputByManualInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSchemaText()Gets the JSON schema text, as entered by the user.voidsetSchemaText(String schemaText)Sets the JSON schema text, as entered by the user.
-
-
-
Method Detail
-
getSchemaText
public String getSchemaText()
Gets the JSON schema text, as entered by the user. Must be a valid JSON schema.- Returns:
- The JSON schema, as entered by the user.
-
setSchemaText
public void setSchemaText(String schemaText)
Sets the JSON schema text, as entered by the user. Must be a valid JSON schema.- Parameters:
schemaText- The JSON schema, as entered by the user.
-
-