Class PromptReference
java.lang.Object
org.apache.juneau.bean.mcp.v20250618.PromptReference
- All Implemented Interfaces:
CompletionReference
@Marshalled(typeName="ref/prompt")
public class PromptReference
extends Object
implements CompletionReference
CompletionReference targeting a declared prompt by name.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PromptReference
public PromptReference()
-
-
Method Details
-
getName
Prompt name.- Returns:
- The name, or
nullif not set.
-
setName
Sets the prompt name.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-