Class SlashCommandSelectSubcommandResult
java.lang.Object
com.github.copilot.generated.rpc.SlashCommandInvocationResult
com.github.copilot.generated.rpc.SlashCommandSelectSubcommandResult
@Generated("copilot-sdk-codegen")
public final class SlashCommandSelectSubcommandResult
extends SlashCommandInvocationResult
Schema for the `SlashCommandSelectSubcommandResult` type.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKind()Returns the discriminator value for this variant.getTitle()voidsetCommand(String command) voidsetOptions(List<SlashCommandSelectSubcommandOption> options) voidsetRuntimeSettingsChanged(Boolean runtimeSettingsChanged) void
-
Constructor Details
-
SlashCommandSelectSubcommandResult
public SlashCommandSelectSubcommandResult()
-
-
Method Details
-
getKind
Description copied from class:SlashCommandInvocationResultReturns the discriminator value for this variant.- Specified by:
getKindin classSlashCommandInvocationResult- Returns:
- the kind discriminator
-
getCommand
-
setCommand
-
getTitle
-
setTitle
-
getOptions
-
setOptions
-
getRuntimeSettingsChanged
-
setRuntimeSettingsChanged
-