Class EmbedImpl
- java.lang.Object
-
- org.javacord.core.entity.message.embed.EmbedImpl
-
-
Constructor Summary
Constructors Constructor Description EmbedImpl(com.fasterxml.jackson.databind.JsonNode data)
Creates a new embed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<EmbedAuthor>
getAuthor()
Optional<Color>
getColor()
Optional<String>
getDescription()
List<EmbedField>
getFields()
Optional<EmbedFooter>
getFooter()
Optional<EmbedImage>
getImage()
Optional<EmbedProvider>
getProvider()
Optional<EmbedThumbnail>
getThumbnail()
Optional<Instant>
getTimestamp()
Optional<String>
getTitle()
String
getType()
Optional<URL>
getUrl()
Optional<EmbedVideo>
getVideo()
-
-
-
Method Detail
-
getDescription
public Optional<String> getDescription()
- Specified by:
getDescription
in interfaceEmbed
-
getTimestamp
public Optional<Instant> getTimestamp()
- Specified by:
getTimestamp
in interfaceEmbed
-
getFooter
public Optional<EmbedFooter> getFooter()
-
getImage
public Optional<EmbedImage> getImage()
-
getThumbnail
public Optional<EmbedThumbnail> getThumbnail()
- Specified by:
getThumbnail
in interfaceEmbed
-
getVideo
public Optional<EmbedVideo> getVideo()
-
getProvider
public Optional<EmbedProvider> getProvider()
- Specified by:
getProvider
in interfaceEmbed
-
getAuthor
public Optional<EmbedAuthor> getAuthor()
-
getFields
public List<EmbedField> getFields()
-
-