Package net.dv8tion.jda.api.utils.data
Interface SerializableData
- All Known Subinterfaces:
ActionComponent,ApplicationEmoji,AutoModResponse,BaseForumTag,Button,CommandCreateAction,CommandData,Component,CustomEmoji,Emoji,EmojiUnion,EntitySelectMenu,ForumTag,GuildWelcomeScreen.Channel,ItemComponent,LayoutComponent,Modal,RichCustomEmoji,SelectMenu,SlashCommandData,StringSelectMenu,TextInput,TriggerConfig,UnicodeEmoji,VoiceDispatchInterceptor.VoiceUpdate
- All Known Implementing Classes:
AbstractKeywordTriggerConfig,AbstractTriggerConfig,ActionRow,AntiSpamTriggerConfig,AutoModRuleData,CustomKeywordTriggerConfig,DataObject,EntitySelectMenu.DefaultValue,ForumTagData,GuildAction.ChannelData,GuildAction.RoleData,LocalizationMap,MentionSpamTriggerConfig,MessageCreateData,MessageEditData,MessageEmbed,MessagePollData,OptionData,PresetKeywordTriggerConfig,RoleConnectionMetadata,SelectOption,SubcommandData,SubcommandGroupData,VoiceDispatchInterceptor.VoiceServerUpdate,VoiceDispatchInterceptor.VoiceStateUpdate
public interface SerializableData
Allows custom serialization for JSON payloads of an object.
-
Method Summary
-
Method Details
-
toData
SerializedDataObjectfor this object.- Returns:
DataObject
-