Folder

data class Folder(val isOwner: Boolean, val id: String, val name: String, val parentFolder: String, val code: String, val createTime: Long, val public: Boolean, val childs: List<String>, val totalDownloadCount: Int, val totalSize: Double, val contents: Map<String, GofileChildContent>) : GofileContent

Folder.

Constructors

Link copied to clipboard
fun Folder(isOwner: Boolean, id: String, name: String, parentFolder: String, code: String, createTime: Long, public: Boolean, childs: List<String>, totalDownloadCount: Int, totalSize: Double, contents: Map<String, GofileChildContent>)

Properties

Link copied to clipboard

File or folder id list.

Link copied to clipboard

Code.

Link copied to clipboard

List of files or folders with childs as key.

Link copied to clipboard

Create time.

Link copied to clipboard
val id: String

Content id.

Link copied to clipboard

Whether the user is the owner.

Link copied to clipboard

Name.

Link copied to clipboard

Content id of the prent folder.

Link copied to clipboard

Whether anyone can access it.

Link copied to clipboard

Total number of downloads.

Link copied to clipboard

Total size of childs.

Link copied to clipboard
open override val type: GofileContentType

Content type.