Entry
data class Entry(id: Long?, title: String?, webviewUrl: String?, entryContent: EntryContent?, date: Long?, dateRFC: String?, lastModificationDate: Long?, author: Author?, type: Int?, intro: String?, cover: Cover?, introInFeed: String?, similar: List<Similar>?, hitsCount: Long?, likes: Likes?, commentsPreview: List<Comment>?, commentsCount: Int?, favoritesCount: Int?, isFavorited: Boolean?, isEnabledLikes: Boolean?, isEnabledComments: Boolean?, isEditorial: Boolean?, isPinned: Boolean?, audioUrl: String?, badges: List<Badge>?, commentatorsAvatars: List<String>?, subsite: Subsite?, hotness: Double?, subscribedToTreads: Boolean?, blocks: List<EntryBlock>?, canEdit: Boolean?, dateFavorite: Long?, isRepost: Boolean?, isPromoted: Boolean?, repost: EntryRepost?, commentsSeenCount: EntryCommentsSeenCount?, etcControls: EtcControls?, isShowThanks: Boolean?, isStillUpdating: Boolean?, isFilledByEditors: Boolean?, coAuthor: Subsite?)
Content copied to clipboard
Parameters
id
title
Заголовок статьи
webview Url
Ссылка, которую нужно открыть вместо открытия статьи
entry Content
date
Дата создания статьи
date RFC
Дата создания статьи
last Modification Date
Дата последнего изменения статьи
author
type
Тип контента: * TYPE_ENTRY
- 1 * TYPE_VACANCY
- 2 * TYPE_STATICPAGE
- 3 * TYPE_EVENT
- 4 * TYPE_REPOST
- 5
intro
Подзаголовок статьи
cover
intro In Feed
similar
hits Count
Число просмотров
likes
comments Preview
Список аватарок комментирующих для заглушки
comments Count
favorites Count
is Favorited
is Enabled Likes
is Enabled Comments
is Editorial
Показывает, что это пост редакции
is Pinned
Показывает, закреплен ли пост
audio Url
Ссылка на mp3 файл с озвучкой статьи
badges
commentators Avatars
subsite
hotness
Значение хотнесса
subscribed To Treads
Показывает, подписан ли пользователь на новые комментарии
blocks
Список блоков для нативной статьи. Для каждого типа блока формат объекта data разный
can Edit
Показывает, может ли пользователь редактировать материал
date Favorite
is Repost
is Promoted
repost
comments Seen Count
etc Controls
is Show Thanks
is Still Updating
is Filled By Editors
co Author
Constructors
Link copied to clipboard
fun Entry(id: Long? = null, title: String? = null, webviewUrl: String? = null, entryContent: EntryContent? = null, date: Long? = null, dateRFC: String? = null, lastModificationDate: Long? = null, author: Author? = null, type: Int? = null, intro: String? = null, cover: Cover? = null, introInFeed: String? = null, similar: List<Similar>? = null, hitsCount: Long? = null, likes: Likes? = null, commentsPreview: List<Comment>? = null, commentsCount: Int? = null, favoritesCount: Int? = null, isFavorited: Boolean? = null, isEnabledLikes: Boolean? = null, isEnabledComments: Boolean? = null, isEditorial: Boolean? = null, isPinned: Boolean? = null, audioUrl: String? = null, badges: List<Badge>? = null, commentatorsAvatars: List<String>? = null, subsite: Subsite? = null, hotness: Double? = null, subscribedToTreads: Boolean? = null, blocks: List<EntryBlock>? = null, canEdit: Boolean? = null, dateFavorite: Long? = null, isRepost: Boolean? = null, isPromoted: Boolean? = null, repost: EntryRepost? = null, commentsSeenCount: EntryCommentsSeenCount? = null, etcControls: EtcControls? = null, isShowThanks: Boolean? = null, isStillUpdating: Boolean? = null, isFilledByEditors: Boolean? = null, coAuthor: Subsite? = null)
Content copied to clipboard