ArticleShort

data class ArticleShort(val id: ArticleId, val releaseDate: Date, val primeImage: ArticleImage?, val title: String, val theme: String?, val preview: String, val issueId: IssueId?, val issue: IssueReference?, val publicationId: PublicationId?, val publication: PublicationReference?, val formattedUrl: String?, val mediaTrackId: MediaTrackId?, val readingTime: Int) : Serializable

Represents a lightweight form of an article item. This is minimal content returned by paginated endpoints can be used to display lists of articles. For more detail, download the full Article.

Parameters

id

unique identifier of the article

releaseDate

publication / release date of the article

primeImage

optional primary article image (if available)

title

main title of the article

theme

optional primary theme or category of the article

preview

teaser or excerpt of the article content

issueId

optional identifier of the issue this article belongs to

issue

optional sideloaded IssueReference this article belongs to

publicationId

optional identifier of the publication this article belongs to

publication

optional sideloaded PublicationReference this article belongs to

formattedUrl

optional canonical URL of the article

mediaTrackId

optional identifier of an associated audio or media track

readingTime

estimated reading time in minutes

Constructors

Link copied to clipboard
constructor(id: ArticleId, releaseDate: Date, primeImage: ArticleImage?, title: String, theme: String?, preview: String, issueId: IssueId?, issue: IssueReference?, publicationId: PublicationId?, publication: PublicationReference?, formattedUrl: String?, mediaTrackId: MediaTrackId?, readingTime: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard