java.lang.Object
java.lang.Record
io.github.yvasyliev.telegramforwarderbot.reddit.dto.Link
Record Components:
approvedAtUtc - the time when the post was approved in UTC
subreddit - the subreddit where the post was made
selftext - the text content of the post
authorFullname - the full name of the author
saved - indicates if the post is saved by the user
modReasonTitle - the title of the moderation reason
gilded - the number of times the post has been gilded
clicked - indicates if the post has been clicked
title - the title of the post
linkFlairRichtext - the rich text formatting of the link flair
subredditNamePrefixed - the subreddit name prefixed with "r/"
hidden - indicates if the post is hidden
pwls - the post's whitelist status
linkFlairCssClass - the CSS class for the link flair
downs - the number of downvotes the post has received
thumbnailHeight - the height of the thumbnail image
topAwardedType - the type of the top awarded post
hideScore - indicates if the score of the post is hidden
mediaMetadata - the metadata for media associated with the post
name - the name of the post
quarantine - indicates if the post is quarantined
linkFlairTextColor - the text color of the link flair
upvoteRatio - the ratio of upvotes to total votes for the post
authorFlairBackgroundColor - the background color of the author's flair
subredditType - the type of subreddit (e.g., public, private)
ups - the number of upvotes the post has received
totalAwardsReceived - the total number of awards received by the post
mediaEmbed - the media embed information for the post
thumbnailWidth - the width of the thumbnail image
authorFlairTemplateId - the template ID for the author's flair
isOriginalContent - indicates if the post is original content
userReports - the reports made by users against the post
secureMedia - the secure media associated with the post
isRedditMediaDomain - indicates if the post is from a Reddit media domain
isMeta - indicates if the post is a meta post
category - the category of the post
secureMediaEmbed - the secure media embed information for the post
galleryData - the gallery data associated with the post
linkFlairText - the text of the link flair
canModPost - indicates if the user can moderate the post
score - the score of the post (upvotes - downvotes)
approvedBy - the user who approved the post, if applicable
isCreatedFromAdsUi - indicates if the post was created from the ads UI
authorPremium - indicates if the author has a premium account
thumbnail - the URL of the thumbnail image for the post
edited - indicates if the post has been edited
authorFlairCssClass - the CSS class for the author's flair
authorFlairRichtext - the rich text formatting of the author's flair
gildings - the gildings associated with the post
postHint - the hint for the type of post (e.g., image, video)
contentCategories - the content categories associated with the post
isSelf - indicates if the post is a self-post (text only)
modNote - the moderation note for the post, if applicable
crosspostParentList - the list of crosspost parents for the post
created - the creation time of the post
linkFlairType - the type of link flair (e.g., text, richtext)
wls - the whitelist status of the post
removedByCategory - the category of the user who removed the post, if applicable
bannedBy - the user who banned the post, if applicable
authorFlairType - the type of author's flair (e.g., text, richtext)
domain - the domain of the post (e.g., reddit.com, imgur.com)
allowLiveComments - indicates if live comments are allowed on the post
selftextHtml - the HTML content of the selftext
likes - indicates if the user likes the post
suggestedSort - the suggested sort order for the post
bannedAtUtc - the time when the post was banned in UTC
urlOverriddenByDest - the URL that overrides the destination URL of the post
viewCount - the number of views the post has received
archived - indicates if the post is archived
noFollow - indicates if the post should not be followed by search engines
isCrosspostable - indicates if the post can be crossposted
pinned - indicates if the post is pinned to the top of the subreddit
over18 - indicates if the post is marked as NSFW (not safe for work)
preview - the preview data for the post, including images and video
allAwardings - the list of all awards received by the post
awarders - the list of users who awarded the post
mediaOnly - indicates if the post contains only media content
canGild - indicates if the post can be gilded
spoiler - indicates if the post contains a spoiler
locked - indicates if the post is locked for comments
authorFlairText - the text of the author's flair
treatmentTags - the treatment tags associated with the post
visited - indicates if the post has been visited by the user
removedBy - the user who removed the post, if applicable
numReports - the number of reports made against the post
distinguished - the distinction status of the post (e.g., admin, moderator)
subredditId - the ID of the subreddit where the post was made
authorIsBlocked - indicates if the author is blocked by the user
modReasonBy - the user who provided the moderation reason, if applicable
removalReason - the reason for the removal of the post, if applicable
linkFlairBackgroundColor - the background color of the link flair
id - the unique identifier of the post
isRobotIndexable - indicates if the post is indexable by robots
reportReasons - the reasons for reporting the post, if applicable
author - the username of the author of the post
discussionType - the type of discussion for the post (e.g., chat, Q&A)
numComments - the number of comments on the post
sendReplies - indicates if replies to the post should be sent
whitelistStatus - the whitelist status of the post
contestMode - indicates if the post is in contest mode
modReports - the reports made by moderators against the post
authorPatreonFlair - indicates if the author has a Patreon flair
authorFlairTextColor - the text color of the author's flair
permalink - the permalink to the post, deserialized to a URL
parentWhitelistStatus - the whitelist status of the parent post, if applicable
stickied - indicates if the post is stickied (pinned) in the subreddit
url - the URL of the post
subredditSubscribers - the number of subscribers to the subreddit where the post was made
createdUtc - the creation time of the post in UTC
numCrossposts - the number of crossposts of the post
media - the media associated with the post, if any
isVideo - indicates if the post is a video
All Implemented Interfaces:
Comparable<Link>

