Class JsonSchemaOutputByPropertyList
- java.lang.Object
-
- de.xima.fc.prompt.service.support.JsonSchemaOutputByPropertyList
-
- All Implemented Interfaces:
Serializable
public final class JsonSchemaOutputByPropertyList extends Object implements Serializable
View model POJO for users to define a JSON schema for the prompt response, by entering a list of properties for the object. The system generates a JSON object schema from that list. Applicable only ifdefinitionTypeisBY_MANUAL_INPUT.- Since:
- 8.5.0
- See Also:
JsonSchemaOutput, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonSchemaOutputByPropertyList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JsonSchemaOutputObjectProperty>getProperties()Gets a list of configured properties the JSON object should have.voidsetProperties(List<JsonSchemaOutputObjectProperty> properties)Sets the list of configured properties the JSON object should have.
-
-
-
Method Detail
-
getProperties
public List<JsonSchemaOutputObjectProperty> getProperties()
Gets a list of configured properties the JSON object should have.- Returns:
- The list of properties.
-
setProperties
public void setProperties(List<JsonSchemaOutputObjectProperty> properties)
Sets the list of configured properties the JSON object should have.- Parameters:
properties- The list of properties.
-
-