Class ListPromptsResult
java.lang.Object
org.apache.juneau.bean.mcp.v20250618.ListPromptsResult
Result payload for "prompts/list".
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPrompts(Collection<Prompt> value) Appends to the prompt descriptors.addPrompts(Prompt... value) Appends to the prompt descriptors.Pagination cursor for the next page.Prompt descriptors.setNextCursor(String value) Sets the next cursor.setPrompts(List<Prompt> value) Sets the prompt descriptors.setPrompts(Prompt... value) Sets the prompt descriptors.
-
Constructor Details
-
ListPromptsResult
public ListPromptsResult()
-
-
Method Details
-
getPrompts
Prompt descriptors.- Returns:
- The prompts list, or
nullif not set.
-
setPrompts
Sets the prompt descriptors.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-
setPrompts
Sets the prompt descriptors.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-
addPrompts
Appends to the prompt descriptors.- Parameters:
value- The values to append.- Returns:
- This object (for method chaining).
-
addPrompts
Appends to the prompt descriptors.- Parameters:
value- The values to append.- Returns:
- This object (for method chaining).
-
getNextCursor
Pagination cursor for the next page.- Returns:
- The cursor, or
nullif not set.
-
setNextCursor
Sets the next cursor.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-