Class SlashCommandAgentPromptResult
java.lang.Object
com.github.copilot.generated.rpc.SlashCommandInvocationResult
com.github.copilot.generated.rpc.SlashCommandAgentPromptResult
@Generated("copilot-sdk-codegen")
public final class SlashCommandAgentPromptResult
extends SlashCommandInvocationResult
Slash-command invocation result that submits an agent prompt, with display prompt, optional mode, optional user-facing notice, and settings-change flag.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKind()Returns the discriminator value for this variant.getMode()voidsetDisplayPrompt(String displayPrompt) voidsetMode(SessionMode mode) voidvoidvoidsetRuntimeSettingsChanged(Boolean runtimeSettingsChanged)
-
Constructor Details
-
SlashCommandAgentPromptResult
public SlashCommandAgentPromptResult()
-
-
Method Details
-
getKind
Description copied from class:SlashCommandInvocationResultReturns the discriminator value for this variant.- Specified by:
getKindin classSlashCommandInvocationResult- Returns:
- the kind discriminator
-
getPrompt
-
setPrompt
-
getDisplayPrompt
-
setDisplayPrompt
-
getMode
-
setMode
-
getNotice
-
setNotice
-
getRuntimeSettingsChanged
-
setRuntimeSettingsChanged
-