pocket-api / de.techdev.pocket.api / Item

Item

data class Item

Describes an item in Pocket

Constructors

<init> Item(id: Long, added: Long, url: String, title: String?)

Describes an item in Pocket

Properties

added val added: Long

the time this Item was added (in seconds since 01.01.1970)

id val id: Long

the identifier as assigned by Pocket

title val title: String?

the title of the corresponding article (if any)

url val url: String

the URL to access this Item

Functions

age fun age(): Long
label fun label(): String