GofileFolderOption

sealed class GofileFolderOption

The value of the option to be defined.

Types

Link copied to clipboard
data class Description(val value: String) : GofileFolderOption

Description.

Link copied to clipboard
data class Expire(val timestamp: Long) : GofileFolderOption

Expiration date in the form of unix timestamp.

Link copied to clipboard
data class Password(val value: String) : GofileFolderOption

Password is required for access.

Link copied to clipboard
data class Public(val isPublic: Boolean) : GofileFolderOption

Whether anyone can access it.

Link copied to clipboard
data class Tags(val values: List<String>) : GofileFolderOption

Tags.

Properties

Link copied to clipboard

Can be "public", "password", "description", "expire" or "tags".

Link copied to clipboard
abstract val value: String

The option value.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard