Package com.github.copilot.sdk.json
Class ElicitationParams
java.lang.Object
com.github.copilot.sdk.json.ElicitationParams
Parameters for an elicitation request sent from the SDK to the host.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the message describing what information is needed from the user.Gets the JSON Schema describing the form fields to present.setMessage(String message) Sets the message describing what information is needed from the user.setRequestedSchema(ElicitationSchema requestedSchema) Sets the JSON Schema describing the form fields to present.
-
Constructor Details
-
ElicitationParams
public ElicitationParams()
-
-
Method Details
-
getMessage
Gets the message describing what information is needed from the user.- Returns:
- the message
-
setMessage
Sets the message describing what information is needed from the user.- Parameters:
message- the message- Returns:
- this instance for method chaining
-
getRequestedSchema
Gets the JSON Schema describing the form fields to present.- Returns:
- the requested schema
-
setRequestedSchema
Sets the JSON Schema describing the form fields to present.- Parameters:
requestedSchema- the schema- Returns:
- this instance for method chaining
-