Class PromptReference

java.lang.Object
org.apache.juneau.bean.mcp.v20260728.PromptReference
All Implemented Interfaces:
CompletionReference

@Marshalled(typeName="ref/prompt") public class PromptReference extends Object implements CompletionReference
CompletionReference targeting a declared prompt by name.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Prompt name.
      Returns:
      The name, or null if not set.
    • setName

      public PromptReference setName(String value)
      Sets the prompt name.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).