Class EmbedImpl
java.lang.Object
com.mewna.catnip.entity.impl.message.EmbedImpl
- All Implemented Interfaces:
Embed,Timestamped
- Since:
- 9/2/18.
- Author:
- natanbc
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from interface com.mewna.catnip.entity.message.Embed
Embed.Author, Embed.EmbedType, Embed.Field, Embed.Footer, Embed.Image, Embed.Provider, Embed.Thumbnail, Embed.VideoNested classes/interfaces inherited from interface com.mewna.catnip.entity.partials.Timestamped
Timestamped.TimestampStyle -
Constructor Summary
ConstructorsConstructorDescriptionEmbedImpl(String title, Embed.EmbedType type, String description, String url, String timestamp, Integer color, Embed.Footer footer, Embed.Image image, Embed.Thumbnail thumbnail, Embed.Video video, Embed.Provider provider, Embed.Author author, List<? extends Embed.Field> fields) -
Method Summary
Modifier and TypeMethodDescriptionauthor()Embed author.author(Embed.Author author) static EmbedImpl.EmbedImplBuilderbuilder()color()Embed color.Embed description.description(String description) fields()Embed fields.fields(List<? extends Embed.Field> fields) footer()Embed footer.footer(Embed.Footer footer) image()Embed image.image(Embed.Image image) provider()Embed provider.provider(Embed.Provider provider) Embed thumbnail.thumbnail(Embed.Thumbnail thumbnail) Embed timestamp.title()Embed title.type()Embed type.type(Embed.EmbedType type) url()Embed URL.video()Embed video.video(Embed.Video video) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mewna.catnip.entity.partials.Timestamped
asDiscordTimestamp, parseTimestamp
-
Constructor Details
-
EmbedImpl
public EmbedImpl()
-
-
Method Details
-
fields
Description copied from interface:EmbedEmbed fields. -
timestamp
Description copied from interface:EmbedEmbed timestamp. -
builder
-
title
Description copied from interface:EmbedEmbed title. -
type
Description copied from interface:EmbedEmbed type. -
description
Description copied from interface:EmbedEmbed description.- Specified by:
descriptionin interfaceEmbed- Returns:
- Description of the embed, or null if absent.
-
url
Description copied from interface:EmbedEmbed URL. -
color
Description copied from interface:EmbedEmbed color. -
image
Description copied from interface:EmbedEmbed image. -
thumbnail
Description copied from interface:EmbedEmbed thumbnail. -
video
Description copied from interface:EmbedEmbed video. -
provider
Description copied from interface:EmbedEmbed provider. -
author
Description copied from interface:EmbedEmbed author. -
title
- Returns:
this.
-
type
- Returns:
this.
-
description
- Returns:
this.
-
url
- Returns:
this.
-
timestamp
- Returns:
this.
-
color
- Returns:
this.
-
image
- Returns:
this.
-
thumbnail
- Returns:
this.
-
video
- Returns:
this.
-
provider
- Returns:
this.
-
author
- Returns:
this.
-
fields
- Returns:
this.
-