-
-
Notifications
You must be signed in to change notification settings - Fork 785
Expand file tree
/
Copy pathMwAuthManagerInfo.kt
More file actions
25 lines (20 loc) · 954 Bytes
/
MwAuthManagerInfo.kt
File metadata and controls
25 lines (20 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.wikipedia.dataclient.mwapi
import kotlinx.serialization.Serializable
@Serializable
internal class MwAuthManagerInfo {
val requests: List<Request>? = null
@Serializable
internal class Request(val id: String? = null,
private val metadata: Map<String, String>? = null,
private val required: String? = null,
val provider: String? = null,
private val account: String? = null,
val fields: Map<String, Field>? = null)
@Serializable
internal class Field(private val type: String? = null,
private val label: String? = null,
private val help: String? = null,
private val optional: Boolean = false,
private val sensitive: Boolean = false,
val value: String? = null)
}