Package me.proton.core.usersettings.domain.entity

Types

Flags
Link copied to clipboard
data class Flags(welcomed: Boolean?)
Organization
Link copied to clipboard
data class Organization(userId: UserId, name: String, displayName: String?, planName: String?, vpnPlanName: String?, twoFactorGracePeriod: Int?, theme: String?, email: String?, maxDomains: Int?, maxAddresses: Int?, maxSpace: Long?, maxMembers: Int?, maxVPN: Int?, features: Int?, flags: Int?, usedDomains: Int?, usedAddresses: Int?, usedSpace: Long?, assignedSpace: Long?, usedMembers: Int?, usedVPN: Int?, hasKeys: Int?, toMigrate: Int?)
OrganizationKeys
Link copied to clipboard
data class OrganizationKeys(userId: UserId, publicKey: Armored, privateKey: Armored)
PasswordSetting
Link copied to clipboard
data class PasswordSetting(mode: Int?, expirationTime: Int?)
RecoverySetting
Link copied to clipboard
data class RecoverySetting(value: String?, status: Int?, notify: Boolean?, reset: Boolean?)
TwoFASetting
Link copied to clipboard
data class TwoFASetting(enabled: Boolean?, allowed: Int?, expirationTime: Int?, u2fKeys: List<U2FKeySetting>?)
U2FKeySetting
Link copied to clipboard
data class U2FKeySetting(label: String?, keyHandle: String?, compromised: Boolean?)
UserSettings
Link copied to clipboard
data class UserSettings(userId: UserId, email: RecoverySetting?, phone: RecoverySetting?, password: PasswordSetting, twoFA: TwoFASetting?, news: Int?, locale: String?, logAuth: Int?, invoiceText: String?, density: Int?, theme: String?, themeType: Int?, weekStart: Int?, dateFormat: Int?, timeFormat: Int?, welcome: Boolean?, earlyAccess: Boolean?, flags: Flags?)