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?)

Parameters

id
title

Заголовок статьи

webviewUrl

Ссылка, которую нужно открыть вместо открытия статьи

entryContent
date

Дата создания статьи

dateRFC

Дата создания статьи

lastModificationDate

Дата последнего изменения статьи

author
type

Тип контента: * TYPE_ENTRY - 1 * TYPE_VACANCY - 2 * TYPE_STATICPAGE - 3 * TYPE_EVENT - 4 * TYPE_REPOST - 5

intro

Подзаголовок статьи

cover
introInFeed
similar
hitsCount

Число просмотров

likes
commentsPreview

Список аватарок комментирующих для заглушки

commentsCount
favoritesCount
isFavorited
isEnabledLikes
isEnabledComments
isEditorial

Показывает, что это пост редакции

isPinned

Показывает, закреплен ли пост

audioUrl

Ссылка на mp3 файл с озвучкой статьи

badges
commentatorsAvatars
subsite
hotness

Значение хотнесса

subscribedToTreads

Показывает, подписан ли пользователь на новые комментарии

blocks

Список блоков для нативной статьи. Для каждого типа блока формат объекта data разный

canEdit

Показывает, может ли пользователь редактировать материал

dateFavorite
isRepost
isPromoted
repost
commentsSeenCount
etcControls
isShowThanks
isStillUpdating
isFilledByEditors
coAuthor

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)

Properties

Link copied to clipboard
val audioUrl: String? = null
Link copied to clipboard
val author: Author? = null
Link copied to clipboard
val badges: List<Badge>? = null
Link copied to clipboard
val blocks: List<EntryBlock>? = null
Link copied to clipboard
val canEdit: Boolean? = null
Link copied to clipboard
val coAuthor: Subsite? = null
Link copied to clipboard
val commentatorsAvatars: List<String>? = null
Link copied to clipboard
val commentsCount: Int? = null
Link copied to clipboard
val commentsPreview: List<Comment>? = null
Link copied to clipboard
val commentsSeenCount: EntryCommentsSeenCount? = null
Link copied to clipboard
val cover: Cover? = null
Link copied to clipboard
val date: Long? = null
Link copied to clipboard
val dateFavorite: Long? = null
Link copied to clipboard
val dateRFC: String? = null
Link copied to clipboard
val entryContent: EntryContent? = null
Link copied to clipboard
val etcControls: EtcControls? = null
Link copied to clipboard
val favoritesCount: Int? = null
Link copied to clipboard
val hitsCount: Long? = null
Link copied to clipboard
val hotness: Double? = null
Link copied to clipboard
val id: Long? = null
Link copied to clipboard
val intro: String? = null
Link copied to clipboard
val introInFeed: String? = null
Link copied to clipboard
val isEditorial: Boolean? = null
Link copied to clipboard
val isEnabledComments: Boolean? = null
Link copied to clipboard
val isEnabledLikes: Boolean? = null
Link copied to clipboard
val isFavorited: Boolean? = null
Link copied to clipboard
val isFilledByEditors: Boolean? = null
Link copied to clipboard
val isPinned: Boolean? = null
Link copied to clipboard
val isPromoted: Boolean? = null
Link copied to clipboard
val isRepost: Boolean? = null
Link copied to clipboard
val isShowThanks: Boolean? = null
Link copied to clipboard
val isStillUpdating: Boolean? = null
Link copied to clipboard
val lastModificationDate: Long? = null
Link copied to clipboard
val likes: Likes? = null
Link copied to clipboard
val repost: EntryRepost? = null
Link copied to clipboard
val similar: List<Similar>? = null
Link copied to clipboard
val subscribedToTreads: Boolean? = null
Link copied to clipboard
val subsite: Subsite? = null
Link copied to clipboard
val title: String? = null
Link copied to clipboard
val type: Int? = null
Link copied to clipboard
val webviewUrl: String? = null