PortalUserContent

@Serializable
data class PortalUserContent(val username: String, val currentFolder: PortalFolder? = null, val items: List<PortalItem> = listOf(), val folders: List<PortalFolder> = listOf())

Represents user content in a folder. This can include portal items and subfolders.

Since

200.0.0

Constructors

Link copied to clipboard
constructor(username: String, currentFolder: PortalFolder? = null, items: List<PortalItem> = listOf(), folders: List<PortalFolder> = listOf())

Properties

Link copied to clipboard

the folder in which this content is located, or null if this content is located in the root folder

Link copied to clipboard

the subfolders in the current folder

Link copied to clipboard
@Serializable(with = PortalItemListSerializer::class)
val items: List<PortalItem>

the items in the current folder

Link copied to clipboard

the username of the user that owns the content