public record Link(String approvedAtUtc, String subreddit, String selftext, String authorFullname, Boolean saved, String modReasonTitle, Integer gilded, Boolean clicked, String title, List<Link.FlairRichtext> linkFlairRichtext, String subredditNamePrefixed, Boolean hidden, Integer pwls, String linkFlairCssClass, Integer downs, Integer thumbnailHeight, String topAwardedType, Boolean hideScore, Map<String,Link.Metadata> mediaMetadata, String name, Boolean quarantine, String linkFlairTextColor, Double upvoteRatio, String authorFlairBackgroundColor, String subredditType, Integer ups, Integer totalAwardsReceived, Link.MediaEmbed mediaEmbed, Integer thumbnailWidth, String authorFlairTemplateId, Boolean isOriginalContent, com.fasterxml.jackson.databind.node.ArrayNode userReports, Link.Media secureMedia, Boolean isRedditMediaDomain, Boolean isMeta, String category, Link.MediaEmbed secureMediaEmbed, Link.GalleryData galleryData, String linkFlairText, Boolean canModPost, Integer score, String approvedBy, Boolean isCreatedFromAdsUi, Boolean authorPremium, String thumbnail, Instant edited, String authorFlairCssClass, List<Link.FlairRichtext> authorFlairRichtext, Map<String,Integer> gildings, Link.PostHint postHint, List<String> contentCategories, Boolean isSelf, String modNote, List<Link> crosspostParentList, Instant created, String linkFlairType, Integer wls, String removedByCategory, String bannedBy, String authorFlairType, String domain, Boolean allowLiveComments, String selftextHtml, Boolean likes, String suggestedSort, Instant bannedAtUtc, URL urlOverriddenByDest, Integer viewCount, Boolean archived, Boolean noFollow, Boolean isCrosspostable, Boolean pinned, Boolean over18, Link.Preview preview, List<Link.Awarding> allAwardings, com.fasterxml.jackson.databind.node.ArrayNode awarders, Boolean mediaOnly, Boolean canGild, Boolean spoiler, Boolean locked, String authorFlairText, com.fasterxml.jackson.databind.node.ArrayNode treatmentTags, Boolean visited, String removedBy, Integer numReports, String distinguished, String subredditId, Boolean authorIsBlocked, String modReasonBy, String removalReason, String linkFlairBackgroundColor, String id, Boolean isRobotIndexable, List<String> reportReasons, String author, String discussionType, Integer numComments, Boolean sendReplies, String whitelistStatus, Boolean contestMode, com.fasterxml.jackson.databind.node.ArrayNode modReports, Boolean authorPatreonFlair, String authorFlairTextColor, URL permalink, String parentWhitelistStatus, Boolean stickied, URL url, Integer subredditSubscribers, Instant createdUtc, Integer numCrossposts, Link.Media media, Boolean isVideo) extends Record implements Comparable<Link>
Represents a Reddit link (post) with various attributes.
  • Constructor Details

  • Method Details

    • isNsfw

      public boolean isNsfw()
      Checks if the post is marked as NSFW (not safe for work).
      Returns:
      true if the post is NSFW, false otherwise.
    • hasGalleryData

      public boolean hasGalleryData()
      Checks if the post has a gallery associated with it.
      Returns:
      true if the post has gallery data, false otherwise.
    • hasPostHint

      public boolean hasPostHint()
      Checks if the post has a post hint. This can be used to determine the type of content in the post (e.g., image, video).
      Returns:
      true if the post has a post hint, false otherwise.
    • compareTo

      public int compareTo(@NotNull Link o)
      Specified by:
      compareTo in interface Comparable<Link>
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • approvedAtUtc

      public String approvedAtUtc()
      Returns the value of the approvedAtUtc record component.
      Returns:
      the value of the approvedAtUtc record component
    • subreddit

      public String subreddit()
      Returns the value of the subreddit record component.
      Returns:
      the value of the subreddit record component
    • selftext

      public String selftext()
      Returns the value of the selftext record component.
      Returns:
      the value of the selftext record component
    • authorFullname

      public String authorFullname()
      Returns the value of the authorFullname record component.
      Returns:
      the value of the authorFullname record component
    • saved

      public Boolean saved()
      Returns the value of the saved record component.
      Returns:
      the value of the saved record component
    • modReasonTitle

      public String modReasonTitle()
      Returns the value of the modReasonTitle record component.
      Returns:
      the value of the modReasonTitle record component
    • gilded

      public Integer gilded()
      Returns the value of the gilded record component.
      Returns:
      the value of the gilded record component
    • clicked

      public Boolean clicked()
      Returns the value of the clicked record component.
      Returns:
      the value of the clicked record component
    • title

      public String title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • linkFlairRichtext

      public List<Link.FlairRichtext> linkFlairRichtext()
      Returns the value of the linkFlairRichtext record component.
      Returns:
      the value of the linkFlairRichtext record component
    • subredditNamePrefixed

      public String subredditNamePrefixed()
      Returns the value of the subredditNamePrefixed record component.
      Returns:
      the value of the subredditNamePrefixed record component
    • hidden

      public Boolean hidden()
      Returns the value of the hidden record component.
      Returns:
      the value of the hidden record component
    • pwls

      public Integer pwls()
      Returns the value of the pwls record component.
      Returns:
      the value of the pwls record component
    • linkFlairCssClass

      public String linkFlairCssClass()
      Returns the value of the linkFlairCssClass record component.
      Returns:
      the value of the linkFlairCssClass record component
    • downs

      public Integer downs()
      Returns the value of the downs record component.
      Returns:
      the value of the downs record component
    • thumbnailHeight

      public Integer thumbnailHeight()
      Returns the value of the thumbnailHeight record component.
      Returns:
      the value of the thumbnailHeight record component
    • topAwardedType

      public String topAwardedType()
      Returns the value of the topAwardedType record component.
      Returns:
      the value of the topAwardedType record component
    • hideScore

      public Boolean hideScore()
      Returns the value of the hideScore record component.
      Returns:
      the value of the hideScore record component
    • mediaMetadata

      public Map<String,Link.Metadata> mediaMetadata()
      Returns the value of the mediaMetadata record component.
      Returns:
      the value of the mediaMetadata record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • quarantine

      public Boolean quarantine()
      Returns the value of the quarantine record component.
      Returns:
      the value of the quarantine record component
    • linkFlairTextColor

      public String linkFlairTextColor()
      Returns the value of the linkFlairTextColor record component.
      Returns:
      the value of the linkFlairTextColor record component
    • upvoteRatio

      public Double upvoteRatio()
      Returns the value of the upvoteRatio record component.
      Returns:
      the value of the upvoteRatio record component
    • authorFlairBackgroundColor

      public String authorFlairBackgroundColor()
      Returns the value of the authorFlairBackgroundColor record component.
      Returns:
      the value of the authorFlairBackgroundColor record component
    • subredditType

      public String subredditType()
      Returns the value of the subredditType record component.
      Returns:
      the value of the subredditType record component
    • ups

      public Integer ups()
      Returns the value of the ups record component.
      Returns:
      the value of the ups record component
    • totalAwardsReceived

      public Integer totalAwardsReceived()
      Returns the value of the totalAwardsReceived record component.
      Returns:
      the value of the totalAwardsReceived record component
    • mediaEmbed

      public Link.MediaEmbed mediaEmbed()
      Returns the value of the mediaEmbed record component.
      Returns:
      the value of the mediaEmbed record component
    • thumbnailWidth

      public Integer thumbnailWidth()
      Returns the value of the thumbnailWidth record component.
      Returns:
      the value of the thumbnailWidth record component
    • authorFlairTemplateId

      public String authorFlairTemplateId()
      Returns the value of the authorFlairTemplateId record component.
      Returns:
      the value of the authorFlairTemplateId record component
    • isOriginalContent

      public Boolean isOriginalContent()
      Returns the value of the isOriginalContent record component.
      Returns:
      the value of the isOriginalContent record component
    • userReports

      public com.fasterxml.jackson.databind.node.ArrayNode userReports()
      Returns the value of the userReports record component.
      Returns:
      the value of the userReports record component
    • secureMedia

      public Link.Media secureMedia()
      Returns the value of the secureMedia record component.
      Returns:
      the value of the secureMedia record component
    • isRedditMediaDomain

      public Boolean isRedditMediaDomain()
      Returns the value of the isRedditMediaDomain record component.
      Returns:
      the value of the isRedditMediaDomain record component
    • isMeta

      public Boolean isMeta()
      Returns the value of the isMeta record component.
      Returns:
      the value of the isMeta record component
    • category

      public String category()
      Returns the value of the category record component.
      Returns:
      the value of the category record component
    • secureMediaEmbed

      public Link.MediaEmbed secureMediaEmbed()
      Returns the value of the secureMediaEmbed record component.
      Returns:
      the value of the secureMediaEmbed record component
    • galleryData

      public Link.GalleryData galleryData()
      Returns the value of the galleryData record component.
      Returns:
      the value of the galleryData record component
    • linkFlairText

      public String linkFlairText()
      Returns the value of the linkFlairText record component.
      Returns:
      the value of the linkFlairText record component
    • canModPost

      public Boolean canModPost()
      Returns the value of the canModPost record component.
      Returns:
      the value of the canModPost record component
    • score

      public Integer score()
      Returns the value of the score record component.
      Returns:
      the value of the score record component
    • approvedBy

      public String approvedBy()
      Returns the value of the approvedBy record component.
      Returns:
      the value of the approvedBy record component
    • isCreatedFromAdsUi

      public Boolean isCreatedFromAdsUi()
      Returns the value of the isCreatedFromAdsUi record component.
      Returns:
      the value of the isCreatedFromAdsUi record component
    • authorPremium

      public Boolean authorPremium()
      Returns the value of the authorPremium record component.
      Returns:
      the value of the authorPremium record component
    • thumbnail

      public String thumbnail()
      Returns the value of the thumbnail record component.
      Returns:
      the value of the thumbnail record component
    • edited

      public Instant edited()
      Returns the value of the edited record component.
      Returns:
      the value of the edited record component
    • authorFlairCssClass

      public String authorFlairCssClass()
      Returns the value of the authorFlairCssClass record component.
      Returns:
      the value of the authorFlairCssClass record component
    • authorFlairRichtext

      public List<Link.FlairRichtext> authorFlairRichtext()
      Returns the value of the authorFlairRichtext record component.
      Returns:
      the value of the authorFlairRichtext record component
    • gildings

      public Map<String,Integer> gildings()
      Returns the value of the gildings record component.
      Returns:
      the value of the gildings record component
    • postHint

      public Link.PostHint postHint()
      Returns the value of the postHint record component.
      Returns:
      the value of the postHint record component
    • contentCategories

      public List<String> contentCategories()
      Returns the value of the contentCategories record component.
      Returns:
      the value of the contentCategories record component
    • isSelf

      public Boolean isSelf()
      Returns the value of the isSelf record component.
      Returns:
      the value of the isSelf record component
    • modNote

      public String modNote()
      Returns the value of the modNote record component.
      Returns:
      the value of the modNote record component
    • crosspostParentList

      public List<Link> crosspostParentList()
      Returns the value of the crosspostParentList record component.
      Returns:
      the value of the crosspostParentList record component
    • created

      public Instant created()
      Returns the value of the created record component.
      Returns:
      the value of the created record component
    • linkFlairType

      public String linkFlairType()
      Returns the value of the linkFlairType record component.
      Returns:
      the value of the linkFlairType record component
    • wls

      public Integer wls()
      Returns the value of the wls record component.
      Returns:
      the value of the wls record component
    • removedByCategory

      public String removedByCategory()
      Returns the value of the removedByCategory record component.
      Returns:
      the value of the removedByCategory record component
    • bannedBy

      public String bannedBy()
      Returns the value of the bannedBy record component.
      Returns:
      the value of the bannedBy record component
    • authorFlairType

      public String authorFlairType()
      Returns the value of the authorFlairType record component.
      Returns:
      the value of the authorFlairType record component
    • domain

      public String domain()
      Returns the value of the domain record component.
      Returns:
      the value of the domain record component
    • allowLiveComments

      public Boolean allowLiveComments()
      Returns the value of the allowLiveComments record component.
      Returns:
      the value of the allowLiveComments record component
    • selftextHtml

      public String selftextHtml()
      Returns the value of the selftextHtml record component.
      Returns:
      the value of the selftextHtml record component
    • likes

      public Boolean likes()
      Returns the value of the likes record component.
      Returns:
      the value of the likes record component
    • suggestedSort

      public String suggestedSort()
      Returns the value of the suggestedSort record component.
      Returns:
      the value of the suggestedSort record component
    • bannedAtUtc

      public Instant bannedAtUtc()
      Returns the value of the bannedAtUtc record component.
      Returns:
      the value of the bannedAtUtc record component
    • urlOverriddenByDest

      public URL urlOverriddenByDest()
      Returns the value of the urlOverriddenByDest record component.
      Returns:
      the value of the urlOverriddenByDest record component
    • viewCount

      public Integer viewCount()
      Returns the value of the viewCount record component.
      Returns:
      the value of the viewCount record component
    • archived

      public Boolean archived()
      Returns the value of the archived record component.
      Returns:
      the value of the archived record component
    • noFollow

      public Boolean noFollow()
      Returns the value of the noFollow record component.
      Returns:
      the value of the noFollow record component
    • isCrosspostable

      public Boolean isCrosspostable()
      Returns the value of the isCrosspostable record component.
      Returns:
      the value of the isCrosspostable record component
    • pinned

      public Boolean pinned()
      Returns the value of the pinned record component.
      Returns:
      the value of the pinned record component
    • over18

      public Boolean over18()
      Returns the value of the over18 record component.
      Returns:
      the value of the over18 record component
    • preview

      public Link.Preview preview()
      Returns the value of the preview record component.
      Returns:
      the value of the preview record component
    • allAwardings

      public List<Link.Awarding> allAwardings()
      Returns the value of the allAwardings record component.
      Returns:
      the value of the allAwardings record component
    • awarders

      public com.fasterxml.jackson.databind.node.ArrayNode awarders()
      Returns the value of the awarders record component.
      Returns:
      the value of the awarders record component
    • mediaOnly

      public Boolean mediaOnly()
      Returns the value of the mediaOnly record component.
      Returns:
      the value of the mediaOnly record component
    • canGild

      public Boolean canGild()
      Returns the value of the canGild record component.
      Returns:
      the value of the canGild record component
    • spoiler

      public Boolean spoiler()
      Returns the value of the spoiler record component.
      Returns:
      the value of the spoiler record component
    • locked

      public Boolean locked()
      Returns the value of the locked record component.
      Returns:
      the value of the locked record component
    • authorFlairText

      public String authorFlairText()
      Returns the value of the authorFlairText record component.
      Returns:
      the value of the authorFlairText record component
    • treatmentTags

      public com.fasterxml.jackson.databind.node.ArrayNode treatmentTags()
      Returns the value of the treatmentTags record component.
      Returns:
      the value of the treatmentTags record component
    • visited

      public Boolean visited()
      Returns the value of the visited record component.
      Returns:
      the value of the visited record component
    • removedBy

      public String removedBy()
      Returns the value of the removedBy record component.
      Returns:
      the value of the removedBy record component
    • numReports

      public Integer numReports()
      Returns the value of the numReports record component.
      Returns:
      the value of the numReports record component
    • distinguished

      public String distinguished()
      Returns the value of the distinguished record component.
      Returns:
      the value of the distinguished record component
    • subredditId

      public String subredditId()
      Returns the value of the subredditId record component.
      Returns:
      the value of the subredditId record component
    • authorIsBlocked

      public Boolean authorIsBlocked()
      Returns the value of the authorIsBlocked record component.
      Returns:
      the value of the authorIsBlocked record component
    • modReasonBy

      public String modReasonBy()
      Returns the value of the modReasonBy record component.
      Returns:
      the value of the modReasonBy record component
    • removalReason

      public String removalReason()
      Returns the value of the removalReason record component.
      Returns:
      the value of the removalReason record component
    • linkFlairBackgroundColor

      public String linkFlairBackgroundColor()
      Returns the value of the linkFlairBackgroundColor record component.
      Returns:
      the value of the linkFlairBackgroundColor record component
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • isRobotIndexable

      public Boolean isRobotIndexable()
      Returns the value of the isRobotIndexable record component.
      Returns:
      the value of the isRobotIndexable record component
    • reportReasons

      public List<String> reportReasons()
      Returns the value of the reportReasons record component.
      Returns:
      the value of the reportReasons record component
    • author

      public String author()
      Returns the value of the author record component.
      Returns:
      the value of the author record component
    • discussionType

      public String discussionType()
      Returns the value of the discussionType record component.
      Returns:
      the value of the discussionType record component
    • numComments

      public Integer numComments()
      Returns the value of the numComments record component.
      Returns:
      the value of the numComments record component
    • sendReplies

      public Boolean sendReplies()
      Returns the value of the sendReplies record component.
      Returns:
      the value of the sendReplies record component
    • whitelistStatus

      public String whitelistStatus()
      Returns the value of the whitelistStatus record component.
      Returns:
      the value of the whitelistStatus record component
    • contestMode

      public Boolean contestMode()
      Returns the value of the contestMode record component.
      Returns:
      the value of the contestMode record component
    • modReports

      public com.fasterxml.jackson.databind.node.ArrayNode modReports()
      Returns the value of the modReports record component.
      Returns:
      the value of the modReports record component
    • authorPatreonFlair

      public Boolean authorPatreonFlair()
      Returns the value of the authorPatreonFlair record component.
      Returns:
      the value of the authorPatreonFlair record component
    • authorFlairTextColor

      public String authorFlairTextColor()
      Returns the value of the authorFlairTextColor record component.
      Returns:
      the value of the authorFlairTextColor record component
    • permalink

      public URL permalink()
      Returns the value of the permalink record component.
      Returns:
      the value of the permalink record component
    • parentWhitelistStatus

      public String parentWhitelistStatus()
      Returns the value of the parentWhitelistStatus record component.
      Returns:
      the value of the parentWhitelistStatus record component
    • stickied

      public Boolean stickied()
      Returns the value of the stickied record component.
      Returns:
      the value of the stickied record component
    • url

      public URL url()
      Returns the value of the url record component.
      Returns:
      the value of the url record component
    • subredditSubscribers

      public Integer subredditSubscribers()
      Returns the value of the subredditSubscribers record component.
      Returns:
      the value of the subredditSubscribers record component
    • createdUtc

      public Instant createdUtc()
      Returns the value of the createdUtc record component.
      Returns:
      the value of the createdUtc record component
    • numCrossposts

      public Integer numCrossposts()
      Returns the value of the numCrossposts record component.
      Returns:
      the value of the numCrossposts record component
    • media

      public Link.Media media()
      Returns the value of the media record component.
      Returns:
      the value of the media record component
    • isVideo

      public Boolean isVideo()
      Returns the value of the isVideo record component.
      Returns:
      the value of the isVideo record component