AccountCreate

@Serializable
data class AccountCreate(val username: String, val email: String, val password: String, val agreement: String, val locale: String, val reason: String? = null)

Object to create a new Account.

Constructors

Link copied to clipboard
constructor(username: String, email: String, password: String, agreement: String, locale: String, reason: String? = null)

Properties

Link copied to clipboard

Whether the user agrees to the local rules, terms, and policies.

Link copied to clipboard

The email address to be used for login.

Link copied to clipboard

The language of the confirmation email that will be sent.

Link copied to clipboard

The password to be used for login.

Link copied to clipboard
val reason: String? = null

Text that will be reviewed by moderators if registrations require manual approval.

Link copied to clipboard

The desired username for the account.