Refy Link

interface RefyLink : RefyItem

The RefyLink interface is useful to give the basic details about a Refy's link

Author

N7ghtm4r3 - Tecknobit

See also

Inheritors

Types

Link copied to clipboard
@Serializable
data class RefyLinkImpl(val id: String, val owner: RefyUser.RefyUserImpl, val title: String, val description: String, val date: Long, val reference: String, val teams: List<Team> = emptyList(), val collections: List<LinksCollection> = emptyList(), val thumbnailPreview: String? = null) : RefyLink

The RefyLinkImpl class is the implementation of the RefyLink interface

Properties

Link copied to clipboard

collections the collections where the links is shared

Link copied to clipboard
abstract val date: Long

date the date when the item has been inserted in the system

Link copied to clipboard
abstract val description: String

description the description of the item

Link copied to clipboard
abstract val id: String

id the identifier of the item

Link copied to clipboard

owner the owner of the item

Link copied to clipboard
abstract val reference: String

reference the reference of the link

Link copied to clipboard
abstract val teams: List<Team>

teams the teams where the links is shared

Link copied to clipboard
abstract val title: String

title the title of the item

Functions

Link copied to clipboard
open fun iAmTheOwner(): Boolean

Method used to determine if the current localUser is the owner of the item