Links Collection

@Serializable
data class LinksCollection(val id: String, val owner: RefyUser.RefyUserImpl, val title: String, val description: String, val date: Long, val color: String, val links: List<RefyLink.RefyLinkImpl> = emptyList(), val teams: List<Team> = emptyList()) : RefyItem

The LinksCollection data class represent a collection of links

Author

N7ghtm4r3 - Tecknobit

See also

Constructors

Link copied to clipboard
constructor(id: String, owner: RefyUser.RefyUserImpl, title: String, description: String, date: Long, color: String, links: List<RefyLink.RefyLinkImpl> = emptyList(), teams: List<Team> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "collection_color" )
val color: String

The reference of the collection

Link copied to clipboard
open override val date: Long

The date when the collection has been inserted in the system

Link copied to clipboard
open override val description: String

The description of the collection

Link copied to clipboard
open override val id: String

The identifier of the collection

Link copied to clipboard

The links shared with collection

Link copied to clipboard
open override val owner: RefyUser.RefyUserImpl

The owner of the collection

Link copied to clipboard
val teams: List<Team>

The teams where the collections is shared

Link copied to clipboard
open override val title: String

The title of the collection

Functions

Link copied to clipboard
open fun iAmTheOwner(): Boolean

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

Link copied to clipboard

Method to check whether the collection is shared with any team