Class EmbedImpl.ThumbnailImpl
java.lang.Object
com.mewna.catnip.entity.impl.message.EmbedImpl.ThumbnailImpl
- All Implemented Interfaces:
Embed.Thumbnail
- Enclosing class:
- EmbedImpl
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ThumbnailImpl
public ThumbnailImpl() -
ThumbnailImpl
-
-
Method Details
-
builder
-
url
Description copied from interface:Embed.Thumbnail
URL of the thumbnail.- Specified by:
url
in interfaceEmbed.Thumbnail
- Returns:
- Thumbnail's URL. Never null.
-
proxyUrl
Description copied from interface:Embed.Thumbnail
Proxy URL of the thumbnail.- Specified by:
proxyUrl
in interfaceEmbed.Thumbnail
- Returns:
- Thumbnail's proxy URL, or null if absent.
-
height
public int height()Description copied from interface:Embed.Thumbnail
Height of the thumbnail.- Specified by:
height
in interfaceEmbed.Thumbnail
- Returns:
- Thumbnail's height, or -1 if absent.
-
width
public int width()Description copied from interface:Embed.Thumbnail
Width of the thumbnail.- Specified by:
width
in interfaceEmbed.Thumbnail
- Returns:
- Thumbnail's width, or -1 if absent.
-
url
- Returns:
this
.
-
proxyUrl
- Returns:
this
.
-
height
- Returns:
this
.
-
width
- Returns:
this
.
-