Article

constructor(id: ArticleId, releaseDate: Date, lastUpdate: Date, primeImage: ArticleImage?, title: String, surTitle: String?, subTitle: String?, author: String?, theme: String?, subTheme: String?, elements: List<ArticleElement>, preview: String?, wordCount: Long, abstractLayout: String?, templateId: TemplateId, issueId: IssueId?, articleNumber: Int?, pages: List<Int>?, themeTags: List<String>, publicationId: PublicationId?, formattedUrl: String?, language: String?, mediaTrackId: MediaTrackId?, isAdvertisement: Boolean, articlePath: String?, isDigitalArticle: Boolean, readingTime: Int)

Parameters

id

unique identifier of the article

releaseDate

publication / release date of the article

lastUpdate

date of the last modification to the article

primeImage

primary article image

title

main title of the article

surTitle

optional kicker/label displayed above the title

subTitle

optional subtitle displayed below the title

author

optional name of the article's author

theme

optional primary theme or category of the article

subTheme

optional secondary theme or subcategory of the article

elements

the article body, in reading order — see ArticleElement

preview

optional teaser or excerpt of the article content

wordCount

total word count of the article body

abstractLayout

optional layout identifier used to render the article abstract

templateId

identifier of the display template used to render the article

issueId

optional identifier of the issue this article belongs to

articleNumber

optional sequential number of the article within its issue

pages

optional list of page numbers this article spans

themeTags

list of topic tags associated with the article

publicationId

optional identifier of the publication this article belongs to

formattedUrl

optional canonical URL of the article

language

optional BCP 47 / ISO language code of the article content

mediaTrackId

optional identifier of an associated audio or media track

isAdvertisement

whether this article is an advertisement

articlePath

optional path to the article resource on the content server

isDigitalArticle

whether this article is digital-only (not available in print)

readingTime

estimated reading time in minutes