Package me.proton.core.usersettings.data.api.response

Types

FlagsResponse
Link copied to clipboard
data class FlagsResponse(welcomed: Int)
OrganizationKeysResponse
Link copied to clipboard
data class OrganizationKeysResponse(publicKey: String, privateKey: String)
OrganizationResponse
Link copied to clipboard
data class OrganizationResponse(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)
PasswordResponse
Link copied to clipboard
data class PasswordResponse(mode: Int, expirationTime: Int?)
RecoverySettingResponse
Link copied to clipboard
data class RecoverySettingResponse(value: String?, status: Int, notify: Int, reset: Int)
SingleOrganizationResponse
Link copied to clipboard
data class SingleOrganizationResponse(organization: OrganizationResponse)
SingleUserSettingsResponse
Link copied to clipboard
data class SingleUserSettingsResponse(settings: UserSettingsResponse)
TwoFAResponse
Link copied to clipboard
data class TwoFAResponse(enabled: Int, allowed: Int, expirationTime: Int?, u2fKeys: List<U2FKeyResponse>?)
U2FKeyResponse
Link copied to clipboard
data class U2FKeyResponse(label: String, keyHandle: String, compromised: Int)
UserSettingsResponse
Link copied to clipboard
data class UserSettingsResponse(email: RecoverySettingResponse?, phone: RecoverySettingResponse?, password: PasswordResponse, twoFA: TwoFAResponse?, news: Int, locale: String, logAuth: Int, invoiceText: String, density: Int, theme: String?, themeType: Int, weekStart: Int, dateFormat: Int, timeFormat: Int, welcome: Int, earlyAccess: Int, flags: FlagsResponse?)