Class SlashCommandOptionChoiceImpl

    • Constructor Detail

      • SlashCommandOptionChoiceImpl

        public SlashCommandOptionChoiceImpl​(com.fasterxml.jackson.databind.JsonNode data)
        Class constructor.
        Parameters:
        data - The json data of the choice.
      • SlashCommandOptionChoiceImpl

        public SlashCommandOptionChoiceImpl​(java.lang.String name,
                                            java.util.Map<DiscordLocale,​java.lang.String> nameLocalizations,
                                            java.lang.String stringValue,
                                            java.lang.Long longValue)
        Class constructor.
        Parameters:
        name - The name of the choice.
        nameLocalizations - The name localizations of this choice.
        stringValue - The string value of the choice or null if it is an int value.
        longValue - The long value of the choice or null if it is a string value.